root/drivers/staging/kpc2000/kpc2000/uapi.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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>
   6 
   7 struct kp2000_regs {
   8         __u32 card_id;
   9         __u32 build_version;
  10         __u32 build_datestamp;
  11         __u32 build_timestamp;
  12         __u32 hw_rev;
  13         __u64 ssid;
  14         __u64 ddna;
  15         __u64 cpld_reg;
  16 };
  17 
  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*)
  21 
  22 #endif /* KP2000_CDEV_UAPI_H_ */

/* [<][>][^][v][top][bottom][index][help] */