Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | UART_MR1 0x0000 |
#define | UART_MR1_AUTO_RFR_LEVEL0 0x3F |
#define | UART_MR1_AUTO_RFR_LEVEL1 0x3FF00 |
#define | UART_MR1_RX_RDY_CTL (1 << 7) |
#define | UART_MR1_CTS_CTL (1 << 6) |
#define | UART_MR2 0x0004 |
#define | UART_MR2_ERROR_MODE (1 << 6) |
#define | UART_MR2_BITS_PER_CHAR 0x30 |
#define | UART_MR2_BITS_PER_CHAR_5 (0x0 << 4) |
#define | UART_MR2_BITS_PER_CHAR_6 (0x1 << 4) |
#define | UART_MR2_BITS_PER_CHAR_7 (0x2 << 4) |
#define | UART_MR2_BITS_PER_CHAR_8 (0x3 << 4) |
#define | UART_MR2_STOP_BIT_LEN_ONE (0x1 << 2) |
#define | UART_MR2_STOP_BIT_LEN_TWO (0x3 << 2) |
#define | UART_MR2_PARITY_MODE_NONE 0x0 |
#define | UART_MR2_PARITY_MODE_ODD 0x1 |
#define | UART_MR2_PARITY_MODE_EVEN 0x2 |
#define | UART_MR2_PARITY_MODE_SPACE 0x3 |
#define | UART_MR2_PARITY_MODE 0x3 |
#define | UART_CSR 0x0008 |
#define | UART_CSR_115200 0xFF |
#define | UART_CSR_57600 0xEE |
#define | UART_CSR_38400 0xDD |
#define | UART_CSR_28800 0xCC |
#define | UART_CSR_19200 0xBB |
#define | UART_CSR_14400 0xAA |
#define | UART_CSR_9600 0x99 |
#define | UART_CSR_4800 0x77 |
#define | UART_CSR_2400 0x55 |
#define | UART_CSR_1200 0x44 |
#define | UART_CSR_600 0x33 |
#define | UART_CSR_300 0x22 |
#define | UART_TF 0x000C |
#define | UARTDM_TF 0x0070 |
#define | UART_CR 0x0010 |
#define | UART_CR_CMD_NULL (0 << 4) |
#define | UART_CR_CMD_RESET_RX (1 << 4) |
#define | UART_CR_CMD_RESET_TX (2 << 4) |
#define | UART_CR_CMD_RESET_ERR (3 << 4) |
#define | UART_CR_CMD_RESET_BREAK_INT (4 << 4) |
#define | UART_CR_CMD_START_BREAK (5 << 4) |
#define | UART_CR_CMD_STOP_BREAK (6 << 4) |
#define | UART_CR_CMD_RESET_CTS (7 << 4) |
#define | UART_CR_CMD_RESET_STALE_INT (8 << 4) |
#define | UART_CR_CMD_PACKET_MODE (9 << 4) |
#define | UART_CR_CMD_MODE_RESET (12 << 4) |
#define | UART_CR_CMD_SET_RFR (13 << 4) |
#define | UART_CR_CMD_RESET_RFR (14 << 4) |
#define | UART_CR_CMD_PROTECTION_EN (16 << 4) |
#define | UART_CR_CMD_STALE_EVENT_ENABLE (80 << 4) |
#define | UART_CR_TX_DISABLE (1 << 3) |
#define | UART_CR_TX_ENABLE (1 << 2) |
#define | UART_CR_RX_DISABLE (1 << 1) |
#define | UART_CR_RX_ENABLE (1 << 0) |
#define | UART_IMR 0x0014 |
#define | UART_IMR_TXLEV (1 << 0) |
#define | UART_IMR_RXSTALE (1 << 3) |
#define | UART_IMR_RXLEV (1 << 4) |
#define | UART_IMR_DELTA_CTS (1 << 5) |
#define | UART_IMR_CURRENT_CTS (1 << 6) |
#define | UART_IPR_RXSTALE_LAST 0x20 |
#define | UART_IPR_STALE_LSB 0x1F |
#define | UART_IPR_STALE_TIMEOUT_MSB 0x3FF80 |
#define | UART_IPR 0x0018 |
#define | UART_TFWR 0x001C |
#define | UART_RFWR 0x0020 |
#define | UART_HCR 0x0024 |
#define | UART_MREG 0x0028 |
#define | UART_NREG 0x002C |
#define | UART_DREG 0x0030 |
#define | UART_MNDREG 0x0034 |
#define | UART_IRDA 0x0038 |
#define | UART_MISR_MODE 0x0040 |
#define | UART_MISR_RESET 0x0044 |
#define | UART_MISR_EXPORT 0x0048 |
#define | UART_MISR_VAL 0x004C |
#define | UART_TEST_CTRL 0x0050 |
#define | UART_SR 0x0008 |
#define | UART_SR_HUNT_CHAR (1 << 7) |
#define | UART_SR_RX_BREAK (1 << 6) |
#define | UART_SR_PAR_FRAME_ERR (1 << 5) |
#define | UART_SR_OVERRUN (1 << 4) |
#define | UART_SR_TX_EMPTY (1 << 3) |
#define | UART_SR_TX_READY (1 << 2) |
#define | UART_SR_RX_FULL (1 << 1) |
#define | UART_SR_RX_READY (1 << 0) |
#define | UART_RF 0x000C |
#define | UARTDM_RF 0x0070 |
#define | UART_MISR 0x0010 |
#define | UART_ISR 0x0014 |
#define | UART_ISR_TX_READY (1 << 7) |
#define | GSBI_CONTROL 0x0 |
#define | GSBI_PROTOCOL_CODE 0x30 |
#define | GSBI_PROTOCOL_UART 0x40 |
#define | GSBI_PROTOCOL_IDLE 0x0 |
#define | UARTDM_DMRX 0x34 |
#define | UARTDM_NCF_TX 0x40 |
#define | UARTDM_RX_TOTAL_SNAP 0x38 |
#define | UART_TO_MSM(uart_port) ((struct msm_port *) uart_port) |
#define | msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk |
#define GSBI_CONTROL 0x0 |
Definition at line 122 of file msm_serial.h.
#define GSBI_PROTOCOL_CODE 0x30 |
Definition at line 123 of file msm_serial.h.
#define GSBI_PROTOCOL_IDLE 0x0 |
Definition at line 125 of file msm_serial.h.
#define GSBI_PROTOCOL_UART 0x40 |
Definition at line 124 of file msm_serial.h.
#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk |
Definition at line 184 of file msm_serial.h.
#define UART_CR 0x0010 |
Definition at line 58 of file msm_serial.h.
#define UART_CR_CMD_MODE_RESET (12 << 4) |
Definition at line 69 of file msm_serial.h.
#define UART_CR_CMD_NULL (0 << 4) |
Definition at line 59 of file msm_serial.h.
#define UART_CR_CMD_PACKET_MODE (9 << 4) |
Definition at line 68 of file msm_serial.h.
#define UART_CR_CMD_PROTECTION_EN (16 << 4) |
Definition at line 72 of file msm_serial.h.
#define UART_CR_CMD_RESET_BREAK_INT (4 << 4) |
Definition at line 63 of file msm_serial.h.
#define UART_CR_CMD_RESET_CTS (7 << 4) |
Definition at line 66 of file msm_serial.h.
#define UART_CR_CMD_RESET_ERR (3 << 4) |
Definition at line 62 of file msm_serial.h.
#define UART_CR_CMD_RESET_RFR (14 << 4) |
Definition at line 71 of file msm_serial.h.
#define UART_CR_CMD_RESET_RX (1 << 4) |
Definition at line 60 of file msm_serial.h.
#define UART_CR_CMD_RESET_STALE_INT (8 << 4) |
Definition at line 67 of file msm_serial.h.
#define UART_CR_CMD_RESET_TX (2 << 4) |
Definition at line 61 of file msm_serial.h.
#define UART_CR_CMD_SET_RFR (13 << 4) |
Definition at line 70 of file msm_serial.h.
#define UART_CR_CMD_STALE_EVENT_ENABLE (80 << 4) |
Definition at line 73 of file msm_serial.h.
#define UART_CR_CMD_START_BREAK (5 << 4) |
Definition at line 64 of file msm_serial.h.
#define UART_CR_CMD_STOP_BREAK (6 << 4) |
Definition at line 65 of file msm_serial.h.
#define UART_CR_RX_DISABLE (1 << 1) |
Definition at line 76 of file msm_serial.h.
#define UART_CR_RX_ENABLE (1 << 0) |
Definition at line 77 of file msm_serial.h.
#define UART_CR_TX_DISABLE (1 << 3) |
Definition at line 74 of file msm_serial.h.
#define UART_CR_TX_ENABLE (1 << 2) |
Definition at line 75 of file msm_serial.h.
#define UART_CSR 0x0008 |
Definition at line 41 of file msm_serial.h.
#define UART_CSR_115200 0xFF |
Definition at line 42 of file msm_serial.h.
#define UART_CSR_1200 0x44 |
Definition at line 51 of file msm_serial.h.
#define UART_CSR_14400 0xAA |
Definition at line 47 of file msm_serial.h.
#define UART_CSR_19200 0xBB |
Definition at line 46 of file msm_serial.h.
#define UART_CSR_2400 0x55 |
Definition at line 50 of file msm_serial.h.
#define UART_CSR_28800 0xCC |
Definition at line 45 of file msm_serial.h.
#define UART_CSR_300 0x22 |
Definition at line 53 of file msm_serial.h.
#define UART_CSR_38400 0xDD |
Definition at line 44 of file msm_serial.h.
#define UART_CSR_4800 0x77 |
Definition at line 49 of file msm_serial.h.
#define UART_CSR_57600 0xEE |
Definition at line 43 of file msm_serial.h.
#define UART_CSR_600 0x33 |
Definition at line 52 of file msm_serial.h.
#define UART_CSR_9600 0x99 |
Definition at line 48 of file msm_serial.h.
#define UART_DREG 0x0030 |
Definition at line 97 of file msm_serial.h.
#define UART_HCR 0x0024 |
Definition at line 93 of file msm_serial.h.
#define UART_IMR 0x0014 |
Definition at line 79 of file msm_serial.h.
#define UART_IMR_CURRENT_CTS (1 << 6) |
Definition at line 84 of file msm_serial.h.
#define UART_IMR_DELTA_CTS (1 << 5) |
Definition at line 83 of file msm_serial.h.
#define UART_IMR_RXLEV (1 << 4) |
Definition at line 82 of file msm_serial.h.
#define UART_IMR_RXSTALE (1 << 3) |
Definition at line 81 of file msm_serial.h.
#define UART_IMR_TXLEV (1 << 0) |
Definition at line 80 of file msm_serial.h.
#define UART_IPR 0x0018 |
Definition at line 90 of file msm_serial.h.
#define UART_IPR_RXSTALE_LAST 0x20 |
Definition at line 86 of file msm_serial.h.
#define UART_IPR_STALE_LSB 0x1F |
Definition at line 87 of file msm_serial.h.
#define UART_IPR_STALE_TIMEOUT_MSB 0x3FF80 |
Definition at line 88 of file msm_serial.h.
#define UART_IRDA 0x0038 |
Definition at line 99 of file msm_serial.h.
#define UART_ISR 0x0014 |
Definition at line 119 of file msm_serial.h.
#define UART_ISR_TX_READY (1 << 7) |
Definition at line 120 of file msm_serial.h.
#define UART_MISR 0x0010 |
Definition at line 118 of file msm_serial.h.
#define UART_MISR_EXPORT 0x0048 |
Definition at line 102 of file msm_serial.h.
#define UART_MISR_MODE 0x0040 |
Definition at line 100 of file msm_serial.h.
#define UART_MISR_RESET 0x0044 |
Definition at line 101 of file msm_serial.h.
#define UART_MISR_VAL 0x004C |
Definition at line 103 of file msm_serial.h.
#define UART_MNDREG 0x0034 |
Definition at line 98 of file msm_serial.h.
#define UART_MR1 0x0000 |
Definition at line 19 of file msm_serial.h.
#define UART_MR1_AUTO_RFR_LEVEL0 0x3F |
Definition at line 21 of file msm_serial.h.
#define UART_MR1_AUTO_RFR_LEVEL1 0x3FF00 |
Definition at line 22 of file msm_serial.h.
#define UART_MR1_CTS_CTL (1 << 6) |
Definition at line 24 of file msm_serial.h.
#define UART_MR1_RX_RDY_CTL (1 << 7) |
Definition at line 23 of file msm_serial.h.
#define UART_MR2 0x0004 |
Definition at line 26 of file msm_serial.h.
#define UART_MR2_BITS_PER_CHAR 0x30 |
Definition at line 28 of file msm_serial.h.
#define UART_MR2_BITS_PER_CHAR_5 (0x0 << 4) |
Definition at line 29 of file msm_serial.h.
#define UART_MR2_BITS_PER_CHAR_6 (0x1 << 4) |
Definition at line 30 of file msm_serial.h.
#define UART_MR2_BITS_PER_CHAR_7 (0x2 << 4) |
Definition at line 31 of file msm_serial.h.
#define UART_MR2_BITS_PER_CHAR_8 (0x3 << 4) |
Definition at line 32 of file msm_serial.h.
#define UART_MR2_ERROR_MODE (1 << 6) |
Definition at line 27 of file msm_serial.h.
#define UART_MR2_PARITY_MODE 0x3 |
Definition at line 39 of file msm_serial.h.
#define UART_MR2_PARITY_MODE_EVEN 0x2 |
Definition at line 37 of file msm_serial.h.
#define UART_MR2_PARITY_MODE_NONE 0x0 |
Definition at line 35 of file msm_serial.h.
#define UART_MR2_PARITY_MODE_ODD 0x1 |
Definition at line 36 of file msm_serial.h.
#define UART_MR2_PARITY_MODE_SPACE 0x3 |
Definition at line 38 of file msm_serial.h.
#define UART_MR2_STOP_BIT_LEN_ONE (0x1 << 2) |
Definition at line 33 of file msm_serial.h.
#define UART_MR2_STOP_BIT_LEN_TWO (0x3 << 2) |
Definition at line 34 of file msm_serial.h.
#define UART_MREG 0x0028 |
Definition at line 95 of file msm_serial.h.
#define UART_NREG 0x002C |
Definition at line 96 of file msm_serial.h.
#define UART_RF 0x000C |
Definition at line 116 of file msm_serial.h.
#define UART_RFWR 0x0020 |
Definition at line 92 of file msm_serial.h.
#define UART_SR 0x0008 |
Definition at line 106 of file msm_serial.h.
#define UART_SR_HUNT_CHAR (1 << 7) |
Definition at line 107 of file msm_serial.h.
#define UART_SR_OVERRUN (1 << 4) |
Definition at line 110 of file msm_serial.h.
#define UART_SR_PAR_FRAME_ERR (1 << 5) |
Definition at line 109 of file msm_serial.h.
#define UART_SR_RX_BREAK (1 << 6) |
Definition at line 108 of file msm_serial.h.
#define UART_SR_RX_FULL (1 << 1) |
Definition at line 113 of file msm_serial.h.
#define UART_SR_RX_READY (1 << 0) |
Definition at line 114 of file msm_serial.h.
#define UART_SR_TX_EMPTY (1 << 3) |
Definition at line 111 of file msm_serial.h.
#define UART_SR_TX_READY (1 << 2) |
Definition at line 112 of file msm_serial.h.
#define UART_TEST_CTRL 0x0050 |
Definition at line 104 of file msm_serial.h.
#define UART_TF 0x000C |
Definition at line 55 of file msm_serial.h.
#define UART_TFWR 0x001C |
Definition at line 91 of file msm_serial.h.
Definition at line 131 of file msm_serial.h.
#define UARTDM_DMRX 0x34 |
Definition at line 127 of file msm_serial.h.
#define UARTDM_NCF_TX 0x40 |
Definition at line 128 of file msm_serial.h.
#define UARTDM_RF 0x0070 |
Definition at line 117 of file msm_serial.h.
#define UARTDM_RX_TOTAL_SNAP 0x38 |
Definition at line 129 of file msm_serial.h.
#define UARTDM_TF 0x0070 |
Definition at line 56 of file msm_serial.h.