Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0543f74 | 2017-07-26 13:09:46 -0700 | [diff] [blame] | 2 | /** |
| 3 | * pcitest.h - PCI test uapi defines |
| 4 | * |
| 5 | * Copyright (C) 2017 Texas Instruments |
| 6 | * Author: Kishon Vijay Abraham I <kishon@ti.com> |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #ifndef __UAPI_LINUX_PCITEST_H |
| 11 | #define __UAPI_LINUX_PCITEST_H |
| 12 | |
| 13 | #define PCITEST_BAR _IO('P', 0x1) |
| 14 | #define PCITEST_LEGACY_IRQ _IO('P', 0x2) |
| 15 | #define PCITEST_MSI _IOW('P', 0x3, int) |
| 16 | #define PCITEST_WRITE _IOW('P', 0x4, unsigned long) |
| 17 | #define PCITEST_READ _IOW('P', 0x5, unsigned long) |
| 18 | #define PCITEST_COPY _IOW('P', 0x6, unsigned long) |
| 19 | |
| 20 | #endif /* __UAPI_LINUX_PCITEST_H */ |