Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/gfp.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/platform_device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/kgdb.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <asm/portmux.h>
#include <asm/cacheflush.h>
#include <asm/dma.h>
#include <asm/bfin_serial.h>
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "bfin-uart" |
#define | pr_fmt(fmt) DRIVER_NAME ": " fmt |
#define | BFIN_SERIAL_DEV_NAME "ttyBF" |
#define | BFIN_SERIAL_MAJOR 204 |
#define | BFIN_SERIAL_MINOR 64 |
#define | DMA_RX_XCOUNT 512 |
#define | DMA_RX_YCOUNT (PAGE_SIZE / DMA_RX_XCOUNT) |
#define | DMA_RX_FLUSH_JIFFIES (HZ / 50) |
#define | UART_GET_ANOMALY_THRESHOLD(uart) 0 |
#define | UART_SET_ANOMALY_THRESHOLD(uart, v) |
#define | BFIN_SERIAL_CONSOLE NULL |
Functions | |
module_init (bfin_serial_init) | |
module_exit (bfin_serial_exit) | |
MODULE_AUTHOR ("Sonic Zhang, Aubrey Li") | |
MODULE_DESCRIPTION ("Blackfin generic serial port driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_CHARDEV_MAJOR (BFIN_SERIAL_MAJOR) | |
MODULE_ALIAS ("platform:bfin-uart") | |
#define BFIN_SERIAL_CONSOLE NULL |
Definition at line 1172 of file bfin_uart.c.
#define BFIN_SERIAL_DEV_NAME "ttyBF" |
Definition at line 49 of file bfin_uart.c.
#define BFIN_SERIAL_MAJOR 204 |
Definition at line 50 of file bfin_uart.c.
#define BFIN_SERIAL_MINOR 64 |
Definition at line 51 of file bfin_uart.c.
#define DMA_RX_FLUSH_JIFFIES (HZ / 50) |
Definition at line 71 of file bfin_uart.c.
#define DMA_RX_XCOUNT 512 |
Definition at line 68 of file bfin_uart.c.
#define DMA_RX_YCOUNT (PAGE_SIZE / DMA_RX_XCOUNT) |
Definition at line 69 of file bfin_uart.c.
#define DRIVER_NAME "bfin-uart" |
Definition at line 15 of file bfin_uart.c.
#define pr_fmt | ( | fmt | ) | DRIVER_NAME ": " fmt |
Definition at line 16 of file bfin_uart.c.
#define UART_GET_ANOMALY_THRESHOLD | ( | uart | ) | 0 |
Definition at line 219 of file bfin_uart.c.
Definition at line 220 of file bfin_uart.c.
MODULE_ALIAS | ( | "platform:bfin-uart" | ) |
MODULE_ALIAS_CHARDEV_MAJOR | ( | BFIN_SERIAL_MAJOR | ) |
MODULE_AUTHOR | ( | "Sonic | Zhang, |
Aubrey Li" | |||
) |
module_exit | ( | bfin_serial_exit | ) |
module_init | ( | bfin_serial_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |