2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2017-03-27 17:45:14 +08:00
|
|
|
/**
|
|
|
|
* pcitest.h - PCI test uapi defines
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Texas Instruments
|
|
|
|
* Author: Kishon Vijay Abraham I <kishon@ti.com>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UAPI_LINUX_PCITEST_H
|
|
|
|
#define __UAPI_LINUX_PCITEST_H
|
|
|
|
|
|
|
|
#define PCITEST_BAR _IO('P', 0x1)
|
|
|
|
#define PCITEST_LEGACY_IRQ _IO('P', 0x2)
|
|
|
|
#define PCITEST_MSI _IOW('P', 0x3, int)
|
|
|
|
#define PCITEST_WRITE _IOW('P', 0x4, unsigned long)
|
|
|
|
#define PCITEST_READ _IOW('P', 0x5, unsigned long)
|
|
|
|
#define PCITEST_COPY _IOW('P', 0x6, unsigned long)
|
|
|
|
|
|
|
|
#endif /* __UAPI_LINUX_PCITEST_H */
|