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

Go to the source code of this file.

Macros

#define MCT_U232_VID   0x0711 /* Vendor Id */
 
#define MCT_U232_PID   0x0210 /* Original MCT Product Id */
 
#define MCT_U232_SITECOM_PID   0x0230 /* Sitecom Product Id */
 
#define MCT_U232_DU_H3SP_PID   0x0200 /* D-Link DU-H3SP USB BAY */
 
#define MCT_U232_BELKIN_F5U109_VID   0x050d /* Vendor Id */
 
#define MCT_U232_BELKIN_F5U109_PID   0x0109 /* Product Id */
 
#define MCT_U232_SET_REQUEST_TYPE   0x40
 
#define MCT_U232_GET_REQUEST_TYPE   0xc0
 
#define MCT_U232_GET_MODEM_STAT_REQUEST   2
 
#define MCT_U232_GET_MODEM_STAT_SIZE   1
 
#define MCT_U232_GET_LINE_CTRL_REQUEST   6
 
#define MCT_U232_GET_LINE_CTRL_SIZE   1
 
#define MCT_U232_SET_BAUD_RATE_REQUEST   5
 
#define MCT_U232_SET_BAUD_RATE_SIZE   4
 
#define MCT_U232_SET_LINE_CTRL_REQUEST   7
 
#define MCT_U232_SET_LINE_CTRL_SIZE   1
 
#define MCT_U232_SET_MODEM_CTRL_REQUEST   10
 
#define MCT_U232_SET_MODEM_CTRL_SIZE   1
 
#define MCT_U232_SET_UNKNOWN1_REQUEST   11 /* Unknown functionality */
 
#define MCT_U232_SET_UNKNOWN1_SIZE   1
 
#define MCT_U232_SET_CTS_REQUEST   12
 
#define MCT_U232_SET_CTS_SIZE   1
 
#define MCT_U232_MAX_SIZE   4 /* of MCT_XXX_SIZE */
 
#define MCT_U232_SET_BREAK   0x40
 
#define MCT_U232_PARITY_SPACE   0x38
 
#define MCT_U232_PARITY_MARK   0x28
 
#define MCT_U232_PARITY_EVEN   0x18
 
#define MCT_U232_PARITY_ODD   0x08
 
#define MCT_U232_PARITY_NONE   0x00
 
#define MCT_U232_DATA_BITS_5   0x00
 
#define MCT_U232_DATA_BITS_6   0x01
 
#define MCT_U232_DATA_BITS_7   0x02
 
#define MCT_U232_DATA_BITS_8   0x03
 
#define MCT_U232_STOP_BITS_2   0x04
 
#define MCT_U232_STOP_BITS_1   0x00
 
#define MCT_U232_MCR_NONE   0x8 /* Deactivate DTR and RTS */
 
#define MCT_U232_MCR_RTS   0xa /* Activate RTS */
 
#define MCT_U232_MCR_DTR   0x9 /* Activate DTR */
 
#define MCT_U232_MSR_INDEX   0x0 /* data[index] */
 
#define MCT_U232_MSR_CD   0x80 /* Current CD */
 
#define MCT_U232_MSR_RI   0x40 /* Current RI */
 
#define MCT_U232_MSR_DSR   0x20 /* Current DSR */
 
#define MCT_U232_MSR_CTS   0x10 /* Current CTS */
 
#define MCT_U232_MSR_DCD   0x08 /* Delta CD */
 
#define MCT_U232_MSR_DRI   0x04 /* Delta RI */
 
#define MCT_U232_MSR_DDSR   0x02 /* Delta DSR */
 
#define MCT_U232_MSR_DCTS   0x01 /* Delta CTS */
 
#define MCT_U232_LSR_INDEX   1 /* data[index] */
 
#define MCT_U232_LSR_ERR   0x80 /* OE | PE | FE | BI */
 
#define MCT_U232_LSR_TEMT   0x40 /* transmit register empty */
 
#define MCT_U232_LSR_THRE   0x20 /* transmit holding register empty */
 
#define MCT_U232_LSR_BI   0x10 /* break indicator */
 
#define MCT_U232_LSR_FE   0x08 /* framing error */
 
#define MCT_U232_LSR_OE   0x02 /* overrun error */
 
#define MCT_U232_LSR_PE   0x04 /* parity error */
 
#define MCT_U232_LSR_OE   0x02 /* overrun error */
 
#define MCT_U232_LSR_DR   0x01 /* receive data ready */
 

Macro Definition Documentation

#define MCT_U232_BELKIN_F5U109_PID   0x0109 /* Product Id */

Definition at line 36 of file mct_u232.h.

#define MCT_U232_BELKIN_F5U109_VID   0x050d /* Vendor Id */

Definition at line 35 of file mct_u232.h.

#define MCT_U232_DATA_BITS_5   0x00

Definition at line 105 of file mct_u232.h.

#define MCT_U232_DATA_BITS_6   0x01

Definition at line 106 of file mct_u232.h.

#define MCT_U232_DATA_BITS_7   0x02

Definition at line 107 of file mct_u232.h.

#define MCT_U232_DATA_BITS_8   0x03

Definition at line 108 of file mct_u232.h.

#define MCT_U232_DU_H3SP_PID   0x0200 /* D-Link DU-H3SP USB BAY */

Definition at line 32 of file mct_u232.h.

#define MCT_U232_GET_LINE_CTRL_REQUEST   6

Definition at line 50 of file mct_u232.h.

#define MCT_U232_GET_LINE_CTRL_SIZE   1

Definition at line 51 of file mct_u232.h.

#define MCT_U232_GET_MODEM_STAT_REQUEST   2

