Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cpm_uart_core.c File Reference
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/serial.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/device.h>
#include <linux/bootmem.h>
#include <linux/dma-mapping.h>
#include <linux/fs_uart_pd.h>
#include <linux/of_platform.h>
#include <linux/gpio.h>
#include <linux/of_gpio.h>
#include <linux/clk.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/delay.h>
#include <asm/fs_pd.h>
#include <asm/udbg.h>
#include <linux/serial_core.h>
#include <linux/kernel.h>
#include "cpm_uart.h"

Go to the source code of this file.

Macros

#define HW_BUF_SPD_THRESHOLD   2400
 
#define RELEVANT_IFLAG(iflag)   (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
 
#define CPM_UART_CONSOLE   NULL
 

Functions

void cpm_uart_wait_until_send (struct uart_cpm_port *pinfo)
 
 module_init (cpm_uart_init)
 
 module_exit (cpm_uart_exit)
 
 MODULE_AUTHOR ("Kumar Gala/Antoniou Pantelis")
 
 MODULE_DESCRIPTION ("CPM SCC/SMC port driver $Revision: 0.01 $")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_CHARDEV (SERIAL_CPM_MAJOR, SERIAL_CPM_MINOR)
 

Variables

struct uart_cpm_port cpm_uart_ports [UART_NR]
 

Macro Definition Documentation

#define CPM_UART_CONSOLE   NULL

Definition at line 1361 of file cpm_uart_core.c.

#define HW_BUF_SPD_THRESHOLD   2400

Definition at line 74 of file cpm_uart_core.c.

#define RELEVANT_IFLAG (   iflag)    (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))

Function Documentation

void cpm_uart_wait_until_send ( struct uart_cpm_port pinfo)
inline

Definition at line 440 of file cpm_uart_core.c.

MODULE_ALIAS_CHARDEV ( SERIAL_CPM_MAJOR  ,
SERIAL_CPM_MINOR   
)
MODULE_AUTHOR ( "Kumar Gala/Antoniou Pantelis"  )
MODULE_DESCRIPTION ( "CPM SCC/SMC port driver $Revision: 0.01 $"  )
module_exit ( cpm_uart_exit  )
module_init ( cpm_uart_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct uart_cpm_port cpm_uart_ports[UART_NR]

Definition at line 1139 of file cpm_uart_core.c.