Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mpc52xx_uart.c File Reference
#include <linux/device.h>
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial.h>
#include <linux/sysrq.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/clk.h>
#include <asm/mpc52xx.h>
#include <asm/mpc52xx_psc.h>
#include <linux/serial_core.h>

Go to the source code of this file.

Data Structures

struct  psc_ops
 

Macros

#define SERIAL_PSC_MAJOR   204
 
#define SERIAL_PSC_MINOR   148
 
#define ISR_PASS_LIMIT   256 /* Max number of iteration in the interrupt */
 
#define PSC(port)   ((struct mpc52xx_psc __iomem *)((port)->membase))
 
#define uart_console(port)   (0)
 
#define MPC52xx_PSC_CONSOLE   NULL
 

Functions

 MODULE_DEVICE_TABLE (of, mpc52xx_uart_of_match)
 
 module_init (mpc52xx_uart_init)
 
 module_exit (mpc52xx_uart_exit)
 
 MODULE_AUTHOR ("Sylvain Munaut <tnt@246tNt.com>")
 
 MODULE_DESCRIPTION ("Freescale MPC52xx PSC UART")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ISR_PASS_LIMIT   256 /* Max number of iteration in the interrupt */

Definition at line 62 of file mpc52xx_uart.c.

#define MPC52xx_PSC_CONSOLE   NULL

Definition at line 1275 of file mpc52xx_uart.c.

#define PSC (   port)    ((struct mpc52xx_psc __iomem *)((port)->membase))

Definition at line 80 of file mpc52xx_uart.c.

#define SERIAL_PSC_MAJOR   204

Definition at line 58 of file mpc52xx_uart.c.

#define SERIAL_PSC_MINOR   148

Definition at line 59 of file mpc52xx_uart.c.

#define uart_console (   port)    (0)

Definition at line 94 of file mpc52xx_uart.c.

Function Documentation

MODULE_AUTHOR ( "Sylvain Munaut <tnt@246tNt.com>"  )
MODULE_DESCRIPTION ( "Freescale MPC52xx PSC UART )
MODULE_DEVICE_TABLE ( of  ,
mpc52xx_uart_of_match   
)
module_exit ( mpc52xx_uart_exit  )
module_init ( mpc52xx_uart_init  )
MODULE_LICENSE ( "GPL"  )