/linux/drivers/phy/st/ |
A D | phy-miphy28lp.c | 417 writeb_relaxed(0x00, base + MIPHY_CONF); in miphy28lp_pll_calibration() 519 writeb_relaxed(0x00, base + MIPHY_RESET); in miphy28lp_compensation() 543 writeb_relaxed(val, base + MIPHY_RESET); in miphy28_usb3_miphy_reset() 551 writeb_relaxed(0x00, base + MIPHY_CONF); in miphy28_usb3_miphy_reset() 554 writeb_relaxed(0x00, base + MIPHY_CONF); in miphy28_usb3_miphy_reset() 557 writeb_relaxed(0x00, base + MIPHY_CONF); in miphy28_usb3_miphy_reset() 579 writeb_relaxed(val, base + MIPHY_CONF); in miphy_sata_tune_ssc() 617 writeb_relaxed(val, base + MIPHY_CONF); in miphy_pcie_tune_ssc() 737 writeb_relaxed(0x00, base + MIPHY_CONF); in miphy28lp_configure_usb3() 740 writeb_relaxed(val, base + MIPHY_SPEED); in miphy28lp_configure_usb3() [all …]
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
A 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() 348 writeb_relaxed(HDMI_AHB_DMA_CONF0_SW_FIFO_RST, in dw_hdmi_open() 352 writeb_relaxed(~0, base + HDMI_AHB_DMA_POL); in dw_hdmi_open() 353 writeb_relaxed(~0, base + HDMI_AHB_DMA_BUFFPOL); in dw_hdmi_open() 356 writeb_relaxed(~0, base + HDMI_AHB_DMA_MASK); in dw_hdmi_open() 377 writeb_relaxed(HDMI_IH_MUTE_AHBDMAAUD_STAT0_ALL, in dw_hdmi_close() [all …]
|
/linux/drivers/tty/serial/ |
A 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() 224 writeb_relaxed(UA_INT_RX | UA_INT_TX, in digicolor_uart_int() 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() 267 writeb_relaxed(UA_STATUS_FIFO_RX_INT_ALMOST, in digicolor_uart_startup() 271 writeb_relaxed(UA_INT_TX | UA_INT_RX, in digicolor_uart_startup() 284 writeb_relaxed(0, port->membase + UA_ENABLE); in digicolor_uart_shutdown() 340 writeb_relaxed(config, port->membase + UA_CONFIG); in digicolor_uart_set_termios() [all …]
|
/linux/drivers/i2c/busses/ |
A 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()
|
A 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/drivers/rtc/ |
A 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/arch/csky/include/asm/ |
A D | io.h | 26 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) 30 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); })
|
/linux/drivers/gpio/ |
A D | gpio-msc313.c | 242 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() 258 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() 273 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() 443 writeb_relaxed(gpio->saved[i], gpio->base + gpio->gpio_data->offsets[i]); in msc313_gpio_resume()
|
A 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()
|
/linux/drivers/pinctrl/ |
A D | pinctrl-digicolor.c | 137 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()
|
/linux/arch/nds32/include/asm/ |
A D | io.h | 66 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) macro 78 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); })
|
/linux/drivers/hwtracing/intel_th/ |
A 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/arch/arm64/include/asm/ |
A D | io.h | 125 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) macro 140 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); })
|
/linux/arch/arc/include/asm/ |
A D | io.h | 207 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) 229 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro
|
/linux/arch/nios2/include/asm/ |
A D | io.h | 24 #define writeb_relaxed(x, addr) writeb(x, addr) macro
|
/linux/include/asm-generic/ |
A D | io.h | 279 #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
|
/linux/arch/arm/kernel/ |
A D | smp_scu.c | 86 writeb_relaxed(val, scu_base + SCU_CPU_STATUS + cpu); in scu_set_power_mode_internal()
|
/linux/arch/sh/include/asm/ |
A 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/drivers/mmc/host/ |
A D | sdhci-sprd.c | 162 writeb_relaxed(val, host->ioaddr + reg); in sdhci_sprd_writeb() 376 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset() 381 writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); in sdhci_sprd_hw_reset()
|
/linux/arch/arm/include/asm/ |
A D | io.h | 298 #define writeb_relaxed(v,c) __raw_writeb(v,c) macro 306 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); })
|
/linux/drivers/crypto/stm32/ |
A 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/drivers/dma/ti/ |
A D | dma-crossbar.c | 59 writeb_relaxed(val, iomem + (63 - event % 4)); in ti_am335x_xbar_write() 61 writeb_relaxed(val, iomem + event); in ti_am335x_xbar_write()
|
/linux/arch/hexagon/include/asm/ |
A D | io.h | 169 #define writeb_relaxed __raw_writeb macro
|
/linux/arch/riscv/include/asm/ |
A D | mmio.h | 118 #define writeb_relaxed(v, c) ({ __io_rbw(); writeb_cpu((v), (c)); __io_raw(); }) macro
|
/linux/drivers/mtd/nand/raw/ |
A 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()
|