/linux-6.6.21/drivers/phy/st/ |
D | phy-miphy28lp.c | 371 writeb_relaxed(RST_APPLI_SW, base + MIPHY_CONF_RESET); in miphy28lp_set_reset() 374 writeb_relaxed(val, base + MIPHY_CONF_RESET); in miphy28lp_set_reset() 376 writeb_relaxed(RST_APPLI_SW, base + MIPHY_CONF_RESET); in miphy28lp_set_reset() 381 writeb_relaxed(val, base + MIPHY_CONTROL); in miphy28lp_set_reset() 384 writeb_relaxed(val, base + MIPHY_CONTROL); in miphy28lp_set_reset() 395 writeb_relaxed(0x1d, base + MIPHY_PLL_SPAREIN); in miphy28lp_pll_calibration() 396 writeb_relaxed(pll_ratio->clk_ref, base + MIPHY_PLL_CLKREF_FREQ); in miphy28lp_pll_calibration() 399 writeb_relaxed(pll_ratio->calset_1, base + MIPHY_PLL_CALSET_1); in miphy28lp_pll_calibration() 400 writeb_relaxed(pll_ratio->calset_2, base + MIPHY_PLL_CALSET_2); in miphy28lp_pll_calibration() 401 writeb_relaxed(pll_ratio->calset_3, base + MIPHY_PLL_CALSET_3); in miphy28lp_pll_calibration() [all …]
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-ahb-audio.c | 137 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 …]
|
/linux-6.6.21/drivers/tty/serial/ |
D | digicolor-usart.c | 100 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() 191 writeb_relaxed(port->x_char, port->membase + UA_EMI_REC); in digicolor_uart_tx() 222 writeb_relaxed(UA_INT_RX | UA_INT_TX, in digicolor_uart_int() 258 writeb_relaxed(UA_ENABLE_ENABLE, port->membase + UA_ENABLE); in digicolor_uart_startup() 259 writeb_relaxed(UA_CONTROL_SOFT_RESET, port->membase + UA_CONTROL); in digicolor_uart_startup() 260 writeb_relaxed(0, port->membase + UA_CONTROL); in digicolor_uart_startup() 262 writeb_relaxed(UA_CONFIG_FIFO_RX_FIFO_MODE in digicolor_uart_startup() [all …]
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-digicolor.c | 73 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() 165 writeb_relaxed(1, i2c->regs + II_INTFLAG_CLEAR); in dc_i2c_irq() 262 writeb_relaxed(II_CONTROL_LOCAL_RESET, i2c->regs + II_CONTROL); in dc_i2c_init_hw() 264 writeb_relaxed(0, i2c->regs + II_CONTROL); in dc_i2c_init_hw() 273 writeb_relaxed(clocktime - 1, i2c->regs + II_CLOCKTIME); in dc_i2c_init_hw()
|
D | i2c-at91-slave.c | 30 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()
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-digicolor.c | 47 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()
|
/linux-6.6.21/drivers/clocksource/ |
D | timer-gxp.c | 51 writeb_relaxed(MASK_TCS_TC, timer->control); in gxp_time_set_next_event() 53 writeb_relaxed(MASK_TCS_TC | MASK_TCS_ENABLE, timer->control); in gxp_time_set_next_event() 65 writeb_relaxed(MASK_TCS_TC, timer->control); in gxp_timer_interrupt()
|
/linux-6.6.21/arch/csky/include/asm/ |
D | io.h | 25 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) 29 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); })
|
/linux-6.6.21/drivers/pinctrl/ |
D | pinctrl-digicolor.c | 138 writeb_relaxed(reg, pmap->regs + reg_off); in dc_set_mux() 179 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_input() 201 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_output() 233 writeb_relaxed(output, pmap->regs + reg_off); in dc_gpio_set()
|
/linux-6.6.21/drivers/hwtracing/intel_th/ |
D | sth.c | 55 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()
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-ep93xx.c | 85 writeb_relaxed(0, epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params() 87 writeb_relaxed(eic->int_type2, in ep93xx_gpio_update_int_params() 90 writeb_relaxed(eic->int_type1, in ep93xx_gpio_update_int_params() 93 writeb_relaxed(eic->int_unmasked & eic->int_enabled, in ep93xx_gpio_update_int_params()
|
D | gpio-msc313.c | 498 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() 514 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() 529 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() 711 writeb_relaxed(gpio->saved[i], gpio->base + gpio->gpio_data->offsets[i]); in msc313_gpio_resume()
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | io.h | 24 #define writeb_relaxed(x, addr) writeb(x, addr) macro
|
/linux-6.6.21/arch/arc/include/asm/ |
D | io.h | 206 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) 228 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro
|
/linux-6.6.21/arch/arm/kernel/ |
D | smp_scu.c | 86 writeb_relaxed(val, scu_base + SCU_CPU_STATUS + cpu); in scu_set_power_mode_internal()
|
/linux-6.6.21/arch/sh/include/asm/ |
D | io.h | 44 #define writeb_relaxed(v,c) ((void)__raw_writeb((__force u8)ioswabb(v),c)) macro 54 #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); })
|
/linux-6.6.21/include/asm-generic/ |
D | io.h | 354 #ifndef writeb_relaxed 355 #define writeb_relaxed writeb_relaxed macro 356 static inline void writeb_relaxed(u8 value, volatile void __iomem *addr) in writeb_relaxed() function
|
/linux-6.6.21/arch/arm/include/asm/ |
D | io.h | 280 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro 288 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
|
/linux-6.6.21/drivers/crypto/stm32/ |
D | stm32-crc32.c | 186 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update() 202 writeb_relaxed(*d8++, crc->regs + CRC_DR); in burst_update()
|
/linux-6.6.21/drivers/dma/ti/ |
D | dma-crossbar.c | 60 writeb_relaxed(val, iomem + (63 - event % 4)); in ti_am335x_xbar_write() 62 writeb_relaxed(val, iomem + event); in ti_am335x_xbar_write()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | mmio.h | 118 #define writeb_relaxed(v, c) ({ __io_rbw(); writeb_cpu((v), (c)); __io_raw(); }) macro
|
/linux-6.6.21/drivers/mmc/host/ |
D | sdhci-sprd.c | 173 writeb_relaxed(val, host->ioaddr + reg); in sdhci_sprd_writeb() 393 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset() 398 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset()
|
/linux-6.6.21/arch/hexagon/include/asm/ |
D | io.h | 167 #define writeb_relaxed __raw_writeb macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | io.h | 85 #define writeb_relaxed(v, a) __writeb(v, a) macro
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | fsmc_nand.c | 573 writeb_relaxed(buf[i], host->data_va); in fsmc_write_buf() 651 writeb_relaxed(instr->ctx.cmd.opcode, host->cmd_va); in fsmc_exec_op() 656 writeb_relaxed(instr->ctx.addr.addrs[i], in fsmc_exec_op()
|