Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | MANTIS_UART_CTL 0xe0 |
#define | MANTIS_UART_RXINT (1 << 4) |
#define | MANTIS_UART_RXFLUSH (1 << 2) |
#define | MANTIS_UART_RXD 0xe8 |
#define | MANTIS_UART_BAUD 0xec |
#define | MANTIS_UART_STAT 0xf0 |
#define | MANTIS_UART_RXFIFO_DATA (1 << 7) |
#define | MANTIS_UART_RXFIFO_EMPTY (1 << 6) |
#define | MANTIS_UART_RXFIFO_FULL (1 << 3) |
#define | MANTIS_UART_FRAME_ERR (1 << 2) |
#define | MANTIS_UART_PARITY_ERR (1 << 1) |
#define | MANTIS_UART_RXTHRESH_INT (1 << 0) |
Enumerations | |
enum | mantis_baud { MANTIS_BAUD_9600 = 0, MANTIS_BAUD_19200, MANTIS_BAUD_38400, MANTIS_BAUD_57600, MANTIS_BAUD_115200 } |
enum | mantis_parity { MANTIS_PARITY_NONE = 0, MANTIS_PARITY_EVEN, MANTIS_PARITY_ODD } |
Functions | |
int | mantis_uart_init (struct mantis_pci *mantis) |
void | mantis_uart_exit (struct mantis_pci *mantis) |
#define MANTIS_UART_BAUD 0xec |
Definition at line 29 of file mantis_uart.h.
#define MANTIS_UART_CTL 0xe0 |
Definition at line 24 of file mantis_uart.h.
#define MANTIS_UART_FRAME_ERR (1 << 2) |
Definition at line 35 of file mantis_uart.h.
#define MANTIS_UART_PARITY_ERR (1 << 1) |
Definition at line 36 of file mantis_uart.h.
#define MANTIS_UART_RXD 0xe8 |
Definition at line 28 of file mantis_uart.h.
#define MANTIS_UART_RXFIFO_DATA (1 << 7) |
Definition at line 32 of file mantis_uart.h.
#define MANTIS_UART_RXFIFO_EMPTY (1 << 6) |
Definition at line 33 of file mantis_uart.h.
#define MANTIS_UART_RXFIFO_FULL (1 << 3) |
Definition at line 34 of file mantis_uart.h.
#define MANTIS_UART_RXFLUSH (1 << 2) |
Definition at line 26 of file mantis_uart.h.
#define MANTIS_UART_RXINT (1 << 4) |
Definition at line 25 of file mantis_uart.h.
#define MANTIS_UART_RXTHRESH_INT (1 << 0) |
Definition at line 37 of file mantis_uart.h.
#define MANTIS_UART_STAT 0xf0 |
Definition at line 31 of file mantis_uart.h.
enum mantis_baud |
MANTIS_BAUD_9600 | |
MANTIS_BAUD_19200 | |
MANTIS_BAUD_38400 | |
MANTIS_BAUD_57600 | |
MANTIS_BAUD_115200 |
Definition at line 39 of file mantis_uart.h.
enum mantis_parity |
Definition at line 47 of file mantis_uart.h.
void mantis_uart_exit | ( | struct mantis_pci * | mantis | ) |
Definition at line 182 of file mantis_uart.c.
int mantis_uart_init | ( | struct mantis_pci * | mantis | ) |
Definition at line 143 of file mantis_uart.c.