Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mn10300-serial.h File Reference
#include <linux/serial_core.h>
#include <linux/termios.h>
#include <asm/page.h>
#include <asm/serial-regs.h>

Go to the source code of this file.

Data Structures

struct  mn10300_serial_port
 
struct  mn10300_serial_int
 

Macros

#define NR_PORTS   3 /* should be set 3 or 9 or 16 */
 
#define MNSC_BUFFER_SIZE   +(PAGE_SIZE / 2)
 
#define MNSCx_RX_AVAIL   0x01
 
#define MNSCx_RX_OVERF   0x02
 
#define MNSCx_TX_SPACE   0x04
 
#define MNSCx_TX_EMPTY   0x08
 
#define MNSCx_CLOCK_SRC_IOCLK   0
 
#define MNSCx_CLOCK_SRC_IOBCLK   1
 
#define MNSCx_DIV_TIMER_16BIT   0
 
#define MNSCx_DIV_TIMER_8BIT   1
 
#define MNSCx_OPT_CTS   0x0001
 

Functions

asmlinkage void mn10300_serial_vdma_interrupt (void)
 
asmlinkage void mn10300_serial_vdma_rx_handler (void)
 
asmlinkage void mn10300_serial_vdma_tx_handler (void)
 

Variables

struct mn10300_serial_portmn10300_serial_ports []
 
struct mn10300_serial_int mn10300_serial_int_tbl []
 

Macro Definition Documentation

#define MNSC_BUFFER_SIZE   +(PAGE_SIZE / 2)

Definition at line 24 of file mn10300-serial.h.

#define MNSCx_CLOCK_SRC_IOBCLK   1

Definition at line 73 of file mn10300-serial.h.

#define MNSCx_CLOCK_SRC_IOCLK   0

Definition at line 72 of file mn10300-serial.h.

#define MNSCx_DIV_TIMER_16BIT   0

Definition at line 76 of file mn10300-serial.h.

#define MNSCx_DIV_TIMER_8BIT   1

Definition at line 77 of file mn10300-serial.h.

#define MNSCx_OPT_CTS   0x0001

Definition at line 80 of file mn10300-serial.h.

#define MNSCx_RX_AVAIL   0x01

Definition at line 27 of file mn10300-serial.h.

#define MNSCx_RX_OVERF   0x02

Definition at line 28 of file mn10300-serial.h.

#define MNSCx_TX_EMPTY   0x08

Definition at line 30 of file mn10300-serial.h.

#define MNSCx_TX_SPACE   0x04

Definition at line 29 of file mn10300-serial.h.

#define NR_PORTS   3 /* should be set 3 or 9 or 16 */

Definition at line 22 of file mn10300-serial.h.

Function Documentation

asmlinkage void mn10300_serial_vdma_interrupt ( void  )
asmlinkage void mn10300_serial_vdma_rx_handler ( void  )
asmlinkage void mn10300_serial_vdma_tx_handler ( void  )

Variable Documentation

struct mn10300_serial_int mn10300_serial_int_tbl[]

Definition at line 415 of file mn10300-serial.c.

struct mn10300_serial_port* mn10300_serial_ports[]

Definition at line 357 of file mn10300-serial.c.