Searched refs:portaddr (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | smc37c93x.c | 133 unsigned long portaddr, in SMCEnableDevice() argument 146 outb(( portaddr & 0xFF ), dataPort); in SMCEnableDevice() 149 outb((portaddr >> 8) & 0xFF, dataPort); in SMCEnableDevice()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | samsung_tty.c | 165 #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)) 2750 writeb(val, portaddr(port, reg)); in wr_reg_barrier() 2753 writel(val, portaddr(port, reg)); in wr_reg_barrier()
|
Completed in 8 milliseconds