Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/serial_reg.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/serial_core.h>
#include <linux/irq.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/gpio.h>
#include <linux/pinctrl/consumer.h>
#include <plat/omap-serial.h>
Go to the source code of this file.
Data Structures | |
struct | uart_omap_port |
Macros | |
#define | UART_BUILD_REVISION(x, y) (((x) << 8) | (y)) |
#define | OMAP_UART_REV_42 0x0402 |
#define | OMAP_UART_REV_46 0x0406 |
#define | OMAP_UART_REV_52 0x0502 |
#define | OMAP_UART_REV_63 0x0603 |
#define | DEFAULT_CLK_SPEED 48000000 /* 48Mhz*/ |
#define | OMAP_UART_SCR_RX_TRIG_GRANU1_MASK (1 << 7) |
#define | OMAP_UART_FCR_RX_FIFO_TRIG_MASK (0x3 << 6) |
#define | OMAP_UART_FCR_TX_FIFO_TRIG_MASK (0x3 << 4) |
#define | OMAP_UART_MVR_SCHEME_SHIFT 30 |
#define | OMAP_UART_LEGACY_MVR_MAJ_MASK 0xf0 |
#define | OMAP_UART_LEGACY_MVR_MAJ_SHIFT 4 |
#define | OMAP_UART_LEGACY_MVR_MIN_MASK 0x0f |
#define | OMAP_UART_MVR_MAJ_MASK 0x700 |
#define | OMAP_UART_MVR_MAJ_SHIFT 8 |
#define | OMAP_UART_MVR_MIN_MASK 0x3f |
#define | to_uart_omap_port(p) ((container_of((p), struct uart_omap_port, port))) |
#define | BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) |
#define | OMAP_CONSOLE NULL |
Functions | |
module_init (serial_omap_init) | |
module_exit (serial_omap_exit) | |
MODULE_DESCRIPTION ("OMAP High Speed UART driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Texas Instruments Inc") | |
#define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) |
Definition at line 1013 of file omap-serial.c.
#define DEFAULT_CLK_SPEED 48000000 /* 48Mhz*/ |
Definition at line 54 of file omap-serial.c.
#define OMAP_CONSOLE NULL |
Definition at line 1184 of file omap-serial.c.
#define OMAP_UART_FCR_RX_FIFO_TRIG_MASK (0x3 << 6) |
Definition at line 60 of file omap-serial.c.
#define OMAP_UART_FCR_TX_FIFO_TRIG_MASK (0x3 << 4) |
Definition at line 61 of file omap-serial.c.
#define OMAP_UART_LEGACY_MVR_MAJ_MASK 0xf0 |
Definition at line 66 of file omap-serial.c.
#define OMAP_UART_LEGACY_MVR_MAJ_SHIFT 4 |
Definition at line 67 of file omap-serial.c.
#define OMAP_UART_LEGACY_MVR_MIN_MASK 0x0f |
Definition at line 68 of file omap-serial.c.
#define OMAP_UART_MVR_MAJ_MASK 0x700 |
Definition at line 70 of file omap-serial.c.
#define OMAP_UART_MVR_MAJ_SHIFT 8 |
Definition at line 71 of file omap-serial.c.
#define OMAP_UART_MVR_MIN_MASK 0x3f |
Definition at line 72 of file omap-serial.c.
#define OMAP_UART_MVR_SCHEME_SHIFT 30 |
Definition at line 64 of file omap-serial.c.
#define OMAP_UART_REV_42 0x0402 |
Definition at line 49 of file omap-serial.c.
#define OMAP_UART_REV_46 0x0406 |
Definition at line 50 of file omap-serial.c.
#define OMAP_UART_REV_52 0x0502 |
Definition at line 51 of file omap-serial.c.
#define OMAP_UART_REV_63 0x0603 |
Definition at line 52 of file omap-serial.c.
#define OMAP_UART_SCR_RX_TRIG_GRANU1_MASK (1 << 7) |
Definition at line 57 of file omap-serial.c.
#define to_uart_omap_port | ( | p | ) | ((container_of((p), struct uart_omap_port, port))) |
Definition at line 115 of file omap-serial.c.
Definition at line 47 of file omap-serial.c.
MODULE_AUTHOR | ( | "Texas Instruments Inc" | ) |
module_exit | ( | serial_omap_exit | ) |
module_init | ( | serial_omap_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |