Go to the documentation of this file.
13 #ifndef __LINUX_USB_TMC_H
14 #define __LINUX_USB_TMC_H
17 #define USBTMC_STATUS_SUCCESS 0x01
18 #define USBTMC_STATUS_PENDING 0x02
19 #define USBTMC_STATUS_FAILED 0x80
20 #define USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS 0x81
21 #define USBTMC_STATUS_SPLIT_NOT_IN_PROGRESS 0x82
22 #define USBTMC_STATUS_SPLIT_IN_PROGRESS 0x83
25 #define USBTMC_REQUEST_INITIATE_ABORT_BULK_OUT 1
26 #define USBTMC_REQUEST_CHECK_ABORT_BULK_OUT_STATUS 2
27 #define USBTMC_REQUEST_INITIATE_ABORT_BULK_IN 3
28 #define USBTMC_REQUEST_CHECK_ABORT_BULK_IN_STATUS 4
29 #define USBTMC_REQUEST_INITIATE_CLEAR 5
30 #define USBTMC_REQUEST_CHECK_CLEAR_STATUS 6
31 #define USBTMC_REQUEST_GET_CAPABILITIES 7
32 #define USBTMC_REQUEST_INDICATOR_PULSE 64
35 #define USBTMC_IOC_NR 91
36 #define USBTMC_IOCTL_INDICATOR_PULSE _IO(USBTMC_IOC_NR, 1)
37 #define USBTMC_IOCTL_CLEAR _IO(USBTMC_IOC_NR, 2)
38 #define USBTMC_IOCTL_ABORT_BULK_OUT _IO(USBTMC_IOC_NR, 3)
39 #define USBTMC_IOCTL_ABORT_BULK_IN _IO(USBTMC_IOC_NR, 4)
40 #define USBTMC_IOCTL_CLEAR_OUT_HALT _IO(USBTMC_IOC_NR, 6)
41 #define USBTMC_IOCTL_CLEAR_IN_HALT _IO(USBTMC_IOC_NR, 7)