Home
last modified time | relevance | path

Searched refs:readb_relaxed (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/pwm/
H A Dpwm-microchip-core.c84 channel_enable = readb_relaxed(mchp_core_pwm->base + reg_offset); in mchp_core_pwm_enable()
316 hw_prescale = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PRESCALE); in mchp_core_pwm_apply_locked()
317 hw_period_steps = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PERIOD); in mchp_core_pwm_apply_locked()
408 prescale = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PRESCALE); in mchp_core_pwm_get_state()
409 period_steps = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PERIOD); in mchp_core_pwm_get_state()
415 posedge = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_POSEDGE(pwm->hwpwm)); in mchp_core_pwm_get_state()
416 negedge = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_NEGEDGE(pwm->hwpwm)); in mchp_core_pwm_get_state()
476 mchp_core_pwm->channel_enabled = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_EN(0)); in mchp_core_pwm_probe()
478 readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_EN(1)) << 8; in mchp_core_pwm_probe()
/linux/drivers/tty/serial/
H A Ddigicolor-usart.c85 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()
/linux/drivers/pinctrl/
H A Dpinctrl-digicolor.c135 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()
/linux/arch/arm/kernel/
H A Dsmp_scu.c83 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/drivers/watchdog/
H A Drenesas_wdt.c93 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 Dgxp-wdt.c52 val = readb_relaxed(drvdata->base + GXP_WDT_CTRL_OFS); in gxp_wdt_stop()
/linux/drivers/gpio/
H A Dgpio-msc313.c492 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set()
506 return readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]) & MSC313_GPIO_IN; in msc313_gpio_get()
512 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input()
523 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output()
701 gpio->saved[i] = readb_relaxed(gpio->base + gpio->gpio_data->offsets[i]) & MSC313_GPIO_BITSTOSAVE; in msc313_gpio_suspend()
/linux/arch/arm/mach-sa1100/
H A Dneponset.c157 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/arch/alpha/include/asm/
H A Dio.h548 extern u8 readb_relaxed(const volatile void __iomem *addr);
552 #define readb_relaxed readb_relaxed macro
558 extern inline u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
/linux/drivers/i2c/busses/
H A Di2c-digicolor.c120 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()
/linux/drivers/phy/st/
H A Dphy-miphy28lp.c558 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_sata_tune_ssc()
562 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_sata_tune_ssc()
596 val = readb_relaxed(base + MIPHY_BOUNDARY_2); in miphy_pcie_tune_ssc()
600 val = readb_relaxed(base + MIPHY_BOUNDARY_SEL); in miphy_pcie_tune_ssc()
662 val = readb_relaxed(miphy_phy->base + MIPHY_CONTROL); in miphy28lp_configure_sata()
/linux/arch/sh/include/asm/
H A Dio.h39 #define readb_relaxed(c) ({ u8 __v = ioswabb(__raw_readb(c)); __v; }) macro
49 #define readb(a) ({ u8 r_ = readb_relaxed(a); rmb(); r_; })
/linux/arch/arm/include/asm/
H A Dio.h274 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) macro
284 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
/linux/arch/alpha/kernel/
H A Dio.c245 u8 readb_relaxed(const volatile void __iomem *addr) in readb_relaxed() function
269 EXPORT_SYMBOL(readb_relaxed);
/linux/arch/riscv/include/asm/
H A Dmmio.h115 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; }) macro
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-ahb-audio.c276 stat = readb_relaxed(dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); in snd_dw_hdmi_irq()
555 revision = readb_relaxed(data->base + HDMI_REVISION_ID); in snd_dw_hdmi_probe()
/linux/drivers/nvmem/
H A Dstm32-romem.c51 *buf8++ = readb_relaxed(priv->base + i); in stm32_romem_read()
/linux/arch/sparc/include/asm/
H A Dio_64.h106 #define readb_relaxed readb macro
/linux/drivers/base/regmap/
H A Dregmap-mmio.c242 return readb_relaxed(ctx->regs + reg); in regmap_mmio_read8_relaxed()
/linux/arch/m68k/include/asm/
H A Dio_mm.h392 #define readb_relaxed(addr) readb(addr) macro
/linux/Documentation/driver-api/
H A Ddevice-io.rst59 readb_relaxed(), readw_relaxed(), readl_relaxed(), readq_relaxed(),
111 performed by the device. The driver can use readb_relaxed() for
179 readq_relaxed(), readl_relaxed(), readw_relaxed(), readb_relaxed(),
/linux/drivers/acpi/
H A Dcppc_acpi.c1048 *val = readb_relaxed(vaddr); in cpc_read()
1129 prev_val = readb_relaxed(vaddr); in cpc_write()
/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c752 ptr[i] = readb_relaxed(pmecc->regs.base + in atmel_pmecc_get_generated_eccbytes()
/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c1207 *(u8 *)buf = readb_relaxed(io_addr_r); in stm32_fmc2_nfc_read_data()
1235 *(u8 *)buf = readb_relaxed(io_addr_r); in stm32_fmc2_nfc_read_data()
H A Dfsmc_nand.c596 buf[i] = readb_relaxed(host->data_va); in fsmc_read_buf()

12