Home
last modified time | relevance | path

Searched refs:writeb_relaxed (Results 1 – 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/phy/st/
Dphy-miphy28lp.c370 writeb_relaxed(RST_APPLI_SW, base + MIPHY_CONF_RESET); in miphy28lp_set_reset()
373 writeb_relaxed(val, base + MIPHY_CONF_RESET); in miphy28lp_set_reset()
375 writeb_relaxed(RST_APPLI_SW, base + MIPHY_CONF_RESET); in miphy28lp_set_reset()
380 writeb_relaxed(val, base + MIPHY_CONTROL); in miphy28lp_set_reset()
383 writeb_relaxed(val, base + MIPHY_CONTROL); in miphy28lp_set_reset()
394 writeb_relaxed(0x1d, base + MIPHY_PLL_SPAREIN); in miphy28lp_pll_calibration()
395 writeb_relaxed(pll_ratio->clk_ref, base + MIPHY_PLL_CLKREF_FREQ); in miphy28lp_pll_calibration()
398 writeb_relaxed(pll_ratio->calset_1, base + MIPHY_PLL_CALSET_1); in miphy28lp_pll_calibration()
399 writeb_relaxed(pll_ratio->calset_2, base + MIPHY_PLL_CALSET_2); in miphy28lp_pll_calibration()
400 writeb_relaxed(pll_ratio->calset_3, base + MIPHY_PLL_CALSET_3); in miphy28lp_pll_calibration()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-ahb-audio.c137 writeb_relaxed(val, ptr); in dw_hdmi_writel()
138 writeb_relaxed(val >> 8, ptr + 1); in dw_hdmi_writel()
139 writeb_relaxed(val >> 16, ptr + 2); in dw_hdmi_writel()
140 writeb_relaxed(val >> 24, ptr + 3); in dw_hdmi_writel()
243 writeb_relaxed(HDMI_IH_AHBDMAAUD_STAT0_ALL, in dw_hdmi_start_dma()
253 writeb_relaxed((u8)~HDMI_AHB_DMA_MASK_DONE, base + HDMI_AHB_DMA_MASK); in dw_hdmi_start_dma()
265 writeb_relaxed(~0, dw->data.base + HDMI_AHB_DMA_MASK); in dw_hdmi_stop_dma()
266 writeb_relaxed(HDMI_AHB_DMA_STOP_STOP, dw->data.base + HDMI_AHB_DMA_STOP); in dw_hdmi_stop_dma()
279 writeb_relaxed(stat, dw->data.base + HDMI_IH_AHBDMAAUD_STAT0); in snd_dw_hdmi_irq()
352 writeb_relaxed(HDMI_AHB_DMA_CONF0_SW_FIFO_RST, in dw_hdmi_open()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Ddigicolor-usart.c100 writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); in digicolor_uart_stop_tx()
108 writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); in digicolor_uart_start_tx()
116 writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); in digicolor_uart_stop_rx()
127 writeb_relaxed(UA_INT_RX, dp->port.membase + UA_INTFLAG_SET); in digicolor_rx_poll()
192 writeb_relaxed(port->x_char, port->membase + UA_EMI_REC); in digicolor_uart_tx()
224 writeb_relaxed(UA_INT_RX | UA_INT_TX, in digicolor_uart_int()
260 writeb_relaxed(UA_ENABLE_ENABLE, port->membase + UA_ENABLE); in digicolor_uart_startup()
261 writeb_relaxed(UA_CONTROL_SOFT_RESET, port->membase + UA_CONTROL); in digicolor_uart_startup()
262 writeb_relaxed(0, port->membase + UA_CONTROL); in digicolor_uart_startup()
264 writeb_relaxed(UA_CONFIG_FIFO_RX_FIFO_MODE in digicolor_uart_startup()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-digicolor.c73 writeb_relaxed(cmd | II_COMMAND_GO, i2c->regs + II_COMMAND); in dc_i2c_cmd()
88 writeb_relaxed(data, i2c->regs + II_DATA); in dc_i2c_data()
132 writeb_relaxed(1, i2c->regs + II_INTFLAG_CLEAR); in dc_i2c_set_irq()
133 writeb_relaxed(!!enable, i2c->regs + II_INTENABLE); in dc_i2c_set_irq()
166 writeb_relaxed(1, i2c->regs + II_INTFLAG_CLEAR); in dc_i2c_irq()
263 writeb_relaxed(II_CONTROL_LOCAL_RESET, i2c->regs + II_CONTROL); in dc_i2c_init_hw()
265 writeb_relaxed(0, i2c->regs + II_CONTROL); in dc_i2c_init_hw()
274 writeb_relaxed(clocktime - 1, i2c->regs + II_CLOCKTIME); in dc_i2c_init_hw()
Di2c-at91-slave.c30 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
45 writeb_relaxed(value, dev->base + AT91_TWI_THR); in atmel_twi_interrupt_slave()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-digicolor.c47 writeb_relaxed((cmds[i] & DC_RTC_CMD_MASK) | DC_RTC_GO_BUSY, in dc_rtc_cmds()
144 writeb_relaxed(!!alarm->enabled, rtc->regs + DC_RTC_INTENABLE); in dc_rtc_set_alarm()
153 writeb_relaxed(!!enabled, rtc->regs + DC_RTC_INTENABLE); in dc_rtc_alarm_irq_enable()
170 writeb_relaxed(1, rtc->regs + DC_RTC_INTFLAG_CLEAR); in dc_rtc_irq()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dio.h27 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); })
31 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); })
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dio.h66 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) macro
78 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); })
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-digicolor.c137 writeb_relaxed(reg, pmap->regs + reg_off); in dc_set_mux()
178 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_input()
200 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_output()
232 writeb_relaxed(output, pmap->regs + reg_off); in dc_gpio_set()
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dsth.c55 writeb_relaxed(*(u8 *)payload, dest); in sth_iowrite()
96 writeb_relaxed(*payload, sth->base + reg); in sth_stm_packet()
113 writeb_relaxed(0, outp); in sth_stm_packet()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-ep93xx.c83 writeb_relaxed(0, epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params()
85 writeb_relaxed(eic->int_type2, in ep93xx_gpio_update_int_params()
88 writeb_relaxed(eic->int_type1, in ep93xx_gpio_update_int_params()
91 writeb_relaxed(eic->int_unmasked & eic->int_enabled, in ep93xx_gpio_update_int_params()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dio.h24 #define writeb_relaxed(x, addr) writeb(x, addr) macro
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dio.h207 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
229 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dio.h125 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) macro
140 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); })
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsmp_scu.c86 writeb_relaxed(val, scu_base + SCU_CPU_STATUS + cpu); in scu_set_power_mode_internal()
/kernel/linux/linux-5.10/include/asm-generic/
Dio.h279 #ifndef writeb_relaxed
280 #define writeb_relaxed writeb_relaxed macro
281 static inline void writeb_relaxed(u8 value, volatile void __iomem *addr) in writeb_relaxed() function
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dio.h44 #define writeb_relaxed(v,c) ((void)__raw_writeb((__force u8)ioswabb(v),c)) macro
54 #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); })
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-sprd.c158 writeb_relaxed(val, host->ioaddr + reg); in sdhci_sprd_writeb()
365 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset()
370 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dio.h297 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro
305 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
/kernel/linux/linux-5.10/drivers/dma/ti/
Ddma-crossbar.c59 writeb_relaxed(val, iomem + (63 - event % 4)); in ti_am335x_xbar_write()
61 writeb_relaxed(val, iomem + event); in ti_am335x_xbar_write()
/kernel/linux/linux-5.10/drivers/crypto/stm32/
Dstm32-crc32.c186 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update()
202 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update()
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dio.h170 #define writeb_relaxed __raw_writeb macro
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dmmio.h118 #define writeb_relaxed(v, c) ({ __io_rbw(); writeb_cpu((v), (c)); __io_raw(); }) macro
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dio.h217 #define writeb_relaxed(b, addr) writeb(b, addr) macro
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dfsmc_nand.c562 writeb_relaxed(buf[i], host->data_va); in fsmc_write_buf()
640 writeb_relaxed(instr->ctx.cmd.opcode, host->cmd_va); in fsmc_exec_op()
645 writeb_relaxed(instr->ctx.addr.addrs[i], in fsmc_exec_op()

123