Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
tmc.h File Reference

Go to the source code of this file.

Macros

#define USBTMC_STATUS_SUCCESS   0x01
 
#define USBTMC_STATUS_PENDING   0x02
 
#define USBTMC_STATUS_FAILED   0x80
 
#define USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS   0x81
 
#define USBTMC_STATUS_SPLIT_NOT_IN_PROGRESS   0x82
 
#define USBTMC_STATUS_SPLIT_IN_PROGRESS   0x83
 
#define USBTMC_REQUEST_INITIATE_ABORT_BULK_OUT   1
 
#define USBTMC_REQUEST_CHECK_ABORT_BULK_OUT_STATUS   2
 
#define USBTMC_REQUEST_INITIATE_ABORT_BULK_IN   3
 
#define USBTMC_REQUEST_CHECK_ABORT_BULK_IN_STATUS   4
 
#define USBTMC_REQUEST_INITIATE_CLEAR   5
 
#define USBTMC_REQUEST_CHECK_CLEAR_STATUS   6
 
#define USBTMC_REQUEST_GET_CAPABILITIES   7
 
#define USBTMC_REQUEST_INDICATOR_PULSE   64
 
#define USBTMC_IOC_NR   91
 
#define USBTMC_IOCTL_INDICATOR_PULSE   _IO(USBTMC_IOC_NR, 1)
 
#define USBTMC_IOCTL_CLEAR   _IO(USBTMC_IOC_NR, 2)
 
#define USBTMC_IOCTL_ABORT_BULK_OUT   _IO(USBTMC_IOC_NR, 3)
 
#define USBTMC_IOCTL_ABORT_BULK_IN   _IO(USBTMC_IOC_NR, 4)
 
#define USBTMC_IOCTL_CLEAR_OUT_HALT   _IO(USBTMC_IOC_NR, 6)
 
#define USBTMC_IOCTL_CLEAR_IN_HALT   _IO(USBTMC_IOC_NR, 7)
 

Macro Definition Documentation

#define USBTMC_IOC_NR   91

Definition at line 35 of file tmc.h.

#define USBTMC_IOCTL_ABORT_BULK_IN   _IO(USBTMC_IOC_NR, 4)

Definition at line 39 of file tmc.h.

#define USBTMC_IOCTL_ABORT_BULK_OUT   _IO(USBTMC_IOC_NR, 3)

Definition at line 38 of file tmc.h.

#define USBTMC_IOCTL_CLEAR   _IO(USBTMC_IOC_NR, 2)

Definition at line 37 of file tmc.h.

#define USBTMC_IOCTL_CLEAR_IN_HALT   _IO(USBTMC_IOC_NR, 7)

Definition at line 41 of file tmc.h.

#define USBTMC_IOCTL_CLEAR_OUT_HALT   _IO(USBTMC_IOC_NR, 6)

Definition at line 40 of file tmc.h.

#define USBTMC_IOCTL_INDICATOR_PULSE   _IO(USBTMC_IOC_NR, 1)

Definition at line 36 of file tmc.h.

#define USBTMC_REQUEST_CHECK_ABORT_BULK_IN_STATUS   4

Definition at line 28 of file tmc.h.

#define USBTMC_REQUEST_CHECK_ABORT_BULK_OUT_STATUS   2

Definition at line 26 of file tmc.h.

#define USBTMC_REQUEST_CHECK_CLEAR_STATUS   6

Definition at line 30 of file tmc.h.

#define USBTMC_REQUEST_GET_CAPABILITIES   7

Definition at line 31 of file tmc.h.

#define USBTMC_REQUEST_INDICATOR_PULSE   64

Definition at line 32 of file tmc.h.

#define USBTMC_REQUEST_INITIATE_ABORT_BULK_IN   3

Definition at line 27 of file tmc.h.

#define USBTMC_REQUEST_INITIATE_ABORT_BULK_OUT   1

Definition at line 25 of file tmc.h.

#define USBTMC_REQUEST_INITIATE_CLEAR   5

Definition at line 29 of file tmc.h.

#define USBTMC_STATUS_FAILED   0x80

Definition at line 19 of file tmc.h.

#define USBTMC_STATUS_PENDING   0x02

Definition at line 18 of file tmc.h.

#define USBTMC_STATUS_SPLIT_IN_PROGRESS   0x83

Definition at line 22 of file tmc.h.

#define USBTMC_STATUS_SPLIT_NOT_IN_PROGRESS   0x82

Definition at line 21 of file tmc.h.

#define USBTMC_STATUS_SUCCESS   0x01

Definition at line 17 of file tmc.h.

#define USBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS   0x81

Definition at line 20 of file tmc.h.