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

Go to the source code of this file.

Data Structures

struct  out_endpoint_desc_block
 
struct  ump_uart_config
 
struct  ump_interrupt
 

Macros

#define DTK_ADDR_SPACE_XDATA   0x03 /* Addr is placed in XDATA space */
 
#define DTK_ADDR_SPACE_I2C_TYPE_II   0x82 /* Addr is placed in I2C area */
 
#define DTK_ADDR_SPACE_I2C_TYPE_III   0x83 /* Addr is placed in I2C area */
 
#define UMPMEM_BASE_UART1   0xFFA0 /* UMP UART1 base address */
 
#define UMPMEM_BASE_UART2   0xFFB0 /* UMP UART2 base address */
 
#define UMPMEM_OFFS_UART_LSR   0x05 /* UMP UART LSR register offset */
 
#define UMP_UART_CHAR5BITS   0x00
 
#define UMP_UART_CHAR6BITS   0x01
 
#define UMP_UART_CHAR7BITS   0x02
 
#define UMP_UART_CHAR8BITS   0x03
 
#define UMP_UART_NOPARITY   0x00
 
#define UMP_UART_ODDPARITY   0x01
 
#define UMP_UART_EVENPARITY   0x02
 
#define UMP_UART_MARKPARITY   0x03
 
#define UMP_UART_SPACEPARITY   0x04
 
#define UMP_UART_STOPBIT1   0x00
 
#define UMP_UART_STOPBIT15   0x01
 
#define UMP_UART_STOPBIT2   0x02
 
#define UMP_UART_LSR_OV_MASK   0x01
 
#define UMP_UART_LSR_PE_MASK   0x02
 
#define UMP_UART_LSR_FE_MASK   0x04
 
#define UMP_UART_LSR_BR_MASK   0x08
 
#define UMP_UART_LSR_ER_MASK   0x0F
 
#define UMP_UART_LSR_RX_MASK   0x10
 
#define UMP_UART_LSR_TX_MASK   0x20
 
#define UMP_UART_LSR_DATA_MASK   (LSR_PAR_ERR | LSR_FRM_ERR | LSR_BREAK)
 
#define UMP_MASK_UART_FLAGS_RTS_FLOW   0x0001
 
#define UMP_MASK_UART_FLAGS_RTS_DISABLE   0x0002
 
#define UMP_MASK_UART_FLAGS_PARITY   0x0008
 
#define UMP_MASK_UART_FLAGS_OUT_X_DSR_FLOW   0x0010
 
#define UMP_MASK_UART_FLAGS_OUT_X_CTS_FLOW   0x0020
 
#define UMP_MASK_UART_FLAGS_OUT_X   0x0040
 
#define UMP_MASK_UART_FLAGS_OUT_XA   0x0080
 
#define UMP_MASK_UART_FLAGS_IN_X   0x0100
 
#define UMP_MASK_UART_FLAGS_DTR_FLOW   0x0800
 
#define UMP_MASK_UART_FLAGS_DTR_DISABLE   0x1000
 
#define UMP_MASK_UART_FLAGS_RECEIVE_MS_INT   0x2000
 
#define UMP_MASK_UART_FLAGS_AUTO_START_ON_ERR   0x4000
 
#define UMP_DMA_MODE_CONTINOUS   0x01
 
#define UMP_PIPE_TRANS_TIMEOUT_ENA   0x80
 
#define UMP_PIPE_TRANSFER_MODE_MASK   0x03
 
#define UMP_PIPE_TRANS_TIMEOUT_MASK   0x7C
 
#define UMP_PORT_DIR_OUT   0x01
 
#define UMP_PORT_DIR_IN   0x02
 
#define UMPM_UART1_PORT   0x03
 
#define UMPC_SET_CONFIG   0x05
 
#define UMPC_OPEN_PORT   0x06
 
#define UMPC_CLOSE_PORT   0x07
 
#define UMPC_START_PORT   0x08
 
#define UMPC_STOP_PORT   0x09
 
#define UMPC_TEST_PORT   0x0A
 
#define UMPC_PURGE_PORT   0x0B
 
#define UMPC_COMPLETE_READ   0x80
 
#define UMPC_HARDWARE_RESET   0x81
 
#define UMPC_COPY_DNLD_TO_I2C   0x82
 
#define UMPC_WRITE_SFR   0x83 /* Write SFR Register */
 
#define UMPC_READ_SFR   0x84 /* Read SRF Register */
 
#define UMPC_SET_CLR_DTR   0x85
 
#define UMPC_SET_CLR_RTS   0x86
 
#define UMPC_SET_CLR_LOOPBACK   0x87
 
#define UMPC_SET_CLR_BREAK   0x88
 
#define UMPC_READ_MSR   0x89
 
#define UMPC_MEMORY_READ   0x92
 
