Go to the documentation of this file.
11 #include <linux/tty.h>
17 #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2))
18 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
45 #define POINT_HIGH 0x8
46 #define RES_EXT_INT 0x10
47 #define SEND_ABORT 0x18
48 #define RES_RxINT_FC 0x20
51 #define RES_H_IUS 0x38
53 #define RES_Rx_CRC 0x40
54 #define RES_Tx_CRC 0x80
55 #define RES_EOM_L 0xC0
59 #define EXT_INT_ENAB 0x1
60 #define TxINT_ENAB 0x2
64 #define RxINT_FCERR 0x8
65 #define INT_ALL_Rx 0x10
66 #define INT_ERR_Rx 0x18
68 #define WT_RDY_RT 0x20
69 #define WT_FN_RDYFN 0x40
70 #define WT_RDY_ENAB 0x80
77 #define SYNC_L_INH 0x2
79 #define RxCRC_ENAB 0x8
81 #define AUTO_ENAB 0x20
109 #define TxCRC_ENAB 0x1
197 #define Tx_BUF_EMP 0x4
199 #define SYNC_HUNT 0x10
202 #define BRK_ABRT 0x80
235 #define LOOPSEND 0x10
316 #define Z8530_PORT_SLEEP 0x80000000
317 #define Z8530_PORT_OF(x) ((x)&0xFFFF)
424 #define SERIAL_MAGIC 0x5301
430 #define SERIAL_XMIT_SIZE 4096
431 #define WAKEUP_CHARS 256
437 #define RS_EVENT_WRITE_WAKEUP 0
440 #define ZILOG_INITIALIZED 0x80000000
441 #define ZILOG_CALLOUT_ACTIVE 0x40000000
442 #define ZILOG_NORMAL_ACTIVE 0x20000000
443 #define ZILOG_BOOT_AUTOCONF 0x10000000
444 #define ZILOG_CLOSING 0x08000000
445 #define ZILOG_CTS_FLOW 0x04000000
446 #define ZILOG_CHECK_CD 0x02000000