Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
m32r_sio.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/console.h>
#include <linux/sysrq.h>
#include <linux/serial.h>
#include <linux/delay.h>
#include <asm/m32r.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <linux/serial_core.h>
#include "m32r_sio.h"
#include "m32r_sio_reg.h"

Go to the source code of this file.

Data Structures

struct  uart_sio_port
 
struct  irq_info
 

Macros

#define BAUD_RATE   115200
 
#define DEBUG_AUTOCONF(fmt...)   do { } while (0)
 
#define DEBUG_INTR(fmt...)   do { } while (0)
 
#define PASS_LIMIT   256
 
#define BASE_BAUD   115200
 
#define STD_COM_FLAGS   (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST)
 
#define SERIAL_PORT_DFNS
 
#define UART_NR   ARRAY_SIZE(old_serial_port)
 
#define __sio_in(x)   inl(x)
 
#define __sio_out(v, x)   outl((v),(x))
 
#define M32R_SIO_CONSOLE   NULL
 

Functions

void m32r_sio_suspend_port (int line)
 
void m32r_sio_resume_port (int line)
 
 module_init (m32r_sio_init)
 
 module_exit (m32r_sio_exit)
 
 EXPORT_SYMBOL (m32r_sio_suspend_port)
 
 EXPORT_SYMBOL (m32r_sio_resume_port)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Generic M32R SIO serial driver")
 

Macro Definition Documentation

#define __sio_in (   x)    inl(x)

Definition at line 178 of file m32r_sio.c.

#define __sio_out (   v,
  x 
)    outl((v),(x))

Definition at line 179 of file m32r_sio.c.

#define BASE_BAUD   115200

Definition at line 70 of file m32r_sio.c.

#define BAUD_RATE   115200

Definition at line 47 of file m32r_sio.c.

#define DEBUG_AUTOCONF (   fmt...)    do { } while (0)

Definition at line 59 of file m32r_sio.c.

#define DEBUG_INTR (   fmt...)    do { } while (0)

Definition at line 65 of file m32r_sio.c.

#define M32R_SIO_CONSOLE   NULL

Definition at line 1083 of file m32r_sio.c.

#define PASS_LIMIT   256

Definition at line 68 of file m32r_sio.c.

#define SERIAL_PORT_DFNS
Value:
STD_COM_FLAGS }, /* ttyS0 */

Definition at line 94 of file m32r_sio.c.

#define STD_COM_FLAGS   (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST)

Definition at line 73 of file m32r_sio.c.

#define UART_NR   ARRAY_SIZE(old_serial_port)

Definition at line 105 of file m32r_sio.c.

Function Documentation

EXPORT_SYMBOL ( m32r_sio_suspend_port  )
EXPORT_SYMBOL ( m32r_sio_resume_port  )
void m32r_sio_resume_port ( int  line)

m32r_sio_resume_port - resume one serial port serial line number

Resume one serial port.

Definition at line 1113 of file m32r_sio.c.

void m32r_sio_suspend_port ( int  line)

m32r_sio_suspend_port - suspend one serial port serial line number

Suspend one serial port.

Definition at line 1102 of file m32r_sio.c.

MODULE_DESCRIPTION ( "Generic M32R SIO serial driver )
module_exit ( m32r_sio_exit  )
module_init ( m32r_sio_init  )
MODULE_LICENSE ( "GPL"  )