Definition at line 45 of file mct_u232.h.

#define MCT_U232_GET_MODEM_STAT_SIZE   1

Definition at line 46 of file mct_u232.h.

#define MCT_U232_GET_REQUEST_TYPE   0xc0

Definition at line 42 of file mct_u232.h.

#define MCT_U232_LSR_BI   0x10 /* break indicator */

Definition at line 140 of file mct_u232.h.

#define MCT_U232_LSR_DR   0x01 /* receive data ready */

Definition at line 145 of file mct_u232.h.

#define MCT_U232_LSR_ERR   0x80 /* OE | PE | FE | BI */

Definition at line 137 of file mct_u232.h.

#define MCT_U232_LSR_FE   0x08 /* framing error */

Definition at line 141 of file mct_u232.h.

#define MCT_U232_LSR_INDEX   1 /* data[index] */

Definition at line 136 of file mct_u232.h.

#define MCT_U232_LSR_OE   0x02 /* overrun error */

Definition at line 144 of file mct_u232.h.

#define MCT_U232_LSR_OE   0x02 /* overrun error */

Definition at line 144 of file mct_u232.h.

#define MCT_U232_LSR_PE   0x04 /* parity error */

Definition at line 143 of file mct_u232.h.

#define MCT_U232_LSR_TEMT   0x40 /* transmit register empty */

Definition at line 138 of file mct_u232.h.

#define MCT_U232_LSR_THRE   0x20 /* transmit holding register empty */

Definition at line 139 of file mct_u232.h.

#define MCT_U232_MAX_SIZE   4 /* of MCT_XXX_SIZE */

Definition at line 83 of file mct_u232.h.

#define MCT_U232_MCR_DTR   0x9 /* Activate DTR */

Definition at line 118 of file mct_u232.h.

#define MCT_U232_MCR_NONE   0x8 /* Deactivate DTR and RTS */

Definition at line 116 of file mct_u232.h.

#define MCT_U232_MCR_RTS   0xa /* Activate RTS */

Definition at line 117 of file mct_u232.h.

#define MCT_U232_MSR_CD   0x80 /* Current CD */

Definition at line 124 of file mct_u232.h.

#define MCT_U232_MSR_CTS   0x10 /* Current CTS */

Definition at line 127 of file mct_u232.h.

#define MCT_U232_MSR_DCD   0x08 /* Delta CD */

Definition at line 128 of file mct_u232.h.

#define MCT_U232_MSR_DCTS   0x01 /* Delta CTS */

Definition at line 131 of file mct_u232.h.

#define MCT_U232_MSR_DDSR   0x02 /* Delta DSR */

Definition at line 130 of file mct_u232.h.

#define MCT_U232_MSR_DRI   0x04 /* Delta RI */

Definition at line 129 of file mct_u232.h.

#define MCT_U232_MSR_DSR   0x20 /* Current DSR */

Definition at line 126 of file mct_u232.h.

#define MCT_U232_MSR_INDEX   0x0 /* data[index] */

Definition at line 123 of file mct_u232.h.

#define MCT_U232_MSR_RI   0x40 /* Current RI */

Definition at line 125 of file mct_u232.h.

#define MCT_U232_PARITY_EVEN   0x18

Definition at line 101 of file mct_u232.h.

#define MCT_U232_PARITY_MARK   0x28

Definition at line 100 of file mct_u232.h.

#define MCT_U232_PARITY_NONE   0x00

Definition at line 103 of file mct_u232.h.

#define MCT_U232_PARITY_ODD   0x08

Definition at line 102 of file mct_u232.h.

#define MCT_U232_PARITY_SPACE   0x38

Definition at line 99 of file mct_u232.h.

#define MCT_U232_PID   0x0210 /* Original MCT Product Id */

Definition at line 26 of file mct_u232.h.

#define MCT_U232_SET_BAUD_RATE_REQUEST   5

Definition at line 54 of file mct_u232.h.

#define MCT_U232_SET_BAUD_RATE_SIZE   4

Definition at line 55 of file mct_u232.h.

#define MCT_U232_SET_BREAK   0x40

Definition at line 97 of file mct_u232.h.

#define MCT_U232_SET_CTS_REQUEST   12

Definition at line 80 of file mct_u232.h.

#define MCT_U232_SET_CTS_SIZE   1

Definition at line 81 of file mct_u232.h.

#define MCT_U232_SET_LINE_CTRL_REQUEST   7

Definition at line 58 of file mct_u232.h.

#define MCT_U232_SET_LINE_CTRL_SIZE   1

Definition at line 59 of file mct_u232.h.

#define MCT_U232_SET_MODEM_CTRL_REQUEST   10

Definition at line 62 of file mct_u232.h.

#define MCT_U232_SET_MODEM_CTRL_SIZE   1

Definition at line 63 of file mct_u232.h.

#define MCT_U232_SET_REQUEST_TYPE   0x40

Definition at line 41 of file mct_u232.h.

#define MCT_U232_SET_UNKNOWN1_REQUEST   11 /* Unknown functionality */

Definition at line 69 of file mct_u232.h.

#define MCT_U232_SET_UNKNOWN1_SIZE   1

Definition at line 70 of file mct_u232.h.

#define MCT_U232_SITECOM_PID   0x0230 /* Sitecom Product Id */

Definition at line 29 of file mct_u232.h.

#define MCT_U232_STOP_BITS_1   0x00

Definition at line 111 of file mct_u232.h.

#define MCT_U232_STOP_BITS_2   0x04

Definition at line 110 of file mct_u232.h.

#define MCT_U232_VID   0x0711 /* Vendor Id */

Definition at line 25 of file mct_u232.h.