Lines Matching +full:0 +full:xa5
19 #define SDTX_CATEGORY_STATUS 0x0000
20 #define SDTX_CATEGORY_RUNTIME_ERROR 0x1000
21 #define SDTX_CATEGORY_HARDWARE_ERROR 0x2000
22 #define SDTX_CATEGORY_UNKNOWN 0xf000
24 #define SDTX_CATEGORY_MASK 0xf000
35 #define SDTX_LATCH_CLOSED SDTX_STATUS(0x00)
36 #define SDTX_LATCH_OPENED SDTX_STATUS(0x01)
39 #define SDTX_BASE_DETACHED SDTX_STATUS(0x00)
40 #define SDTX_BASE_ATTACHED SDTX_STATUS(0x01)
43 #define SDTX_DETACH_NOT_FEASIBLE SDTX_ERR_RT(0x01)
44 #define SDTX_DETACH_TIMEDOUT SDTX_ERR_RT(0x02)
47 #define SDTX_ERR_FAILED_TO_OPEN SDTX_ERR_HW(0x01)
48 #define SDTX_ERR_FAILED_TO_REMAIN_OPEN SDTX_ERR_HW(0x02)
49 #define SDTX_ERR_FAILED_TO_CLOSE SDTX_ERR_HW(0x03)
52 #define SDTX_DEVICE_TYPE_HID 0x0100
53 #define SDTX_DEVICE_TYPE_SSH 0x0200
55 #define SDTX_DEVICE_TYPE_MASK 0x0f00
75 SDTX_DEVICE_MODE_TABLET = 0x00,
76 SDTX_DEVICE_MODE_LAPTOP = 0x01,
77 SDTX_DEVICE_MODE_STUDIO = 0x02,
131 #define SDTX_IOCTL_EVENTS_ENABLE _IO(0xa5, 0x21)
132 #define SDTX_IOCTL_EVENTS_DISABLE _IO(0xa5, 0x22)
134 #define SDTX_IOCTL_LATCH_LOCK _IO(0xa5, 0x23)
135 #define SDTX_IOCTL_LATCH_UNLOCK _IO(0xa5, 0x24)
137 #define SDTX_IOCTL_LATCH_REQUEST _IO(0xa5, 0x25)
138 #define SDTX_IOCTL_LATCH_CONFIRM _IO(0xa5, 0x26)
139 #define SDTX_IOCTL_LATCH_HEARTBEAT _IO(0xa5, 0x27)
140 #define SDTX_IOCTL_LATCH_CANCEL _IO(0xa5, 0x28)
142 #define SDTX_IOCTL_GET_BASE_INFO _IOR(0xa5, 0x29, struct sdtx_base_info)
143 #define SDTX_IOCTL_GET_DEVICE_MODE _IOR(0xa5, 0x2a, __u16)
144 #define SDTX_IOCTL_GET_LATCH_STATUS _IOR(0xa5, 0x2b, __u16)