Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | _MGSL_PARAMS |
struct | mgsl_icount |
struct | gpio_desc |
Typedefs | |
typedef struct _MGSL_PARAMS | MGSL_PARAMS |
typedef struct _MGSL_PARAMS * | PMGSL_PARAMS |
#define ASYNC_PARITY_EVEN 1 |
Definition at line 57 of file synclink.h.
#define ASYNC_PARITY_NONE 0 |
Definition at line 56 of file synclink.h.
#define ASYNC_PARITY_ODD 2 |
Definition at line 58 of file synclink.h.
#define ASYNC_PARITY_SPACE 3 |
Definition at line 59 of file synclink.h.
#define BIT0 0x0001 |
Definition at line 18 of file synclink.h.
#define BIT1 0x0002 |
Definition at line 19 of file synclink.h.
#define BIT10 0x0400 |
Definition at line 28 of file synclink.h.
#define BIT11 0x0800 |
Definition at line 29 of file synclink.h.
#define BIT12 0x1000 |
Definition at line 30 of file synclink.h.
#define BIT13 0x2000 |
Definition at line 31 of file synclink.h.
#define BIT14 0x4000 |
Definition at line 32 of file synclink.h.
#define BIT15 0x8000 |
Definition at line 33 of file synclink.h.
#define BIT16 0x00010000 |
Definition at line 34 of file synclink.h.
#define BIT17 0x00020000 |
Definition at line 35 of file synclink.h.
#define BIT18 0x00040000 |
Definition at line 36 of file synclink.h.
#define BIT19 0x00080000 |
Definition at line 37 of file synclink.h.
#define BIT2 0x0004 |
Definition at line 20 of file synclink.h.
#define BIT20 0x00100000 |
Definition at line 38 of file synclink.h.
#define BIT21 0x00200000 |
Definition at line 39 of file synclink.h.
#define BIT22 0x00400000 |
Definition at line 40 of file synclink.h.
#define BIT23 0x00800000 |
Definition at line 41 of file synclink.h.
#define BIT24 0x01000000 |
Definition at line 42 of file synclink.h.
#define BIT25 0x02000000 |
Definition at line 43 of file synclink.h.
#define BIT26 0x04000000 |
Definition at line 44 of file synclink.h.
#define BIT27 0x08000000 |
Definition at line 45 of file synclink.h.
#define BIT28 0x10000000 |
Definition at line 46 of file synclink.h.
#define BIT29 0x20000000 |
Definition at line 47 of file synclink.h.
#define BIT3 0x0008 |
Definition at line 21 of file synclink.h.
#define BIT30 0x40000000 |
Definition at line 48 of file synclink.h.
#define BIT31 0x80000000 |
Definition at line 49 of file synclink.h.
#define BIT4 0x0010 |
Definition at line 22 of file synclink.h.
#define BIT5 0x0020 |
Definition at line 23 of file synclink.h.
#define BIT6 0x0040 |
Definition at line 24 of file synclink.h.
#define BIT7 0x0080 |
Definition at line 25 of file synclink.h.
#define BIT8 0x0100 |
Definition at line 26 of file synclink.h.
#define BIT9 0x0200 |
Definition at line 27 of file synclink.h.
#define DEBUG_LEVEL_BH 4 |
Definition at line 240 of file synclink.h.
#define DEBUG_LEVEL_DATA 1 |
Definition at line 237 of file synclink.h.
#define DEBUG_LEVEL_ERROR 2 |
Definition at line 238 of file synclink.h.
#define DEBUG_LEVEL_INFO 3 |
Definition at line 239 of file synclink.h.
#define DEBUG_LEVEL_ISR 5 |
Definition at line 241 of file synclink.h.
#define DiagStatus_AddressConflict 2 |
Definition at line 187 of file synclink.h.
#define DiagStatus_AddressFailure 1 |
Definition at line 186 of file synclink.h.
#define DiagStatus_CantAssignPciIoAddr 10 |
Definition at line 195 of file synclink.h.
#define DiagStatus_CantAssignPciIrq 11 |
Definition at line 196 of file synclink.h.
#define DiagStatus_CantAssignPciMemAddr 9 |
Definition at line 194 of file synclink.h.
#define DiagStatus_CantAssignPciResources 8 |
Definition at line 193 of file synclink.h.
#define DiagStatus_DmaConflict 6 |
Definition at line 191 of file synclink.h.
#define DiagStatus_DmaFailure 5 |
Definition at line 190 of file synclink.h.
#define DiagStatus_IrqConflict 4 |
Definition at line 189 of file synclink.h.
#define DiagStatus_IrqFailure 3 |
Definition at line 188 of file synclink.h.
#define DiagStatus_MemoryError 12 |
Definition at line 197 of file synclink.h.
#define DiagStatus_OK 0 |
Definition at line 185 of file synclink.h.
#define DiagStatus_PciAdapterNotFound 7 |
Definition at line 192 of file synclink.h.
#define HDLC_CRC_16_CCITT 1 |
Definition at line 83 of file synclink.h.
#define HDLC_CRC_32_CCITT 2 |
Definition at line 84 of file synclink.h.
#define HDLC_CRC_MASK 0x00ff |
Definition at line 85 of file synclink.h.
#define HDLC_CRC_NONE 0 |
Definition at line 82 of file synclink.h.
#define HDLC_CRC_RETURN_EX 0x8000 |
Definition at line 86 of file synclink.h.
#define HDLC_ENCODING_BIPHASE_LEVEL 6 |
Definition at line 108 of file synclink.h.
#define HDLC_ENCODING_BIPHASE_MARK 4 |
Definition at line 106 of file synclink.h.
#define HDLC_ENCODING_BIPHASE_SPACE 5 |
Definition at line 107 of file synclink.h.
#define HDLC_ENCODING_DIFF_BIPHASE_LEVEL 7 |
Definition at line 109 of file synclink.h.
#define HDLC_ENCODING_NRZ 0 |
Definition at line 101 of file synclink.h.
#define HDLC_ENCODING_NRZB 1 |
Definition at line 102 of file synclink.h.
#define HDLC_ENCODING_NRZI HDLC_ENCODING_NRZI_SPACE |
Definition at line 105 of file synclink.h.
#define HDLC_ENCODING_NRZI_MARK 2 |
Definition at line 103 of file synclink.h.
#define HDLC_ENCODING_NRZI_SPACE 3 |
Definition at line 104 of file synclink.h.
#define HDLC_FLAG_AUTO_CTS 0x0020 |
Definition at line 66 of file synclink.h.
#define HDLC_FLAG_AUTO_DCD 0x0040 |
Definition at line 67 of file synclink.h.
#define HDLC_FLAG_AUTO_RTS 0x0080 |
Definition at line 68 of file synclink.h.
#define HDLC_FLAG_DPLL_DIV16 0x2000 |
Definition at line 78 of file synclink.h.
#define HDLC_FLAG_DPLL_DIV32 0x0000 |
Definition at line 79 of file synclink.h.
#define HDLC_FLAG_DPLL_DIV8 0x1000 |
Definition at line 77 of file synclink.h.
#define HDLC_FLAG_HDLC_LOOPMODE 0x4000 |
Definition at line 80 of file synclink.h.
#define HDLC_FLAG_RXC_BRG 0x0200 |
Definition at line 70 of file synclink.h.
#define HDLC_FLAG_RXC_DPLL 0x0100 |
Definition at line 69 of file synclink.h.
#define HDLC_FLAG_RXC_RXCPIN 0x0000 |
Definition at line 72 of file synclink.h.
#define HDLC_FLAG_RXC_TXCPIN 0x8000 |
Definition at line 71 of file synclink.h.
#define HDLC_FLAG_SHARE_ZERO 0x0010 |
Definition at line 65 of file synclink.h.
#define HDLC_FLAG_TXC_BRG 0x0800 |
Definition at line 74 of file synclink.h.
#define HDLC_FLAG_TXC_DPLL 0x0400 |
Definition at line 73 of file synclink.h.
#define HDLC_FLAG_TXC_RXCPIN 0x0008 |
Definition at line 76 of file synclink.h.
#define HDLC_FLAG_TXC_TXCPIN 0x0000 |
Definition at line 75 of file synclink.h.
#define HDLC_FLAG_UNDERRUN_ABORT15 0x0001 |
Definition at line 62 of file synclink.h.
#define HDLC_FLAG_UNDERRUN_ABORT7 0x0000 |
Definition at line 61 of file synclink.h.
#define HDLC_FLAG_UNDERRUN_CRC 0x0004 |
Definition at line 64 of file synclink.h.
#define HDLC_FLAG_UNDERRUN_FLAG 0x0002 |
Definition at line 63 of file synclink.h.
#define HDLC_MAX_FRAME_SIZE 65535 |
Definition at line 52 of file synclink.h.
#define HDLC_PREAMBLE_LENGTH_16BITS 1 |
Definition at line 112 of file synclink.h.
#define HDLC_PREAMBLE_LENGTH_32BITS 2 |
Definition at line 113 of file synclink.h.
#define HDLC_PREAMBLE_LENGTH_64BITS 3 |
Definition at line 114 of file synclink.h.
#define HDLC_PREAMBLE_LENGTH_8BITS 0 |
Definition at line 111 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_01 4 |
Definition at line 120 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_10 3 |
Definition at line 119 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_FLAGS 2 |
Definition at line 118 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_NONE 0 |
Definition at line 116 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_ONES 5 |
Definition at line 121 of file synclink.h.
#define HDLC_PREAMBLE_PATTERN_ZEROS 1 |
Definition at line 117 of file synclink.h.
#define HDLC_TXIDLE_ALT_MARK_SPACE 4 |
Definition at line 95 of file synclink.h.
#define HDLC_TXIDLE_ALT_ZEROS_ONES 1 |
Definition at line 92 of file synclink.h.
#define HDLC_TXIDLE_CUSTOM_16 0x20000000 |
Definition at line 99 of file synclink.h.
#define HDLC_TXIDLE_CUSTOM_8 0x10000000 |
Definition at line 98 of file synclink.h.
#define HDLC_TXIDLE_FLAGS 0 |
Definition at line 91 of file synclink.h.
#define HDLC_TXIDLE_MARK 6 |
Definition at line 97 of file synclink.h.
#define HDLC_TXIDLE_ONES 3 |
Definition at line 94 of file synclink.h.
#define HDLC_TXIDLE_SPACE 5 |
Definition at line 96 of file synclink.h.
#define HDLC_TXIDLE_ZEROS 2 |
Definition at line 93 of file synclink.h.
#define MAX_ASYNC_BUFFER_SIZE 4096 |
Definition at line 54 of file synclink.h.
#define MAX_ASYNC_TRANSMIT 4096 |
Definition at line 53 of file synclink.h.
#define MGSCC_DEVICE_ID 0x0020 |
Definition at line 173 of file synclink.h.
#define MGSL_BUS_TYPE_EISA 2 |
Definition at line 132 of file synclink.h.
#define MGSL_BUS_TYPE_ISA 1 |
Definition at line 131 of file synclink.h.
#define MGSL_BUS_TYPE_PCI 5 |
Definition at line 133 of file synclink.h.
#define MGSL_INTERFACE_DISABLE 0 |
Definition at line 136 of file synclink.h.
#define MGSL_INTERFACE_LL 0x20 |
Definition at line 141 of file synclink.h.
#define MGSL_INTERFACE_MASK 0xf |
Definition at line 135 of file synclink.h.
#define MGSL_INTERFACE_MSB_FIRST 0x80 |
Definition at line 143 of file synclink.h.
#define MGSL_INTERFACE_RL 0x40 |
Definition at line 142 of file synclink.h.
#define MGSL_INTERFACE_RS232 1 |
Definition at line 137 of file synclink.h.
#define MGSL_INTERFACE_RS422 3 |
Definition at line 139 of file synclink.h.
#define MGSL_INTERFACE_RTS_EN 0x10 |
Definition at line 140 of file synclink.h.
#define MGSL_INTERFACE_V35 2 |
Definition at line 138 of file synclink.h.
#define MGSL_IOCCLRMODCOUNT _IO(MGSL_MAGIC_IOC,15) |
Definition at line 287 of file synclink.h.
#define MGSL_IOCGGPIO _IOR(MGSL_MAGIC_IOC,17,struct gpio_desc) |
Definition at line 292 of file synclink.h.
#define MGSL_IOCGIF _IO(MGSL_MAGIC_IOC,11) |
Definition at line 290 of file synclink.h.
#define MGSL_IOCGPARAMS _IOR(MGSL_MAGIC_IOC,1,struct _MGSL_PARAMS) |
Definition at line 279 of file synclink.h.
#define MGSL_IOCGSTATS _IO(MGSL_MAGIC_IOC,7) |
Definition at line 285 of file synclink.h.
#define MGSL_IOCGTXIDLE _IO(MGSL_MAGIC_IOC,3) |
Definition at line 281 of file synclink.h.
#define MGSL_IOCGXCTRL _IO(MGSL_MAGIC_IOC, 22) |
Definition at line 297 of file synclink.h.
#define MGSL_IOCGXSYNC _IO(MGSL_MAGIC_IOC, 20) |
Definition at line 295 of file synclink.h.
#define MGSL_IOCLOOPTXDONE _IO(MGSL_MAGIC_IOC,9) |
Definition at line 288 of file synclink.h.
#define MGSL_IOCRXENABLE _IO(MGSL_MAGIC_IOC,5) |
Definition at line 283 of file synclink.h.
#define MGSL_IOCSGPIO _IOW(MGSL_MAGIC_IOC,16,struct gpio_desc) |
Definition at line 291 of file synclink.h.
#define MGSL_IOCSIF _IO(MGSL_MAGIC_IOC,10) |
Definition at line 289 of file synclink.h.
#define MGSL_IOCSPARAMS _IOW(MGSL_MAGIC_IOC,0,struct _MGSL_PARAMS) |
Definition at line 278 of file synclink.h.
#define MGSL_IOCSTXIDLE _IO(MGSL_MAGIC_IOC,2) |
Definition at line 280 of file synclink.h.
#define MGSL_IOCSXCTRL _IO(MGSL_MAGIC_IOC, 21) |
Definition at line 296 of file synclink.h.
#define MGSL_IOCSXSYNC _IO(MGSL_MAGIC_IOC, 19) |
Definition at line 294 of file synclink.h.
#define MGSL_IOCTXABORT _IO(MGSL_MAGIC_IOC,6) |
Definition at line 284 of file synclink.h.
#define MGSL_IOCTXENABLE _IO(MGSL_MAGIC_IOC,4) |
Definition at line 282 of file synclink.h.
#define MGSL_IOCWAITEVENT _IOWR(MGSL_MAGIC_IOC,8,int) |
Definition at line 286 of file synclink.h.
#define MGSL_IOCWAITGPIO _IOWR(MGSL_MAGIC_IOC,18,struct gpio_desc) |
Definition at line 293 of file synclink.h.
#define MGSL_MAGIC_IOC 'm' |
Definition at line 277 of file synclink.h.
#define MGSL_MAX_SERIAL_NUMBER 30 |
Definition at line 179 of file synclink.h.
#define MGSL_MODE_ASYNC 1 |
Definition at line 123 of file synclink.h.
#define MGSL_MODE_BASE_CLOCK 7 |
Definition at line 128 of file synclink.h.
#define MGSL_MODE_BISYNC 4 |
Definition at line 126 of file synclink.h.
#define MGSL_MODE_HDLC 2 |
Definition at line 124 of file synclink.h.
#define MGSL_MODE_MONOSYNC 3 |
Definition at line 125 of file synclink.h.
#define MGSL_MODE_RAW 6 |
Definition at line 127 of file synclink.h.
#define MGSL_MODE_XSYNC 8 |
Definition at line 129 of file synclink.h.
#define MgslEvent_Cts 0x000c |
Definition at line 252 of file synclink.h.
#define MgslEvent_CtsActive 0x0004 |
Definition at line 250 of file synclink.h.
#define MgslEvent_CtsInactive 0x0008 |
Definition at line 251 of file synclink.h.
#define MgslEvent_Dcd 0x0030 |
Definition at line 255 of file synclink.h.
#define MgslEvent_DcdActive 0x0010 |
Definition at line 253 of file synclink.h.
#define MgslEvent_DcdInactive 0x0020 |
Definition at line 254 of file synclink.h.
#define MgslEvent_Dsr 0x0003 |
Definition at line 249 of file synclink.h.
#define MgslEvent_DsrActive 0x0001 |
Definition at line 247 of file synclink.h.
#define MgslEvent_DsrInactive 0x0002 |
Definition at line 248 of file synclink.h.
#define MgslEvent_ExitHuntMode 0x0100 |
Definition at line 259 of file synclink.h.
#define MgslEvent_IdleReceived 0x0200 |
Definition at line 260 of file synclink.h.
#define MgslEvent_Ri 0x00c0 |
Definition at line 258 of file synclink.h.
#define MgslEvent_RiActive 0x0040 |
Definition at line 256 of file synclink.h.
#define MgslEvent_RiInactive 0x0080 |
Definition at line 257 of file synclink.h.
#define MICROGATE_VENDOR_ID 0x13c0 |
Definition at line 171 of file synclink.h.
#define RX_CRC_ERROR 1 |
Definition at line 89 of file synclink.h.
#define RX_OK 0 |
Definition at line 88 of file synclink.h.
#define SerialSignal_CTS 0x10 /* Clear to Send */ |
Definition at line 203 of file synclink.h.
#define SerialSignal_DCD 0x01 /* Data Carrier Detect */ |
Definition at line 199 of file synclink.h.
#define SerialSignal_DSR 0x40 /* Data Set Ready */ |
Definition at line 205 of file synclink.h.
#define SerialSignal_DTR 0x80 /* Data Terminal Ready */ |
Definition at line 206 of file synclink.h.
#define SerialSignal_RI 0x04 /* Ring Indicator */ |
Definition at line 201 of file synclink.h.
#define SerialSignal_RTS 0x20 /* Request to Send */ |
Definition at line 204 of file synclink.h.
#define SerialSignal_RXD 0x08 /* Receive Data */ |
Definition at line 202 of file synclink.h.
#define SerialSignal_TXD 0x02 /* Transmit Data */ |
Definition at line 200 of file synclink.h.
#define SYNCLINK_AC_DEVICE_ID 0x0090 |
Definition at line 177 of file synclink.h.
#define SYNCLINK_DEVICE_ID 0x0010 |
Definition at line 172 of file synclink.h.
#define SYNCLINK_GT2_DEVICE_ID 0x00A0 |
Definition at line 178 of file synclink.h.
#define SYNCLINK_GT4_DEVICE_ID 0x0080 |
Definition at line 176 of file synclink.h.
#define SYNCLINK_GT_DEVICE_ID 0x0070 |
Definition at line 175 of file synclink.h.
#define SYNCLINK_H_VERSION 3.6 |
Definition at line 14 of file synclink.h.
#define SYNCLINK_SCA_DEVICE_ID 0x0030 |
Definition at line 174 of file synclink.h.
typedef struct _MGSL_PARAMS MGSL_PARAMS |
typedef struct _MGSL_PARAMS * PMGSL_PARAMS |