#include <asm/cpu-regs.h>
#include <proc/irq.h>
#include <unit/fpga-regs.h>
#include <linux/serial_reg.h>
Go to the source code of this file.
#define BASE_BAUD (12288000 / 16) |
#define SERIAL_CHECK_INTERRUPT |
Value:do { \
if ((ASB2364_FPGA_REG_IRQ_UART & 0x0001) == 0x0001) { \
} \
} while (0)
Definition at line 126 of file serial.h.
#define SERIAL_CLEAR_INT_MASK |
Value:do { \
ASB2364_FPGA_REG_MASK_UART = 0x0000; \
SyncExBus(); \
} while (0)
Definition at line 145 of file serial.h.
#define SERIAL_CLEAR_INTERRUPT |
Value:do { \
ASB2364_FPGA_REG_IRQ_UART = 0x0001; \
SyncExBus(); \
} while (0)
Definition at line 133 of file serial.h.
#define SERIAL_INITIALIZE |
Value:do { \
\
ASB2364_FPGA_REG_RESET_UART = 0x0001; \
SyncExBus(); \
} while (0)
Definition at line 119 of file serial.h.
#define SERIAL_IRQ XIRQ1 /* single serial (TL16C550C) (Lo) */ |
#define SERIAL_PORT0_BASE_ADDRESS 0xA8200000 |
Value:{ \
.iomem_reg_shift = 1, \
},
Definition at line 39 of file serial.h.
#define SERIAL_SET_INT_MASK |
Value:do { \
ASB2364_FPGA_REG_MASK_UART = 0x0001; \
SyncExBus(); \
} while (0)
Definition at line 139 of file serial.h.