Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
gdb-io.h File Reference
#include <asm/serial-regs.h>

Go to the source code of this file.

Macros

#define UART_RX   0*8 /* In: Receive buffer (DLAB=0) */
 
#define UART_TX   0*8 /* Out: Transmit buffer (DLAB=0) */
 
#define UART_DLL   0*8 /* Out: Divisor Latch Low (DLAB=1) */
 
#define UART_DLM   1*8 /* Out: Divisor Latch High (DLAB=1) */
 
#define UART_IER   1*8 /* Out: Interrupt Enable Register */
 
#define UART_IIR   2*8 /* In: Interrupt ID Register */
 
#define UART_FCR   2*8 /* Out: FIFO Control Register */
 
#define UART_LCR   3*8 /* Out: Line Control Register */
 
#define UART_MCR   4*8 /* Out: Modem Control Register */
 
#define UART_LSR   5*8 /* In: Line Status Register */
 
#define UART_MSR   6*8 /* In: Modem Status Register */
 
#define UART_SCR   7*8 /* I/O: Scratch Register */
 
#define UART_LCR_DLAB   0x80 /* Divisor latch access bit */
 
#define UART_LCR_SBC   0x40 /* Set break control */
 
#define UART_LCR_SPAR   0x20 /* Stick parity (?) */
 
#define UART_LCR_EPAR   0x10 /* Even parity select */
 
#define UART_LCR_PARITY   0x08 /* Parity Enable */
 
#define UART_LCR_STOP   0x04 /* Stop bits: 0=1 stop bit, 1= 2 stop bits */
 
#define UART_LCR_WLEN5   0x00 /* Wordlength: 5 bits */
 
#define UART_LCR_WLEN6   0x01 /* Wordlength: 6 bits */
 
#define UART_LCR_WLEN7   0x02 /* Wordlength: 7 bits */
 
#define UART_LCR_WLEN8   0x03 /* Wordlength: 8 bits */
 

Macro Definition Documentation

#define UART_DLL   0*8 /* Out: Divisor Latch Low (DLAB=1) */

Definition at line 32 of file gdb-io.h.

#define UART_DLM   1*8 /* Out: Divisor Latch High (DLAB=1) */

Definition at line 33 of file gdb-io.h.

#define UART_FCR   2*8 /* Out: FIFO Control Register */

Definition at line 36 of file gdb-io.h.

#define UART_IER   1*8 /* Out: Interrupt Enable Register */

Definition at line 34 of file gdb-io.h.

#define UART_IIR   2*8 /* In: Interrupt ID Register */

Definition at line 35 of file gdb-io.h.

#define UART_LCR   3*8 /* Out: Line Control Register */

Definition at line 37 of file gdb-io.h.

#define UART_LCR_DLAB   0x80 /* Divisor latch access bit */

Definition at line 43 of file gdb-io.h.

#define UART_LCR_EPAR   0x10 /* Even parity select */

Definition at line 46 of file gdb-io.h.

#define UART_LCR_PARITY   0x08 /* Parity Enable */

Definition at line 47 of file gdb-io.h.

#define UART_LCR_SBC   0x40 /* Set break control */

Definition at line 44 of file gdb-io.h.

#define UART_LCR_SPAR   0x20 /* Stick parity (?) */

Definition at line 45 of file gdb-io.h.

#define UART_LCR_STOP   0x04 /* Stop bits: 0=1 stop bit, 1= 2 stop bits */

Definition at line 48 of file gdb-io.h.

#define UART_LCR_WLEN5   0x00 /* Wordlength: 5 bits */

Definition at line 49 of file gdb-io.h.

#define UART_LCR_WLEN6   0x01 /* Wordlength: 6 bits */

Definition at line 50 of file gdb-io.h.

#define UART_LCR_WLEN7   0x02 /* Wordlength: 7 bits */

Definition at line 51 of file gdb-io.h.

#define UART_LCR_WLEN8   0x03 /* Wordlength: 8 bits */

Definition at line 52 of file gdb-io.h.

#define UART_LSR   5*8 /* In: Line Status Register */

Definition at line 39 of file gdb-io.h.

#define UART_MCR   4*8 /* Out: Modem Control Register */

Definition at line 38 of file gdb-io.h.

#define UART_MSR   6*8 /* In: Modem Status Register */

Definition at line 40 of file gdb-io.h.

#define UART_RX   0*8 /* In: Receive buffer (DLAB=0) */

Definition at line 30 of file gdb-io.h.

#define UART_SCR   7*8 /* I/O: Scratch Register */

Definition at line 41 of file gdb-io.h.

#define UART_TX   0*8 /* Out: Transmit buffer (DLAB=0) */

Definition at line 31 of file gdb-io.h.