#define UMPC_MEMORY_WRITE   0x93
 
#define UMPD_OEDB1_ADDRESS   0xFF08
 
#define UMPD_OEDB2_ADDRESS   0xFF10
 
#define TIUMP_GET_PORT_FROM_CODE(c)   (((c) >> 4) - 3)
 
#define TIUMP_GET_FUNC_FROM_CODE(c)   ((c) & 0x0f)
 
#define TIUMP_INTERRUPT_CODE_LSR   0x03
 
#define TIUMP_INTERRUPT_CODE_MSR   0x04
 

Functions

struct out_endpoint_desc_block __attribute__ ((packed))
 

Variables

__u8 Configuration
 
__u8 XBufAddr
 
__u8 XByteCount
 
__u8 Unused1
 
__u8 Unused2
 
__u8 YBufAddr
 
__u8 YByteCount
 
__u8 BufferSize
 
__u16 wBaudRate
 
__u16 wFlags
 
__u8 bDataBits
 
__u8 bParity
 
__u8 bStopBits
 
char cXon
 
char cXoff
 
__u8 bUartMode
 
__u8 bICode
 
__u8 bIInfo
 

Macro Definition Documentation

#define DTK_ADDR_SPACE_I2C_TYPE_II   0x82 /* Addr is placed in I2C area */

Definition at line 22 of file io_ti.h.

#define DTK_ADDR_SPACE_I2C_TYPE_III   0x83 /* Addr is placed in I2C area */

Definition at line 23 of file io_ti.h.

#define DTK_ADDR_SPACE_XDATA   0x03 /* Addr is placed in XDATA space */

Definition at line 21 of file io_ti.h.

#define TIUMP_GET_FUNC_FROM_CODE (   c)    ((c) & 0x0f)

Definition at line 182 of file io_ti.h.

#define TIUMP_GET_PORT_FROM_CODE (   c)    (((c) >> 4) - 3)

Definition at line 181 of file io_ti.h.

#define TIUMP_INTERRUPT_CODE_LSR   0x03

Definition at line 183 of file io_ti.h.

#define TIUMP_INTERRUPT_CODE_MSR   0x04

Definition at line 184 of file io_ti.h.

#define UMP_DMA_MODE_CONTINOUS   0x01

Definition at line 73 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_AUTO_START_ON_ERR   0x4000

Definition at line 71 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_DTR_DISABLE   0x1000

Definition at line 69 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_DTR_FLOW   0x0800

Definition at line 68 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_IN_X   0x0100

Definition at line 67 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_OUT_X   0x0040

Definition at line 65 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_OUT_X_CTS_FLOW   0x0020

Definition at line 64 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_OUT_X_DSR_FLOW   0x0010

Definition at line 63 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_OUT_XA   0x0080

Definition at line 66 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_PARITY   0x0008

Definition at line 62 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_RECEIVE_MS_INT   0x2000

Definition at line 70 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_RTS_DISABLE   0x0002

Definition at line 61 of file io_ti.h.

#define UMP_MASK_UART_FLAGS_RTS_FLOW   0x0001

Definition at line 60 of file io_ti.h.

#define UMP_PIPE_TRANS_TIMEOUT_ENA   0x80

Definition at line 74 of file io_ti.h.

#define UMP_PIPE_TRANS_TIMEOUT_MASK   0x7C

Definition at line 76 of file io_ti.h.

#define UMP_PIPE_TRANSFER_MODE_MASK   0x03

Definition at line 75 of file io_ti.h.

#define UMP_PORT_DIR_IN   0x02

Definition at line 80 of file io_ti.h.

#define UMP_PORT_DIR_OUT   0x01

Definition at line 79 of file io_ti.h.

#define UMP_UART_CHAR5BITS   0x00

Definition at line 31 of file io_ti.h.

#define UMP_UART_CHAR6BITS   0x01

Definition at line 32 of file io_ti.h.

#define UMP_UART_CHAR7BITS   0x02

Definition at line 33 of file io_ti.h.

#define UMP_UART_CHAR8BITS   0x03

Definition at line 34 of file io_ti.h.

#define UMP_UART_EVENPARITY   0x02

Definition at line 39 of file io_ti.h.

#define UMP_UART_LSR_BR_MASK   0x08

Definition at line 52 of file io_ti.h.

#define UMP_UART_LSR_DATA_MASK   (LSR_PAR_ERR | LSR_FRM_ERR | LSR_BREAK)

Definition at line 57 of file io_ti.h.

#define UMP_UART_LSR_ER_MASK   0x0F

Definition at line 53 of file io_ti.h.

#define UMP_UART_LSR_FE_MASK   0x04

Definition at line 51 of file io_ti.h.

#define UMP_UART_LSR_OV_MASK   0x01

Definition at line 49 of file io_ti.h.

#define UMP_UART_LSR_PE_MASK   0x02

