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

Go to the source code of this file.

Macros

#define DZ_TRDY   0x8000 /* Transmitter empty */
 
#define DZ_TIE   0x4000 /* Transmitter Interrupt Enbl */
 
#define DZ_TLINE   0x0300 /* Transmitter Line Number */
 
#define DZ_RDONE   0x0080 /* Receiver data ready */
 
#define DZ_RIE   0x0040 /* Receive Interrupt Enable */
 
#define DZ_MSE   0x0020 /* Master Scan Enable */
 
#define DZ_CLR   0x0010 /* Master reset */
 
#define DZ_MAINT   0x0008 /* Loop Back Mode */
 
#define DZ_RBUF_MASK   0x00FF /* Data Mask */
 
#define DZ_LINE_MASK   0x0300 /* Line Mask */
 
#define DZ_DVAL   0x8000 /* Valid Data indicator */
 
#define DZ_OERR   0x4000 /* Overrun error indicator */
 
#define DZ_FERR   0x2000 /* Frame error indicator */
 
#define DZ_PERR   0x1000 /* Parity error indicator */
 
#define DZ_BREAK   0x0800 /* BREAK event software flag */
 
#define LINE(x)
 
#define UCHAR(x)   ((unsigned char)(x & DZ_RBUF_MASK))
 
#define DZ_LINE_KEYBOARD   0x0001
 
#define DZ_LINE_MOUSE   0x0002
 
#define DZ_LINE_MODEM   0x0004
 
#define DZ_LINE_PRINTER   0x0008
 
#define DZ_MODEM_RTS   0x0800 /* RTS for the modem line (2) */
 
#define DZ_MODEM_DTR   0x0400 /* DTR for the modem line (2) */
 
#define DZ_PRINT_RTS   0x0200 /* RTS for the prntr line (3) */
 
#define DZ_PRINT_DTR   0x0100 /* DTR for the prntr line (3) */
 
#define DZ_LNENB   0x000f /* Transmitter Line Enable */
 
#define DZ_MODEM_RI   0x0800 /* RI for the modem line (2) */
 
#define DZ_MODEM_CD   0x0400 /* CD for the modem line (2) */
 
#define DZ_MODEM_DSR   0x0200 /* DSR for the modem line (2) */
 
#define DZ_MODEM_CTS   0x0100 /* CTS for the modem line (2) */
 
#define DZ_PRINT_RI   0x0008 /* RI for the printer line (3) */
 
#define DZ_PRINT_CD   0x0004 /* CD for the printer line (3) */
 
#define DZ_PRINT_DSR   0x0002 /* DSR for the prntr line (3) */
 
#define DZ_PRINT_CTS   0x0001 /* CTS for the prntr line (3) */
 
#define DZ_BRK0   0x0100 /* Break assertion for line 0 */
 
#define DZ_BRK1   0x0200 /* Break assertion for line 1 */
 
#define DZ_BRK2   0x0400 /* Break assertion for line 2 */
 
#define DZ_BRK3   0x0800 /* Break assertion for line 3 */
 
#define DZ_KEYBOARD   0x0000 /* line 0 = keyboard */
 
#define DZ_MOUSE   0x0001 /* line 1 = mouse */
 
#define DZ_MODEM   0x0002 /* line 2 = modem */
 
#define DZ_PRINTER   0x0003 /* line 3 = printer */
 
#define DZ_CSIZE   0x0018 /* Number of bits per byte (mask) */
 
#define DZ_CS5   0x0000 /* 5 bits per byte */
 
#define DZ_CS6   0x0008 /* 6 bits per byte */
 
#define DZ_CS7   0x0010 /* 7 bits per byte */
 
#define DZ_CS8   0x0018 /* 8 bits per byte */
 
#define DZ_CSTOPB   0x0020 /* 2 stop bits instead of one */
 
#define DZ_PARENB   0x0040 /* Parity enable */
 
#define DZ_PARODD   0x0080 /* Odd parity instead of even */
 
#define DZ_CBAUD   0x0E00 /* Baud Rate (mask) */
 
#define DZ_B50   0x0000
 
#define DZ_B75   0x0100
 
#define DZ_B110   0x0200
 
#define DZ_B134   0x0300
 
#define DZ_B150   0x0400
 
#define DZ_B300   0x0500
 
#define DZ_B600   0x0600
 
#define DZ_B1200   0x0700
 
#define DZ_B1800   0x0800
 
#define DZ_B2000   0x0900
 
#define DZ_B2400   0x0A00
 
