/openbmc/linux/drivers/pwm/ |
H A D | pwm-microchip-core.c | 85 channel_enable = readb_relaxed(mchp_core_pwm->base + reg_offset); in mchp_core_pwm_enable() 317 hw_prescale = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PRESCALE); in mchp_core_pwm_apply_locked() 318 hw_period_steps = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PERIOD); in mchp_core_pwm_apply_locked() 409 prescale = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PRESCALE); in mchp_core_pwm_get_state() 410 period_steps = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PERIOD); in mchp_core_pwm_get_state() 416 posedge = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_POSEDGE(pwm->hwpwm)); in mchp_core_pwm_get_state() 417 negedge = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_NEGEDGE(pwm->hwpwm)); in mchp_core_pwm_get_state() 478 mchp_core_pwm->channel_enabled = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_EN(0)); in mchp_core_pwm_probe() 480 readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_EN(1)) << 8; in mchp_core_pwm_probe()
|
/openbmc/linux/drivers/tty/serial/ |
H A 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() 144 ch = readb_relaxed(port->membase + UA_EMI_REC); in digicolor_uart_rx() 145 status = readb_relaxed(port->membase + UA_STATUS); in digicolor_uart_rx() 220 u8 int_status = readb_relaxed(port->membase + UA_INT_STATUS); in digicolor_uart_int() 235 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()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-digicolor.c | 135 reg = readb_relaxed(pmap->regs + reg_off); in dc_set_mux() 153 reg = readb_relaxed(pmap->regs + reg_off); in dc_pmx_request_gpio() 177 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_input() 199 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_output() 214 input = readb_relaxed(pmap->regs + reg_off); in dc_gpio_get() 228 output = readb_relaxed(pmap->regs + reg_off); in dc_gpio_set()
|
/openbmc/linux/arch/arm/kernel/ |
H A 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()
|
/openbmc/linux/drivers/watchdog/ |
H A D | renesas_wdt.c | 93 val = readb_relaxed(priv->base + RWTCSRA) & ~RWTCSRA_TME; in rwdt_start() 102 while (readb_relaxed(priv->base + RWTCSRA) & RWTCSRA_WRFLG) in rwdt_start() 140 val = readb_relaxed(priv->base + RWTCSRA) & ~RWTCSRA_TME; in rwdt_restart() 238 csra = readb_relaxed(priv->base + RWTCSRA); in rwdt_probe()
|
H A D | gxp-wdt.c | 52 val = readb_relaxed(drvdata->base + GXP_WDT_CTRL_OFS); in gxp_wdt_stop()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-msc313.c | 491 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() 505 return readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]) & MSC313_GPIO_IN; in msc313_gpio_get() 511 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() 522 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() 700 gpio->saved[i] = readb_relaxed(gpio->base + gpio->gpio_data->offsets[i]) & MSC313_GPIO_BITSTOSAVE; in msc313_gpio_suspend()
|
/openbmc/linux/include/linux/ |
H A D | iopoll.h | 182 readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us) 185 readx_poll_timeout_atomic(readb_relaxed, addr, val, cond, delay_us, timeout_us)
|
/openbmc/linux/arch/arm/mach-sa1100/ |
H A 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()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | io.h | 554 extern u8 readb_relaxed(const volatile void __iomem *addr); 558 #define readb_relaxed readb_relaxed macro 564 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | io.h | 20 #define readb_relaxed(addr) readb(addr) macro
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | io.h | 199 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) 222 #define readb_relaxed(c) __raw_readb(c) macro
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | io.h | 20 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; })
|
/openbmc/u-boot/include/linux/ |
H A D | iopoll.h | 56 readx_poll_timeout(readb_relaxed, addr, val, cond, timeout_us)
|
/openbmc/u-boot/arch/arc/include/asm/ |
H A D | io.h | 198 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) 215 #define readb_relaxed(c) __raw_readb(c) macro
|
/openbmc/linux/drivers/i2c/busses/ |
H A 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()
|
H A D | i2c-at91-slave.c | 50 value = readb_relaxed(dev->base + AT91_TWI_RHR); in atmel_twi_interrupt_slave()
|
/openbmc/linux/drivers/phy/st/ |
H A D | phy-miphy28lp.c | 563 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_sata_tune_ssc() 567 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_sata_tune_ssc() 601 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_pcie_tune_ssc() 605 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_pcie_tune_ssc() 667 val = readb_relaxed(miphy_phy->base + MIPHY_CONTROL); in miphy28lp_configure_sata()
|
/openbmc/linux/include/asm-generic/ |
H A D | io.h | 302 #ifndef readb_relaxed 303 #define readb_relaxed readb_relaxed macro 304 static inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
|
/openbmc/linux/arch/sh/include/asm/ |
H A 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_; })
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | io.h | 274 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) macro 284 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-gxp.c | 62 if (!(readb_relaxed(timer->control) & MASK_TCS_TC)) in gxp_timer_interrupt()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | io.c | 245 u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function 269 EXPORT_SYMBOL(readb_relaxed);
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | mmio.h | 114 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; }) macro
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-ahb-audio.c | 275 stat = readb_relaxed(dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); in snd_dw_hdmi_irq() 533 revision = readb_relaxed(data->base + HDMI_REVISION_ID); in snd_dw_hdmi_probe()
|