Go to the documentation of this file.
16 #define ZS_NUM_REGS 16
27 unsigned int tty_break;
40 struct zs_port zport[2];
51 #define ZS_BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
52 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
77 #define POINT_HIGH 0x8
78 #define RES_EXT_INT 0x10
79 #define SEND_ABORT 0x18
80 #define RES_RxINT_FC 0x20
83 #define RES_H_IUS 0x38
85 #define RES_Rx_CRC 0x40
86 #define RES_Tx_CRC 0x80
87 #define RES_EOM_L 0xC0
90 #define EXT_INT_ENAB 0x1
91 #define TxINT_ENAB 0x2
95 #define RxINT_FCERR 0x8
96 #define RxINT_ALL 0x10
97 #define RxINT_ERR 0x18
98 #define RxINT_MASK 0x18
100 #define WT_RDY_RT 0x20
101 #define WT_FN_RDYFN 0x40
102 #define WT_RDY_ENAB 0x80
108 #define SYNC_L_INH 0x2
110 #define RxCRC_ENAB 0x8
112 #define AUTO_ENAB 0x20
117 #define RxNBITS_MASK 0xc0
138 #define XCLK_MASK 0xc0
141 #define TxCRC_ENAB 0x1
150 #define TxNBITS_MASK 0x60
230 #define Tx_BUF_EMP 0x4
232 #define SYNC_HUNT 0x10
235 #define BRK_ABRT 0x80
274 #define LOOPSEND 0x10