Home
last modified time | relevance | path

Searched refs:readw_relaxed (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-zx.c60 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_input()
79 gpiodir = readw_relaxed(chip->base + ZX_GPIO_DIR); in zx_direction_output()
96 return !!(readw_relaxed(chip->base + ZX_GPIO_DI) & BIT(offset)); in zx_get_value()
123 gpioiev = readw_relaxed(chip->base + ZX_GPIO_IV); in zx_irq_type()
124 gpiois = readw_relaxed(chip->base + ZX_GPIO_IVE); in zx_irq_type()
125 gpioi_epos = readw_relaxed(chip->base + ZX_GPIO_IEP); in zx_irq_type()
126 gpioi_eneg = readw_relaxed(chip->base + ZX_GPIO_IEN); in zx_irq_type()
169 pending = readw_relaxed(chip->base + ZX_GPIO_MIS); in zx_irq_handler()
188 gpioie = readw_relaxed(chip->base + ZX_GPIO_IM) | mask; in zx_irq_mask()
190 gpioie = readw_relaxed(chip->base + ZX_GPIO_IE) & ~mask; in zx_irq_mask()
[all …]
Dgpio-omap.c1115 rev = readw_relaxed(bank->base + bank->regs->revision); in omap_gpio_show_rev()
/linux-4.19.296/drivers/irqchip/
Dirq-clps711x.c81 irqstat = readw_relaxed(clps711x_intc->intmr[0]) & in clps711x_irqh()
82 readw_relaxed(clps711x_intc->intsr[0]); in clps711x_irqh()
87 irqstat = readw_relaxed(clps711x_intc->intmr[1]) & in clps711x_irqh()
88 readw_relaxed(clps711x_intc->intsr[1]); in clps711x_irqh()
Dirq-vf610-mscm-ir.c59 data->saved_irsprc[i] = readw_relaxed(data->mscm_ir_base + MSCM_IRSPRC(i)); in vf610_mscm_ir_save()
96 irsprc = readw_relaxed(chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_enable()
/linux-4.19.296/include/linux/
Diopoll.h133 readx_poll_timeout(readw_relaxed, addr, val, cond, delay_us, timeout_us)
136 readx_poll_timeout_atomic(readw_relaxed, addr, val, cond, delay_us, timeout_us)
/linux-4.19.296/drivers/i2c/busses/
Di2c-designware-common.c61 value = readw_relaxed(dev->base + offset) | in dw_readl()
62 (readw_relaxed(dev->base + offset + 2) << 16); in dw_readl()
Di2c-omap.c281 return readw_relaxed(omap->base + in omap_i2c_read_reg()
1380 rev = readw_relaxed(omap->base + 0x04); in omap_i2c_probe()
Di2c-davinci.c161 return readw_relaxed(i2c_dev->base + reg); in davinci_i2c_read_reg()
/linux-4.19.296/include/asm-generic/
Dio.h262 #ifndef readw_relaxed
263 #define readw_relaxed readw_relaxed macro
264 static inline u16 readw_relaxed(const volatile void __iomem *addr) in readw_relaxed() function
/linux-4.19.296/drivers/clk/ti/
Dadpll.c458 rate = (u64)readw_relaxed(d->regs + ADPLL_MN2DIV_OFFSET) << 18; in ti_adpll_recalc_rate()
461 divider = (readw_relaxed(d->regs + ADPLL_M2NDIV_OFFSET) + 1) << 18; in ti_adpll_recalc_rate()
/linux-4.19.296/drivers/bus/
Dti-sysc.c107 val = readw_relaxed(ddata->module_va + offset); in sysc_read()
108 val |= (readw_relaxed(ddata->module_va + offset + 4) << 16); in sysc_read()
/linux-4.19.296/drivers/pci/controller/
Dpci-mvebu.c296 *val = readw_relaxed(conf_data + (where & 2)); in mvebu_pcie_hw_rd_conf()
/linux-4.19.296/drivers/iio/adc/
Dstm32-adc.c461 return readw_relaxed(adc->common->base + adc->offset + reg); in stm32_adc_readw()