Home
last modified time | relevance | path

Searched refs:writew_relaxed (Results 1 – 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-zx.c59 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_input()
78 writew_relaxed(gpiodir, chip->base + ZX_GPIO_DIR); in zx_direction_output()
81 writew_relaxed(BIT(offset), chip->base + ZX_GPIO_DO1); in zx_direction_output()
83 writew_relaxed(BIT(offset), chip->base + ZX_GPIO_DO0); in zx_direction_output()
101 writew_relaxed(BIT(offset), chip->base + ZX_GPIO_DO1); in zx_set_value()
103 writew_relaxed(BIT(offset), chip->base + ZX_GPIO_DO0); in zx_set_value()
147 writew_relaxed(gpiois, chip->base + ZX_GPIO_IVE); in zx_irq_type()
148 writew_relaxed(gpioi_epos, chip->base + ZX_GPIO_IEP); in zx_irq_type()
149 writew_relaxed(gpioi_eneg, chip->base + ZX_GPIO_IEN); in zx_irq_type()
150 writew_relaxed(gpioiev, chip->base + ZX_GPIO_IV); in zx_irq_type()
[all …]
/kernel/linux/linux-5.10/arch/arm/plat-omap/
Ddebug-leds.c90 writew_relaxed(reg, &fpga->leds); in dbg_led_set()
112 writew_relaxed(0xff, &fpga->leds); in fpga_probe()
139 writew_relaxed(0xff, &fpga->leds); in fpga_suspend_noirq()
146 writew_relaxed(~fpga_led_state, &fpga->leds); in fpga_resume_noirq()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dio.h28 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); })
32 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); mb(); })
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-vf610-mscm-ir.c63 writew_relaxed(data->saved_irsprc[i], data->mscm_ir_base + MSCM_IRSPRC(i)); in vf610_mscm_ir_restore()
97 writew_relaxed(chip_data->cpu_mask, in vf610_mscm_ir_enable()
108 writew_relaxed(0x0, chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_disable()
Dirq-mst-intc.c39 writew_relaxed(val, cd->base + offset); in mst_set_irq()
55 writew_relaxed(val, cd->base + offset); in mst_clear_irq()
Dirq-renesas-rza1.c62 writew_relaxed(GENMASK(IRQC_NUM_IRQ - 1, 0) & ~bit, in rza1_irqc_eoi()
98 writew_relaxed(tmp, priv->base + ICR1); in rza1_irqc_set_type()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dio.h67 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) macro
79 #define writew(v,c) ({ __iowmb(); writew_relaxed((v),(c)); })
/kernel/linux/linux-5.10/arch/arm/mach-imx/
Dmxc.h85 #define imx_writew writew_relaxed
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dio.h25 #define writew_relaxed(x, addr) writew(x, addr) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dio.h126 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) macro
141 #define writew(v,c) ({ __iowmb(); writew_relaxed((v),(c)); })
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dio.h208 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); })
230 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) macro
/kernel/linux/linux-5.10/include/asm-generic/
Dio.h287 #ifndef writew_relaxed
288 #define writew_relaxed writew_relaxed macro
289 static inline void writew_relaxed(u16 value, volatile void __iomem *addr) in writew_relaxed() function
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dio.h45 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)ioswabw(v),c)) macro
55 #define writew(v,a) ({ wmb(); writew_relaxed((v),(a)); })
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-designware-common.c111 writew_relaxed(val, dev->base + reg); in dw_reg_write_word()
112 writew_relaxed(val >> 16, dev->base + reg + 2); in dw_reg_write_word()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dio.h298 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) macro
306 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); })
/kernel/linux/linux-5.10/drivers/hsi/controllers/
Domap_ssi_port.c268 writew_relaxed(csdp, gdd + SSI_GDD_CSDP_REG(lch)); in ssi_start_dma()
269 writew_relaxed(SSI_BLOCK_IE | SSI_TOUT_IE, gdd + SSI_GDD_CICR_REG(lch)); in ssi_start_dma()
272 writew_relaxed(SSI_BYTES_TO_FRAMES(msg->sgt.sgl->length), in ssi_start_dma()
543 writew_relaxed(0, omap_ssi->gdd + SSI_GDD_CCR_REG(i)); in ssi_flush()
741 writew_relaxed(0, omap_ssi->gdd + SSI_GDD_CCR_REG(i)); in ssi_cleanup_gdd()
828 writew_relaxed(0, omap_ssi->gdd + SSI_GDD_CCR_REG(i)); in ssi_error()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dmmio.h119 #define writew_relaxed(v, c) ({ __io_rbw(); writew_cpu((v), (c)); __io_raw(); }) macro
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dio.h171 #define writew_relaxed __raw_writew macro
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dsth.c52 writew_relaxed(*(u16 *)payload, dest); in sth_iowrite()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-dw.h219 writew_relaxed(val, dws->regs + offset); in dw_write_io_reg()
/kernel/linux/linux-5.10/drivers/acpi/
Dcppc_acpi.c290 writew_relaxed(cmd, &generic_comm_base->command); in send_pcc_cmd()
293 writew_relaxed(0, &generic_comm_base->status); in send_pcc_cmd()
1007 writew_relaxed(val, vaddr); in cpc_write()
/kernel/linux/linux-5.10/sound/soc/ti/
Domap-mcbsp-priv.h288 writew_relaxed((u16)val, addr); in omap_mcbsp_write()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dio.h218 #define writew_relaxed(w, addr) writew(w, addr) macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dio.h87 #define writew_relaxed(v, a) __writew(v, a) macro
/kernel/linux/linux-5.10/drivers/mmc/host/
Ddw_mmc.h470 writew_relaxed((value), (dev)->regs + SDMMC_##reg)

12