#define DZ_B3600   0x0B00
 
#define DZ_B4800   0x0C00
 
#define DZ_B7200   0x0D00
 
#define DZ_B9600   0x0E00
 
#define DZ_RXENAB   0x1000 /* Receiver Enable */
 
#define DZ_CSR   0x00 /* Control and Status Register */
 
#define DZ_RBUF   0x08 /* Receive Buffer */
 
#define DZ_LPR   0x08 /* Line Parameters Register */
 
#define DZ_TCR   0x10 /* Transmitter Control Register */
 
#define DZ_MSR   0x18 /* Modem Status Register */
 
#define DZ_TDR   0x18 /* Transmit Data Register */
 
#define DZ_NB_PORT   4
 
#define DZ_XMIT_SIZE   4096 /* buffer size */
 
#define DZ_WAKEUP_CHARS   DZ_XMIT_SIZE/4
 

Macro Definition Documentation

#define DZ_B110   0x0200

Definition at line 97 of file dz.h.

#define DZ_B1200   0x0700

Definition at line 102 of file dz.h.

#define DZ_B134   0x0300

Definition at line 98 of file dz.h.

#define DZ_B150   0x0400

Definition at line 99 of file dz.h.

#define DZ_B1800   0x0800

Definition at line 103 of file dz.h.

#define DZ_B2000   0x0900

Definition at line 104 of file dz.h.

#define DZ_B2400   0x0A00

Definition at line 105 of file dz.h.

#define DZ_B300   0x0500

Definition at line 100 of file dz.h.

#define DZ_B3600   0x0B00

Definition at line 106 of file dz.h.

#define DZ_B4800   0x0C00

Definition at line 107 of file dz.h.

#define DZ_B50   0x0000

Definition at line 95 of file dz.h.

#define DZ_B600   0x0600

Definition at line 101 of file dz.h.

#define DZ_B7200   0x0D00

Definition at line 108 of file dz.h.

#define DZ_B75   0x0100

Definition at line 96 of file dz.h.

#define DZ_B9600   0x0E00

Definition at line 109 of file dz.h.

#define DZ_BREAK   0x0800 /* BREAK event software flag */

Definition at line 36 of file dz.h.

#define DZ_BRK0   0x0100 /* Break assertion for line 0 */

Definition at line 70 of file dz.h.

#define DZ_BRK1   0x0200 /* Break assertion for line 1 */

Definition at line 71 of file dz.h.

#define DZ_BRK2   0x0400 /* Break assertion for line 2 */

Definition at line 72 of file dz.h.

#define DZ_BRK3   0x0800 /* Break assertion for line 3 */

Definition at line 73 of file dz.h.

#define DZ_CBAUD   0x0E00 /* Baud Rate (mask) */

Definition at line 94 of file dz.h.

#define DZ_CLR   0x0010 /* Master reset */

Definition at line 23 of file dz.h.

#define DZ_CS5   0x0000 /* 5 bits per byte */

Definition at line 84 of file dz.h.

#define DZ_CS6   0x0008 /* 6 bits per byte */

Definition at line 85 of file dz.h.

#define DZ_CS7   0x0010 /* 7 bits per byte */

Definition at line 86 of file dz.h.

#define DZ_CS8   0x0018 /* 8 bits per byte */

Definition at line 87 of file dz.h.

#define DZ_CSIZE   0x0018 /* Number of bits per byte (mask) */

Definition at line 83 of file dz.h.

#define DZ_CSR   0x00 /* Control and Status Register */

Definition at line 116 of file dz.h.

#define DZ_CSTOPB   0x0020 /* 2 stop bits instead of one */

Definition at line 89 of file dz.h.

#define DZ_DVAL   0x8000 /* Valid Data indicator */

Definition at line 31 of file dz.h.

#define DZ_FERR   0x2000 /* Frame error indicator */

Definition at line 33 of file dz.h.

#define DZ_KEYBOARD   0x0000 /* line 0 = keyboard */

Definition at line 78 of file dz.h.

#define DZ_LINE_KEYBOARD   0x0001

Definition at line 44 of file dz.h.

#define DZ_LINE_MASK   0x0300 /* Line Mask */

Definition at line 30 of file dz.h.

#define DZ_LINE_MODEM   0x0004

Definition at line 46 of file dz.h.

#define DZ_LINE_MOUSE   0x0002

Definition at line 45 of file dz.h.

#define DZ_LINE_PRINTER   0x0008

Definition at line 47 of file dz.h.

#define DZ_LNENB   0x000f /* Transmitter Line Enable */

