Home
last modified time | relevance | path

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

/linux-6.12.1/arch/alpha/kernel/
Dsmc37c93x.c135 unsigned long portaddr, in SMCEnableDevice() argument
148 outb(( portaddr & 0xFF ), dataPort); in SMCEnableDevice()
151 outb((portaddr >> 8) & 0xFF, dataPort); in SMCEnableDevice()
/linux-6.12.1/drivers/tty/serial/
Dsamsung_tty.c165 #define portaddr(port, reg) ((port)->membase + (reg)) macro
173 return readb_relaxed(portaddr(port, reg)); in rd_reg()
175 return readl_relaxed(portaddr(port, reg)); in rd_reg()
182 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg)))
188 writeb_relaxed(val, portaddr(port, reg)); in wr_reg()
191 writel_relaxed(val, portaddr(port, reg)); in wr_reg()
196 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg))
2698 writeb(val, portaddr(port, reg)); in wr_reg_barrier()
2701 writel(val, portaddr(port, reg)); in wr_reg_barrier()