Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 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 | ****************************************************************************/ |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 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) |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 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) |
Christopher Ferris | af09c70 | 2020-06-01 20:29:29 -0700 | [diff] [blame^] | 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 | }; |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 36 | #endif |