Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sh-sci.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sh_dma.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/sysrq.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/console.h>
#include <linux/platform_device.h>
#include <linux/serial_sci.h>
#include <linux/notifier.h>
#include <linux/pm_runtime.h>
#include <linux/cpufreq.h>
#include <linux/clk.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include "sh-sci.h"

Go to the source code of this file.

Data Structures

struct  sci_port
 
struct  plat_sci_reg
 
struct  sci_irq_desc
 

Macros

#define SCI_NPORTS   CONFIG_SERIAL_SH_SCI_NR_UARTS
 
#define sci_reg_invalid   { .offset = 0, .size = 0 }
 
#define sci_getreg(up, offset)   (sci_regmap[to_sci_port(up)->cfg->regtype] + offset)
 
#define STEPFN(c)   ({int __c = (c); (((__c-1)|(__c)) == -1); })
 
#define SCI_BREAK_JIFFIES   (HZ/20)
 
#define SCI_CONSOLE   NULL
 
#define sci_runtime_suspend   NULL
 
#define sci_runtime_resume   NULL
 

Functions

 module_init (sci_init)
 
 module_exit (sci_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:sh-sci")
 
 MODULE_AUTHOR ("Paul Mundt")
 
 MODULE_DESCRIPTION ("SuperH SCI(F) serial driver")
 

Macro Definition Documentation

#define SCI_BREAK_JIFFIES   (HZ/20)

Definition at line 690 of file sh-sci.c.

#define SCI_CONSOLE   NULL

Definition at line 2349 of file sh-sci.c.

#define sci_getreg (   up,
  offset 
)    (sci_regmap[to_sci_port(up)->cfg->regtype] + offset)

Definition at line 325 of file sh-sci.c.

#define SCI_NPORTS   CONFIG_SERIAL_SH_SCI_NR_UARTS

Definition at line 115 of file sh-sci.c.

#define sci_reg_invalid   { .offset = 0, .size = 0 }

Definition at line 131 of file sh-sci.c.

#define sci_runtime_resume   NULL

Definition at line 2351 of file sh-sci.c.

#define sci_runtime_suspend   NULL

Definition at line 2350 of file sh-sci.c.

#define STEPFN (   c)    ({int __c = (c); (((__c-1)|(__c)) == -1); })

Definition at line 600 of file sh-sci.c.

Function Documentation

MODULE_ALIAS ( "platform:sh-sci"  )
MODULE_AUTHOR ( "Paul Mundt"  )
MODULE_DESCRIPTION ( "SuperH SCI(F) serial driver )
module_exit ( sci_exit  )
module_init ( sci_init  )
MODULE_LICENSE ( "GPL"  )