Definition at line 50 of file io_ti.h.

#define UMP_UART_LSR_RX_MASK   0x10

Definition at line 54 of file io_ti.h.

#define UMP_UART_LSR_TX_MASK   0x20

Definition at line 55 of file io_ti.h.

#define UMP_UART_MARKPARITY   0x03

Definition at line 40 of file io_ti.h.

#define UMP_UART_NOPARITY   0x00

Definition at line 37 of file io_ti.h.

#define UMP_UART_ODDPARITY   0x01

Definition at line 38 of file io_ti.h.

#define UMP_UART_SPACEPARITY   0x04

Definition at line 41 of file io_ti.h.

#define UMP_UART_STOPBIT1   0x00

Definition at line 44 of file io_ti.h.

#define UMP_UART_STOPBIT15   0x01

Definition at line 45 of file io_ti.h.

#define UMP_UART_STOPBIT2   0x02

Definition at line 46 of file io_ti.h.

#define UMPC_CLOSE_PORT   0x07

Definition at line 88 of file io_ti.h.

#define UMPC_COMPLETE_READ   0x80

Definition at line 95 of file io_ti.h.

#define UMPC_COPY_DNLD_TO_I2C   0x82

Definition at line 102 of file io_ti.h.

#define UMPC_HARDWARE_RESET   0x81

Definition at line 97 of file io_ti.h.

#define UMPC_MEMORY_READ   0x92

Definition at line 131 of file io_ti.h.

#define UMPC_MEMORY_WRITE   0x93

Definition at line 132 of file io_ti.h.

#define UMPC_OPEN_PORT   0x06

Definition at line 87 of file io_ti.h.

#define UMPC_PURGE_PORT   0x0B

Definition at line 92 of file io_ti.h.

#define UMPC_READ_MSR   0x89

Definition at line 127 of file io_ti.h.

#define UMPC_READ_SFR   0x84 /* Read SRF Register */

Definition at line 112 of file io_ti.h.

#define UMPC_SET_CLR_BREAK   0x88

Definition at line 124 of file io_ti.h.

#define UMPC_SET_CLR_DTR   0x85

Definition at line 115 of file io_ti.h.

#define UMPC_SET_CLR_LOOPBACK   0x87

Definition at line 121 of file io_ti.h.

#define UMPC_SET_CLR_RTS   0x86

Definition at line 118 of file io_ti.h.

#define UMPC_SET_CONFIG   0x05

Definition at line 86 of file io_ti.h.

#define UMPC_START_PORT   0x08

Definition at line 89 of file io_ti.h.

#define UMPC_STOP_PORT   0x09

Definition at line 90 of file io_ti.h.

#define UMPC_TEST_PORT   0x0A

Definition at line 91 of file io_ti.h.

#define UMPC_WRITE_SFR   0x83 /* Write SFR Register */

Definition at line 109 of file io_ti.h.

#define UMPD_OEDB1_ADDRESS   0xFF08

Definition at line 137 of file io_ti.h.

#define UMPD_OEDB2_ADDRESS   0xFF10

Definition at line 138 of file io_ti.h.

#define UMPM_UART1_PORT   0x03

Definition at line 83 of file io_ti.h.

#define UMPMEM_BASE_UART1   0xFFA0 /* UMP UART1 base address */

Definition at line 26 of file io_ti.h.

#define UMPMEM_BASE_UART2   0xFFB0 /* UMP UART2 base address */

Definition at line 27 of file io_ti.h.

#define UMPMEM_OFFS_UART_LSR   0x05 /* UMP UART LSR register offset */

Definition at line 28 of file io_ti.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u8 bDataBits

Definition at line 170 of file io_ti.h.

__u8 bICode

Definition at line 179 of file io_ti.h.

__u8 bIInfo

Definition at line 180 of file io_ti.h.

__u8 bParity

Definition at line 171 of file io_ti.h.

__u8 bStopBits

Definition at line 172 of file io_ti.h.

__u8 bUartMode

Definition at line 175 of file io_ti.h.

__u8 BufferSize

Definition at line 157 of file io_ti.h.

__u8 Configuration

Definition at line 150 of file io_ti.h.

char cXoff

Definition at line 174 of file io_ti.h.

char cXon

Definition at line 173 of file io_ti.h.

__u8 Unused1

Definition at line 153 of file io_ti.h.

__u8 Unused2

Definition at line 154 of file io_ti.h.

__u16 wBaudRate

Definition at line 168 of file io_ti.h.

__u16 wFlags

Definition at line 169 of file io_ti.h.

__u8 XBufAddr

Definition at line 151 of file io_ti.h.

__u8 XByteCount

Definition at line 152 of file io_ti.h.

__u8 YBufAddr

Definition at line 155 of file io_ti.h.

__u8 YByteCount

Definition at line 156 of file io_ti.h.