1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
5 #include <linux/types.h>
6 #include <linux/ioctl.h>
9 * UACCE_CMD_START_Q: Start queue
11 #define UACCE_CMD_START_Q _IO('W', 0)
15 * User actively stop queue and free queue resource immediately
16 * Optimization method since close fd may delay
18 #define UACCE_CMD_PUT_Q _IO('W', 1)
22 * UACCE_DEV_SVA: Shared Virtual Addresses
24 * Support device page faults (PCI PRI or SMMU Stall)
26 #define UACCE_DEV_SVA BIT(0)
29 * enum uacce_qfrt: queue file region type
30 * @UACCE_QFRT_MMIO: device mmio region
31 * @UACCE_QFRT_DUS: device user share region