Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | KS8695_UART_OFFSET (0xF0000 + 0xE000) |
#define | KS8695_UART_VA (KS8695_IO_VA + KS8695_UART_OFFSET) |
#define | KS8695_UART_PA (KS8695_IO_PA + KS8695_UART_OFFSET) |
#define | KS8695_URRB (0x00) /* Receive Buffer Register */ |
#define | KS8695_URTH (0x04) /* Transmit Holding Register */ |
#define | KS8695_URFC (0x08) /* FIFO Control Register */ |
#define | KS8695_URLC (0x0C) /* Line Control Register */ |
#define | KS8695_URMC (0x10) /* Modem Control Register */ |
#define | KS8695_URLS (0x14) /* Line Status Register */ |
#define | KS8695_URMS (0x18) /* Modem Status Register */ |
#define | KS8695_URBD (0x1C) /* Baud Rate Divisor Register */ |
#define | KS8695_USR (0x20) /* Status Register */ |
#define | URFC_URFRT (3 << 6) /* Receive FIFO Trigger Level */ |
#define | URFC_URFRT_1 (0 << 6) |
#define | URFC_URFRT_4 (1 << 6) |
#define | URFC_URFRT_8 (2 << 6) |
#define | URFC_URFRT_14 (3 << 6) |
#define | URFC_URTFR (1 << 2) /* Transmit FIFO Reset */ |
#define | URFC_URRFR (1 << 1) /* Receive FIFO Reset */ |
#define | URFC_URFE (1 << 0) /* FIFO Enable */ |
#define | URLC_URSBC (1 << 6) /* Set Break Condition */ |
#define | URLC_PARITY (7 << 3) /* Parity */ |
#define | URPE_NONE (0 << 3) |
#define | URPE_ODD (1 << 3) |
#define | URPE_EVEN (3 << 3) |
#define | URPE_MARK (5 << 3) |
#define | URPE_SPACE (7 << 3) |
#define | URLC_URSB (1 << 2) /* Stop Bits */ |
#define | URLC_URCL (3 << 0) /* Character Length */ |
#define | URCL_5 (0 << 0) |
#define | URCL_6 (1 << 0) |
#define | URCL_7 (2 << 0) |
#define | URCL_8 (3 << 0) |
#define | URMC_URLB (1 << 4) /* Loop-back mode */ |
#define | URMC_UROUT2 (1 << 3) /* OUT2 signal */ |
#define | URMC_UROUT1 (1 << 2) /* OUT1 signal */ |
#define | URMC_URRTS (1 << 1) /* Request to Send */ |
#define | URMC_URDTR (1 << 0) /* Data Terminal Ready */ |
#define | URLS_URRFE (1 << 7) /* Receive FIFO Error */ |
#define | URLS_URTE (1 << 6) /* Transmit Empty */ |
#define | URLS_URTHRE (1 << 5) /* Transmit Holding Register Empty */ |
#define | URLS_URBI (1 << 4) /* Break Interrupt */ |
#define | URLS_URFE (1 << 3) /* Framing Error */ |
#define | URLS_URPE (1 << 2) /* Parity Error */ |
#define | URLS_URROE (1 << 1) /* Receive Overrun Error */ |
#define | URLS_URDR (1 << 0) /* Receive Data Ready */ |
#define | URMS_URDCD (1 << 7) /* Data Carrier Detect */ |
#define | URMS_URRI (1 << 6) /* Ring Indicator */ |
#define | URMS_URDSR (1 << 5) /* Data Set Ready */ |
#define | URMS_URCTS (1 << 4) /* Clear to Send */ |
#define | URMS_URDDCD (1 << 3) /* Delta Data Carrier Detect */ |
#define | URMS_URTERI (1 << 2) /* Trailing Edge Ring Indicator */ |
#define | URMS_URDDST (1 << 1) /* Delta Data Set Ready */ |
#define | URMS_URDCTS (1 << 0) /* Delta Clear to Send */ |
#define | USR_UTI (1 << 0) /* Timeout Indication */ |
#define KS8695_UART_OFFSET (0xF0000 + 0xE000) |
Definition at line 17 of file regs-uart.h.
#define KS8695_UART_PA (KS8695_IO_PA + KS8695_UART_OFFSET) |
Definition at line 19 of file regs-uart.h.
#define KS8695_UART_VA (KS8695_IO_VA + KS8695_UART_OFFSET) |
Definition at line 18 of file regs-uart.h.
#define KS8695_URBD (0x1C) /* Baud Rate Divisor Register */ |
Definition at line 32 of file regs-uart.h.
#define KS8695_URFC (0x08) /* FIFO Control Register */ |
Definition at line 27 of file regs-uart.h.
#define KS8695_URLC (0x0C) /* Line Control Register */ |
Definition at line 28 of file regs-uart.h.
#define KS8695_URLS (0x14) /* Line Status Register */ |
Definition at line 30 of file regs-uart.h.
#define KS8695_URMC (0x10) /* Modem Control Register */ |
Definition at line 29 of file regs-uart.h.
#define KS8695_URMS (0x18) /* Modem Status Register */ |
Definition at line 31 of file regs-uart.h.
#define KS8695_URRB (0x00) /* Receive Buffer Register */ |
Definition at line 25 of file regs-uart.h.
#define KS8695_URTH (0x04) /* Transmit Holding Register */ |
Definition at line 26 of file regs-uart.h.
#define KS8695_USR (0x20) /* Status Register */ |
Definition at line 33 of file regs-uart.h.
#define URCL_5 (0 << 0) |
Definition at line 56 of file regs-uart.h.
#define URCL_6 (1 << 0) |
Definition at line 57 of file regs-uart.h.
#define URCL_7 (2 << 0) |
Definition at line 58 of file regs-uart.h.
#define URCL_8 (3 << 0) |
Definition at line 59 of file regs-uart.h.
#define URFC_URFE (1 << 0) /* FIFO Enable */ |
Definition at line 44 of file regs-uart.h.
#define URFC_URFRT (3 << 6) /* Receive FIFO Trigger Level */ |
Definition at line 37 of file regs-uart.h.
#define URFC_URFRT_1 (0 << 6) |
Definition at line 38 of file regs-uart.h.
#define URFC_URFRT_14 (3 << 6) |
Definition at line 41 of file regs-uart.h.
#define URFC_URFRT_4 (1 << 6) |
Definition at line 39 of file regs-uart.h.
#define URFC_URFRT_8 (2 << 6) |
Definition at line 40 of file regs-uart.h.
Definition at line 43 of file regs-uart.h.
Definition at line 42 of file regs-uart.h.
#define URLC_PARITY (7 << 3) /* Parity */ |
Definition at line 48 of file regs-uart.h.
#define URLC_URCL (3 << 0) /* Character Length */ |
Definition at line 55 of file regs-uart.h.
#define URLC_URSB (1 << 2) /* Stop Bits */ |
Definition at line 54 of file regs-uart.h.
#define URLC_URSBC (1 << 6) /* Set Break Condition */ |
Definition at line 47 of file regs-uart.h.
#define URLS_URBI (1 << 4) /* Break Interrupt */ |
Definition at line 72 of file regs-uart.h.
Definition at line 76 of file regs-uart.h.
#define URLS_URFE (1 << 3) /* Framing Error */ |
Definition at line 73 of file regs-uart.h.
#define URLS_URPE (1 << 2) /* Parity Error */ |
Definition at line 74 of file regs-uart.h.
Definition at line 69 of file regs-uart.h.
#define URLS_URROE (1 << 1) /* Receive Overrun Error */ |
Definition at line 75 of file regs-uart.h.
#define URLS_URTE (1 << 6) /* Transmit Empty */ |
Definition at line 70 of file regs-uart.h.
Definition at line 71 of file regs-uart.h.
Definition at line 66 of file regs-uart.h.
Definition at line 62 of file regs-uart.h.
#define URMC_UROUT1 (1 << 2) /* OUT1 signal */ |
Definition at line 64 of file regs-uart.h.
#define URMC_UROUT2 (1 << 3) /* OUT2 signal */ |
Definition at line 63 of file regs-uart.h.
#define URMC_URRTS (1 << 1) /* Request to Send */ |
Definition at line 65 of file regs-uart.h.
#define URMS_URCTS (1 << 4) /* Clear to Send */ |
Definition at line 82 of file regs-uart.h.
#define URMS_URDCD (1 << 7) /* Data Carrier Detect */ |
Definition at line 79 of file regs-uart.h.
#define URMS_URDCTS (1 << 0) /* Delta Clear to Send */ |
Definition at line 86 of file regs-uart.h.
#define URMS_URDDCD (1 << 3) /* Delta Data Carrier Detect */ |
Definition at line 83 of file regs-uart.h.
Definition at line 85 of file regs-uart.h.
Definition at line 81 of file regs-uart.h.
#define URMS_URRI (1 << 6) /* Ring Indicator */ |
Definition at line 80 of file regs-uart.h.
#define URMS_URTERI (1 << 2) /* Trailing Edge Ring Indicator */ |
Definition at line 84 of file regs-uart.h.
#define URPE_EVEN (3 << 3) |
Definition at line 51 of file regs-uart.h.
#define URPE_MARK (5 << 3) |
Definition at line 52 of file regs-uart.h.
#define URPE_NONE (0 << 3) |
Definition at line 49 of file regs-uart.h.
#define URPE_ODD (1 << 3) |
Definition at line 50 of file regs-uart.h.
#define URPE_SPACE (7 << 3) |
Definition at line 53 of file regs-uart.h.
#define USR_UTI (1 << 0) /* Timeout Indication */ |
Definition at line 89 of file regs-uart.h.