Home
last modified time | relevance | path

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

/linux-5.19.10/arch/alpha/kernel/
Dsmc37c93x.c133 unsigned long portaddr, in SMCEnableDevice() argument
146 outb(( portaddr & 0xFF ), dataPort); in SMCEnableDevice()
149 outb((portaddr >> 8) & 0xFF, dataPort); in SMCEnableDevice()
/linux-5.19.10/drivers/tty/serial/
Dsamsung_tty.c163 #define portaddr(port, reg) ((port)->membase + (reg)) macro
171 return readb_relaxed(portaddr(port, reg)); in rd_reg()
173 return readl_relaxed(portaddr(port, reg)); in rd_reg()
180 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg)))
186 writeb_relaxed(val, portaddr(port, reg)); in wr_reg()
189 writel_relaxed(val, portaddr(port, reg)); in wr_reg()
194 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg))
2977 writeb(val, portaddr(port, reg)); in wr_reg_barrier()
2980 writel(val, portaddr(port, reg)); in wr_reg_barrier()