1 /* SPDX-License-Identifier: GPL-2.0+ */
2 #ifndef KP2000_CDEV_UAPI_H_
3 #define KP2000_CDEV_UAPI_H_
4 #include <linux/types.h>
5 #include <linux/ioctl.h>
10 __u32 build_datestamp;
11 __u32 build_timestamp;
18 #define KP2000_IOCTL_GET_CPLD_REG _IOR('k', 9, __u32)
19 #define KP2000_IOCTL_GET_PCIE_ERROR_REG _IOR('k', 11, __u32)
20 #define KP2000_IOCTL_GET_EVERYTHING _IOR('k', 8, struct kp2000_regs*)
22 #endif /* KP2000_CDEV_UAPI_H_ */