|
Linux Kernel
3.7.1
|
#include <linux/platform_device.h>#include <linux/module.h>#include <linux/console.h>#include <linux/serial.h>#include <linux/serial_core.h>#include <linux/tty.h>#include <linux/tty_flip.h>#include <linux/delay.h>#include <linux/interrupt.h>#include <linux/init.h>#include <asm/io.h>#include <linux/of.h>#include <linux/of_address.h>#include <linux/of_device.h>#include <linux/of_platform.h>Go to the source code of this file.
Macros | |
| #define | ULITE_NAME "ttyUL" |
| #define | ULITE_MAJOR 204 |
| #define | ULITE_MINOR 187 |
| #define | ULITE_NR_UARTS 4 |
| #define | ULITE_RX 0x00 |
| #define | ULITE_TX 0x04 |
| #define | ULITE_STATUS 0x08 |
| #define | ULITE_CONTROL 0x0c |
| #define | ULITE_REGION 16 |
| #define | ULITE_STATUS_RXVALID 0x01 |
| #define | ULITE_STATUS_RXFULL 0x02 |
| #define | ULITE_STATUS_TXEMPTY 0x04 |
| #define | ULITE_STATUS_TXFULL 0x08 |
| #define | ULITE_STATUS_IE 0x10 |
| #define | ULITE_STATUS_OVERRUN 0x20 |
| #define | ULITE_STATUS_FRAME 0x40 |
| #define | ULITE_STATUS_PARITY 0x80 |
| #define | ULITE_CONTROL_RST_TX 0x01 |
| #define | ULITE_CONTROL_RST_RX 0x02 |
| #define | ULITE_CONTROL_IE 0x10 |
Functions | |
| MODULE_ALIAS ("platform:uartlite") | |
| int __init | ulite_init (void) |
| void __exit | ulite_exit (void) |
| module_init (ulite_init) | |
| module_exit (ulite_exit) | |
| MODULE_AUTHOR ("Peter Korsgaard <[email protected]>") | |
| MODULE_DESCRIPTION ("Xilinx uartlite serial driver") | |
| MODULE_LICENSE ("GPL") | |
| #define ULITE_CONTROL 0x0c |
Definition at line 43 of file uartlite.c.
| #define ULITE_CONTROL_IE 0x10 |
Definition at line 58 of file uartlite.c.
| #define ULITE_CONTROL_RST_RX 0x02 |
Definition at line 57 of file uartlite.c.
| #define ULITE_CONTROL_RST_TX 0x01 |
Definition at line 56 of file uartlite.c.
| #define ULITE_MAJOR 204 |
Definition at line 29 of file uartlite.c.
| #define ULITE_MINOR 187 |
Definition at line 30 of file uartlite.c.
| #define ULITE_NAME "ttyUL" |
Definition at line 28 of file uartlite.c.
| #define ULITE_NR_UARTS 4 |
Definition at line 31 of file uartlite.c.
| #define ULITE_REGION 16 |
Definition at line 45 of file uartlite.c.
| #define ULITE_RX 0x00 |
Definition at line 40 of file uartlite.c.
| #define ULITE_STATUS 0x08 |
Definition at line 42 of file uartlite.c.
| #define ULITE_STATUS_FRAME 0x40 |
Definition at line 53 of file uartlite.c.
| #define ULITE_STATUS_IE 0x10 |
Definition at line 51 of file uartlite.c.
| #define ULITE_STATUS_OVERRUN 0x20 |
Definition at line 52 of file uartlite.c.
| #define ULITE_STATUS_PARITY 0x80 |
Definition at line 54 of file uartlite.c.
| #define ULITE_STATUS_RXFULL 0x02 |
Definition at line 48 of file uartlite.c.
| #define ULITE_STATUS_RXVALID 0x01 |
Definition at line 47 of file uartlite.c.
| #define ULITE_STATUS_TXEMPTY 0x04 |
Definition at line 49 of file uartlite.c.
| #define ULITE_STATUS_TXFULL 0x08 |
Definition at line 50 of file uartlite.c.
| #define ULITE_TX 0x04 |
Definition at line 41 of file uartlite.c.
| MODULE_ALIAS | ( | "platform:uartlite" | ) |
| MODULE_AUTHOR | ( | "Peter Korsgaard <[email protected]>" | ) |
| module_exit | ( | ulite_exit | ) |
| module_init | ( | ulite_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 641 of file uartlite.c.
Definition at line 618 of file uartlite.c.
1.8.2