Searched refs:portaddr (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/arch/alpha/kernel/ |
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-v6.6/drivers/tty/serial/ |
D | samsung_tty.c | 166 #define portaddr(port, reg) ((port)->membase + (reg)) macro 174 return readb_relaxed(portaddr(port, reg)); in rd_reg() 176 return readl_relaxed(portaddr(port, reg)); in rd_reg() 183 #define rd_regl(port, reg) (readl_relaxed(portaddr(port, reg))) 189 writeb_relaxed(val, portaddr(port, reg)); in wr_reg() 192 writel_relaxed(val, portaddr(port, reg)); in wr_reg() 197 #define wr_regl(port, reg, val) writel_relaxed(val, portaddr(port, reg)) 2761 writeb(val, portaddr(port, reg)); in wr_reg_barrier() 2764 writel(val, portaddr(port, reg)); in wr_reg_barrier()
|