Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
serial.h File Reference
#include <asm/cpu-regs.h>
#include <proc/irq.h>
#include <linux/serial_reg.h>

Go to the source code of this file.

Macros

#define SERIAL_PORT0_BASE_ADDRESS   0xA6FB0000
 
#define SERIAL_PORT1_BASE_ADDRESS   0xA6FC0000
 
#define SERIAL_IRQ   XIRQ0 /* Dual serial (PC16552) (Hi) */
 
#define BASE_BAUD   (18432000 / 16)
 
#define SERIAL_PORT_DFNS
 

Macro Definition Documentation

#define BASE_BAUD   (18432000 / 16)

Definition at line 27 of file serial.h.

#define SERIAL_IRQ   XIRQ0 /* Dual serial (PC16552) (Hi) */

Definition at line 22 of file serial.h.

#define SERIAL_PORT0_BASE_ADDRESS   0xA6FB0000

Definition at line 19 of file serial.h.

#define SERIAL_PORT1_BASE_ADDRESS   0xA6FC0000

Definition at line 20 of file serial.h.

#define SERIAL_PORT_DFNS
Value:
{ \
.baud_base = BASE_BAUD, \
.irq = SERIAL_IRQ, \
.flags = STD_COM_FLAGS, \
.iomem_base = (u8 *) SERIAL_PORT0_BASE_ADDRESS, \
.iomem_reg_shift = 2, \
}, \
{ \
.baud_base = BASE_BAUD, \
.irq = SERIAL_IRQ, \
.flags = STD_COM_FLAGS, \
.iomem_base = (u8 *) SERIAL_PORT1_BASE_ADDRESS, \
.iomem_reg_shift = 2, \
},

Definition at line 34 of file serial.h.