/Linux-v5.10/drivers/tty/serial/ |
D | digicolor-usart.c | 85 return !!(readb_relaxed(port->membase + UA_STATUS_FIFO) & in digicolor_uart_tx_full() 91 return !!(readb_relaxed(port->membase + UA_STATUS_FIFO) & in digicolor_uart_rx_empty() 97 u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); in digicolor_uart_stop_tx() 105 u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); in digicolor_uart_start_tx() 113 u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); in digicolor_uart_stop_rx() 145 ch = readb_relaxed(port->membase + UA_EMI_REC); in digicolor_uart_rx() 146 status = readb_relaxed(port->membase + UA_STATUS); in digicolor_uart_rx() 222 u8 int_status = readb_relaxed(port->membase + UA_INT_STATUS); in digicolor_uart_int() 237 u8 status = readb_relaxed(port->membase + UA_STATUS); in digicolor_uart_tx_empty() 412 status = readb_relaxed(port->membase + UA_STATUS); in digicolor_uart_console_write()
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-digicolor.c | 134 reg = readb_relaxed(pmap->regs + reg_off); in dc_set_mux() 152 reg = readb_relaxed(pmap->regs + reg_off); in dc_pmx_request_gpio() 176 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_input() 198 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_output() 213 input = readb_relaxed(pmap->regs + reg_off); in dc_gpio_get() 227 output = readb_relaxed(pmap->regs + reg_off); in dc_gpio_set()
|
/Linux-v5.10/arch/arm/kernel/ |
D | smp_scu.c | 83 val = readb_relaxed(scu_base + SCU_CPU_STATUS + cpu); in scu_set_power_mode_internal() 120 val = readb_relaxed(scu_base + SCU_CPU_STATUS + cpu); in scu_get_cpu_power_mode()
|
/Linux-v5.10/arch/nds32/include/asm/ |
D | io.h | 63 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; }) macro 74 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
|
/Linux-v5.10/drivers/watchdog/ |
D | renesas_wdt.c | 91 val = readb_relaxed(priv->base + RWTCSRA) & ~RWTCSRA_TME; in rwdt_start() 100 while (readb_relaxed(priv->base + RWTCSRA) & RWTCSRA_WRFLG) in rwdt_start() 217 csra = readb_relaxed(priv->base + RWTCSRA); in rwdt_probe()
|
/Linux-v5.10/include/linux/ |
D | iopoll.h | 168 readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us) 171 readx_poll_timeout_atomic(readb_relaxed, addr, val, cond, delay_us, timeout_us)
|
/Linux-v5.10/arch/nios2/include/asm/ |
D | io.h | 20 #define readb_relaxed(addr) readb(addr) macro
|
/Linux-v5.10/arch/arm/mach-sa1100/ |
D | neponset.c | 157 irr = readb_relaxed(d->base + IRR); in neponset_irq_handler() 291 if (readb_relaxed(d->base + WHOAMI) != 0x11) { in neponset_probe() 293 readb_relaxed(d->base + WHOAMI)); in neponset_probe()
|
/Linux-v5.10/drivers/phy/st/ |
D | phy-miphy28lp.c | 492 val = readb_relaxed(miphy_phy->base + MIPHY_COMP_FSM_6); in miphy28lp_wait_compensation() 570 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_sata_tune_ssc() 574 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_sata_tune_ssc() 608 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_pcie_tune_ssc() 612 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_pcie_tune_ssc() 674 val = readb_relaxed(miphy_phy->base + MIPHY_CONTROL); in miphy28lp_configure_sata() 820 val = readb_relaxed(miphy_phy->base + MIPHY_STATUS_1); in miphy_is_ready()
|
/Linux-v5.10/arch/csky/include/asm/ |
D | io.h | 22 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; })
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | io.h | 120 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) macro 135 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(__v); __v; })
|
/Linux-v5.10/arch/arc/include/asm/ |
D | io.h | 200 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) 223 #define readb_relaxed(c) __raw_readb(c) macro
|
/Linux-v5.10/include/asm-generic/ |
D | io.h | 247 #ifndef readb_relaxed 248 #define readb_relaxed readb_relaxed macro 249 static inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-digicolor.c | 120 return readb_relaxed(i2c->regs + II_DATA); in dc_i2c_read_byte() 138 u8 cmd = readb_relaxed(i2c->regs + II_COMMAND); in dc_i2c_cmd_status()
|
D | i2c-at91-slave.c | 50 value = readb_relaxed(dev->base + AT91_TWI_RHR); in atmel_twi_interrupt_slave()
|
/Linux-v5.10/arch/sh/include/asm/ |
D | io.h | 39 #define readb_relaxed(c) ({ u8 __v = ioswabb(__raw_readb(c)); __v; }) macro 49 #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; })
|
/Linux-v5.10/arch/arm/mach-ebsa110/include/mach/ |
D | io.h | 54 #define readb_relaxed(addr) readb(addr) macro
|
/Linux-v5.10/arch/arm/include/asm/ |
D | io.h | 291 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) macro 301 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
|
/Linux-v5.10/arch/alpha/kernel/ |
D | io.c | 228 u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function 252 EXPORT_SYMBOL(readb_relaxed);
|
/Linux-v5.10/arch/alpha/include/asm/ |
D | io.h | 504 extern u8 readb_relaxed(const volatile void __iomem *addr); 510 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
|
/Linux-v5.10/drivers/nvmem/ |
D | stm32-romem.c | 45 *buf8++ = readb_relaxed(priv->base + i); in stm32_romem_read()
|
/Linux-v5.10/arch/hexagon/include/asm/ |
D | io.h | 166 #define readb_relaxed __raw_readb macro
|
/Linux-v5.10/arch/riscv/include/asm/ |
D | mmio.h | 114 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; }) macro
|
/Linux-v5.10/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-ahb-audio.c | 275 stat = readb_relaxed(dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); in snd_dw_hdmi_irq() 529 revision = readb_relaxed(data->base + HDMI_REVISION_ID); in snd_dw_hdmi_probe()
|
/Linux-v5.10/Documentation/driver-api/ |
D | device-io.rst | 59 readb_relaxed(), readw_relaxed(), readl_relaxed(), readq_relaxed(), 111 performed by the device. The driver can use readb_relaxed() for
|