Definition at line 53 of file dz.h.

#define DZ_LPR   0x08 /* Line Parameters Register */

Definition at line 118 of file dz.h.

#define DZ_MAINT   0x0008 /* Loop Back Mode */

Definition at line 24 of file dz.h.

#define DZ_MODEM   0x0002 /* line 2 = modem */

Definition at line 80 of file dz.h.

#define DZ_MODEM_CD   0x0400 /* CD for the modem line (2) */

Definition at line 59 of file dz.h.

#define DZ_MODEM_CTS   0x0100 /* CTS for the modem line (2) */

Definition at line 61 of file dz.h.

#define DZ_MODEM_DSR   0x0200 /* DSR for the modem line (2) */

Definition at line 60 of file dz.h.

#define DZ_MODEM_DTR   0x0400 /* DTR for the modem line (2) */

Definition at line 50 of file dz.h.

#define DZ_MODEM_RI   0x0800 /* RI for the modem line (2) */

Definition at line 58 of file dz.h.

#define DZ_MODEM_RTS   0x0800 /* RTS for the modem line (2) */

Definition at line 49 of file dz.h.

#define DZ_MOUSE   0x0001 /* line 1 = mouse */

Definition at line 79 of file dz.h.

#define DZ_MSE   0x0020 /* Master Scan Enable */

Definition at line 22 of file dz.h.

#define DZ_MSR   0x18 /* Modem Status Register */

Definition at line 120 of file dz.h.

#define DZ_NB_PORT   4

Definition at line 123 of file dz.h.

#define DZ_OERR   0x4000 /* Overrun error indicator */

Definition at line 32 of file dz.h.

#define DZ_PARENB   0x0040 /* Parity enable */

Definition at line 91 of file dz.h.

#define DZ_PARODD   0x0080 /* Odd parity instead of even */

Definition at line 92 of file dz.h.

#define DZ_PERR   0x1000 /* Parity error indicator */

Definition at line 34 of file dz.h.

#define DZ_PRINT_CD   0x0004 /* CD for the printer line (3) */

Definition at line 63 of file dz.h.

#define DZ_PRINT_CTS   0x0001 /* CTS for the prntr line (3) */

Definition at line 65 of file dz.h.

#define DZ_PRINT_DSR   0x0002 /* DSR for the prntr line (3) */

Definition at line 64 of file dz.h.

#define DZ_PRINT_DTR   0x0100 /* DTR for the prntr line (3) */

Definition at line 52 of file dz.h.

#define DZ_PRINT_RI   0x0008 /* RI for the printer line (3) */

Definition at line 62 of file dz.h.

#define DZ_PRINT_RTS   0x0200 /* RTS for the prntr line (3) */

Definition at line 51 of file dz.h.

#define DZ_PRINTER   0x0003 /* line 3 = printer */

Definition at line 81 of file dz.h.

#define DZ_RBUF   0x08 /* Receive Buffer */

Definition at line 117 of file dz.h.

#define DZ_RBUF_MASK   0x00FF /* Data Mask */

Definition at line 29 of file dz.h.

#define DZ_RDONE   0x0080 /* Receiver data ready */

Definition at line 20 of file dz.h.

#define DZ_RIE   0x0040 /* Receive Interrupt Enable */

Definition at line 21 of file dz.h.

#define DZ_RXENAB   0x1000 /* Receiver Enable */

Definition at line 111 of file dz.h.

#define DZ_TCR   0x10 /* Transmitter Control Register */

Definition at line 119 of file dz.h.

#define DZ_TDR   0x18 /* Transmit Data Register */

Definition at line 121 of file dz.h.

#define DZ_TIE   0x4000 /* Transmitter Interrupt Enbl */

Definition at line 18 of file dz.h.

#define DZ_TLINE   0x0300 /* Transmitter Line Number */

Definition at line 19 of file dz.h.

#define DZ_TRDY   0x8000 /* Transmitter empty */

Definition at line 17 of file dz.h.

#define DZ_WAKEUP_CHARS   DZ_XMIT_SIZE/4

Definition at line 126 of file dz.h.

#define DZ_XMIT_SIZE   4096 /* buffer size */

Definition at line 125 of file dz.h.

#define LINE (   x)
Value:
((x & DZ_LINE_MASK) >> 8) /* Get the line number
from the input buffer */

Definition at line 38 of file dz.h.

#define UCHAR (   x)    ((unsigned char)(x & DZ_RBUF_MASK))

Definition at line 39 of file dz.h.