1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef __UAPI_LINUX_PCITEST_H 20 #define __UAPI_LINUX_PCITEST_H 21 #define PCITEST_BAR _IO('P', 0x1) 22 #define PCITEST_LEGACY_IRQ _IO('P', 0x2) 23 #define PCITEST_MSI _IOW('P', 0x3, int) 24 #define PCITEST_WRITE _IOW('P', 0x4, unsigned long) 25 #define PCITEST_READ _IOW('P', 0x5, unsigned long) 26 #define PCITEST_COPY _IOW('P', 0x6, unsigned long) 27 #define PCITEST_MSIX _IOW('P', 0x7, int) 28 #define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) 29 #define PCITEST_GET_IRQTYPE _IO('P', 0x9) 30 #define PCITEST_CLEAR_IRQ _IO('P', 0x10) 31 #define PCITEST_FLAGS_USE_DMA 0x00000001 32 struct pci_endpoint_test_xfer_param { 33 unsigned long size; 34 unsigned char flags; 35 }; 36 #endif 37