/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */1#ifndef _UAPIUUACCE_H2#define _UAPIUUACCE_H34#include <linux/types.h>5#include <linux/ioctl.h>67/*8* UACCE_CMD_START_Q: Start queue9*/10#define UACCE_CMD_START_Q _IO('W', 0)1112/*13* UACCE_CMD_PUT_Q:14* User actively stop queue and free queue resource immediately15* Optimization method since close fd may delay16*/17#define UACCE_CMD_PUT_Q _IO('W', 1)1819/*20* UACCE Device flags:21* UACCE_DEV_SVA: Shared Virtual Addresses22* Support PASID23* Support device page faults (PCI PRI or SMMU Stall)24*/25#define UACCE_DEV_SVA BIT(0)2627/**28* enum uacce_qfrt: queue file region type29* @UACCE_QFRT_MMIO: device mmio region30* @UACCE_QFRT_DUS: device user share region31*/32enum uacce_qfrt {33UACCE_QFRT_MMIO = 0,34UACCE_QFRT_DUS = 1,35};3637#endif383940