Go to the source code of this file.
|
#define | s3c24xx_dev_to_port(__dev) (struct uart_port *)dev_get_drvdata(__dev) |
|
#define | portaddr(port, reg) ((port)->membase + (reg)) |
|
#define | portaddrl(port, reg) ((unsigned long *)((port)->membase + (reg))) |
|
#define | rd_regb(port, reg) (__raw_readb(portaddr(port, reg))) |
|
#define | rd_regl(port, reg) (__raw_readl(portaddr(port, reg))) |
|
#define | wr_regb(port, reg, val) __raw_writeb(val, portaddr(port, reg)) |
|
#define | wr_regl(port, reg, val) __raw_writel(val, portaddr(port, reg)) |
|
#define | dbg(x...) do { } while (0) |
|
#define dbg |
( |
|
x... | ) |
do { } while (0) |