Home
last modified time | relevance | path

Searched refs:portaddr (Results 1 – 2 of 2) sorted by relevance

/drivers/tty/serial/
Dsamsung.h116 #define portaddr(port, reg) ((port)->membase + (reg)) macro
120 #define rd_regb(port, reg) (readb_relaxed(portaddr(port, reg)))
121 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg)))
123 #define wr_regb(port, reg, val) writeb_relaxed(val, portaddr(port, reg))
124 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg))
Dsirfsoc_uart.h440 #define portaddr(port, reg) ((port)->membase + (reg)) macro
441 #define rd_regl(port, reg) (__raw_readl(portaddr(port, reg)))
442 #define wr_regl(port, reg, val) __raw_writel(val, portaddr(port, reg))