Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
serial_pnx8xxx.h File Reference
#include <linux/serial_core.h>

Go to the source code of this file.

Data Structures

struct  pnx8xxx_port
 

Macros

#define PNX8XXX_NR_PORTS   2
 
#define PNX8XXX_LCR   0
 
#define PNX8XXX_MCR   0x004
 
#define PNX8XXX_BAUD   0x008
 
#define PNX8XXX_CFG   0x00c
 
#define PNX8XXX_FIFO   0x028
 
#define PNX8XXX_ISTAT   0xfe0
 
#define PNX8XXX_IEN   0xfe4
 
#define PNX8XXX_ICLR   0xfe8
 
#define PNX8XXX_ISET   0xfec
 
#define PNX8XXX_PD   0xff4
 
#define PNX8XXX_MID   0xffc
 
#define PNX8XXX_UART_LCR_TXBREAK   (1<<30)
 
#define PNX8XXX_UART_LCR_PAREVN   0x10000000
 
#define PNX8XXX_UART_LCR_PAREN   0x08000000
 
#define PNX8XXX_UART_LCR_2STOPB   0x04000000
 
#define PNX8XXX_UART_LCR_8BIT   0x01000000
 
#define PNX8XXX_UART_LCR_TX_RST   0x00040000
 
#define PNX8XXX_UART_LCR_RX_RST   0x00020000
 
#define PNX8XXX_UART_LCR_RX_NEXT   0x00010000
 
#define PNX8XXX_UART_MCR_SCR   0xFF000000
 
#define PNX8XXX_UART_MCR_DCD   0x00800000
 
#define PNX8XXX_UART_MCR_CTS   0x00100000
 
#define PNX8XXX_UART_MCR_LOOP   0x00000010
 
#define PNX8XXX_UART_MCR_RTS   0x00000002
 
#define PNX8XXX_UART_MCR_DTR   0x00000001
 
#define PNX8XXX_UART_INT_TX   0x00000080
 
#define PNX8XXX_UART_INT_EMPTY   0x00000040
 
#define PNX8XXX_UART_INT_RCVTO   0x00000020
 
#define PNX8XXX_UART_INT_RX   0x00000010
 
#define PNX8XXX_UART_INT_RXOVRN   0x00000008
 
#define PNX8XXX_UART_INT_FRERR   0x00000004
 
#define PNX8XXX_UART_INT_BREAK   0x00000002
 
#define PNX8XXX_UART_INT_PARITY   0x00000001
 
#define PNX8XXX_UART_INT_ALLRX   0x0000003F
 
#define PNX8XXX_UART_INT_ALLTX   0x000000C0
 
#define PNX8XXX_UART_FIFO_TXFIFO   0x001F0000
 
#define PNX8XXX_UART_FIFO_TXFIFO_STA   (0x1f<<16)
 
#define PNX8XXX_UART_FIFO_RXBRK   0x00008000
 
#define PNX8XXX_UART_FIFO_RXFE   0x00004000
 
#define PNX8XXX_UART_FIFO_RXPAR   0x00002000
 
#define PNX8XXX_UART_FIFO_RXFIFO   0x00001F00
 
#define PNX8XXX_UART_FIFO_RBRTHR   0x000000FF
 

Macro Definition Documentation

#define PNX8XXX_BAUD   0x008

Definition at line 35 of file serial_pnx8xxx.h.

#define PNX8XXX_CFG   0x00c

Definition at line 36 of file serial_pnx8xxx.h.

#define PNX8XXX_FIFO   0x028

Definition at line 37 of file serial_pnx8xxx.h.

#define PNX8XXX_ICLR   0xfe8

Definition at line 40 of file serial_pnx8xxx.h.

#define PNX8XXX_IEN   0xfe4

Definition at line 39 of file serial_pnx8xxx.h.

#define PNX8XXX_ISET   0xfec

Definition at line 41 of file serial_pnx8xxx.h.

#define PNX8XXX_ISTAT   0xfe0

Definition at line 38 of file serial_pnx8xxx.h.

#define PNX8XXX_LCR   0

Definition at line 33 of file serial_pnx8xxx.h.

#define PNX8XXX_MCR   0x004

Definition at line 34 of file serial_pnx8xxx.h.

#define PNX8XXX_MID   0xffc

Definition at line 43 of file serial_pnx8xxx.h.

#define PNX8XXX_NR_PORTS   2

Definition at line 24 of file serial_pnx8xxx.h.

#define PNX8XXX_PD   0xff4

Definition at line 42 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_RBRTHR   0x000000FF

Definition at line 78 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_RXBRK   0x00008000

Definition at line 74 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_RXFE   0x00004000

Definition at line 75 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_RXFIFO   0x00001F00

Definition at line 77 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_RXPAR   0x00002000

Definition at line 76 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_TXFIFO   0x001F0000

Definition at line 72 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_FIFO_TXFIFO_STA   (0x1f<<16)

Definition at line 73 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_ALLRX   0x0000003F

Definition at line 69 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_ALLTX   0x000000C0

Definition at line 70 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_BREAK   0x00000002

Definition at line 67 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_EMPTY   0x00000040

Definition at line 62 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_FRERR   0x00000004

Definition at line 66 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_PARITY   0x00000001

Definition at line 68 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_RCVTO   0x00000020

Definition at line 63 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_RX   0x00000010

Definition at line 64 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_RXOVRN   0x00000008

Definition at line 65 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_INT_TX   0x00000080

Definition at line 61 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_2STOPB   0x04000000

Definition at line 48 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_8BIT   0x01000000

Definition at line 49 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_PAREN   0x08000000

Definition at line 47 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_PAREVN   0x10000000

Definition at line 46 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_RX_NEXT   0x00010000

Definition at line 52 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_RX_RST   0x00020000

Definition at line 51 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_TX_RST   0x00040000

Definition at line 50 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_LCR_TXBREAK   (1<<30)

Definition at line 45 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_CTS   0x00100000

Definition at line 56 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_DCD   0x00800000

Definition at line 55 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_DTR   0x00000001

Definition at line 59 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_LOOP   0x00000010

Definition at line 57 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_RTS   0x00000002

Definition at line 58 of file serial_pnx8xxx.h.

#define PNX8XXX_UART_MCR_SCR   0xFF000000

Definition at line 54 of file serial_pnx8xxx.h.