Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mn10300-serial.c File Reference
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/circ_buf.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/bitops.h>
#include <asm/serial-regs.h>
#include <unit/timex.h>
#include "mn10300-serial.h"

Go to the source code of this file.

Macros

#define kenter(FMT,...)   printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__)
 
#define _enter(FMT,...)   no_printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__)
 
#define kdebug(FMT,...)   printk(KERN_DEBUG "--- " FMT "\n", ##__VA_ARGS__)
 
#define _debug(FMT,...)   no_printk(KERN_DEBUG "--- " FMT "\n", ##__VA_ARGS__)
 
#define kproto(FMT,...)   printk(KERN_DEBUG "### MNSERIAL " FMT " ###\n", ##__VA_ARGS__)
 
#define _proto(FMT,...)   no_printk(KERN_DEBUG "### MNSERIAL " FMT " ###\n", ##__VA_ARGS__)
 
#define CODMSB   004000000000 /* change Transfer bit-order */
 
#define NR_UARTS   3
 

Functions

 __initcall (mn10300_serial_init)
 

Variables

struct mn10300_serial_portmn10300_serial_ports [NR_UARTS+1]
 
struct mn10300_serial_int mn10300_serial_int_tbl [NR_IRQS]
 

Macro Definition Documentation

#define _debug (   FMT,
  ... 
)    no_printk(KERN_DEBUG "--- " FMT "\n", ##__VA_ARGS__)

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

#define _enter (   FMT,
  ... 
)    no_printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__)

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

#define _proto (   FMT,
  ... 
)    no_printk(KERN_DEBUG "### MNSERIAL " FMT " ###\n", ##__VA_ARGS__)

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

#define CODMSB   004000000000 /* change Transfer bit-order */

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

#define kdebug (   FMT,
  ... 
)    printk(KERN_DEBUG "--- " FMT "\n", ##__VA_ARGS__)

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

#define kenter (   FMT,
  ... 
)    printk(KERN_DEBUG "-->%s(" FMT ")\n", __func__, ##__VA_ARGS__)

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

#define kproto (   FMT,
  ... 
)    printk(KERN_DEBUG "### MNSERIAL " FMT " ###\n", ##__VA_ARGS__)

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

#define NR_UARTS   3

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

Function Documentation

__initcall ( mn10300_serial_init  )

Variable Documentation

struct mn10300_serial_int mn10300_serial_int_tbl[NR_IRQS]

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

struct mn10300_serial_port* mn10300_serial_ports[NR_UARTS+1]
Initial value:
= {
}

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