![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 0002 #ifndef _UAPIUUACCE_H 0003 #define _UAPIUUACCE_H 0004 0005 #include <linux/types.h> 0006 #include <linux/ioctl.h> 0007 0008 /* 0009 * UACCE_CMD_START_Q: Start queue 0010 */ 0011 #define UACCE_CMD_START_Q _IO('W', 0) 0012 0013 /* 0014 * UACCE_CMD_PUT_Q: 0015 * User actively stop queue and free queue resource immediately 0016 * Optimization method since close fd may delay 0017 */ 0018 #define UACCE_CMD_PUT_Q _IO('W', 1) 0019 0020 /* 0021 * UACCE Device flags: 0022 * UACCE_DEV_SVA: Shared Virtual Addresses 0023 * Support PASID 0024 * Support device page faults (PCI PRI or SMMU Stall) 0025 */ 0026 #define UACCE_DEV_SVA BIT(0) 0027 0028 /** 0029 * enum uacce_qfrt: queue file region type 0030 * @UACCE_QFRT_MMIO: device mmio region 0031 * @UACCE_QFRT_DUS: device user share region 0032 */ 0033 enum uacce_qfrt { 0034 UACCE_QFRT_MMIO = 0, 0035 UACCE_QFRT_DUS = 1, 0036 }; 0037 0038 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |