/Linux-v5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 274 iowrite32be(fmkg_ar, ®s->fmkg_ar); in keygen_write_ar_wait() 349 iowrite32be(tmp, ®s->fmkg_pe.fmkg_pe_sp); in keygen_write_sp() 383 iowrite32be(cpp, ®s->fmkg_pe.fmkg_pe_cpp); in keygen_write_cpp() 405 iowrite32be(scheme_regs->kgse_mode, ®s->fmkg_sch.kgse_mode); in keygen_write_scheme() 406 iowrite32be(scheme_regs->kgse_ekfc, ®s->fmkg_sch.kgse_ekfc); in keygen_write_scheme() 407 iowrite32be(scheme_regs->kgse_ekdv, ®s->fmkg_sch.kgse_ekdv); in keygen_write_scheme() 408 iowrite32be(scheme_regs->kgse_bmch, ®s->fmkg_sch.kgse_bmch); in keygen_write_scheme() 409 iowrite32be(scheme_regs->kgse_bmcl, ®s->fmkg_sch.kgse_bmcl); in keygen_write_scheme() 410 iowrite32be(scheme_regs->kgse_fqb, ®s->fmkg_sch.kgse_fqb); in keygen_write_scheme() 411 iowrite32be(scheme_regs->kgse_hc, ®s->fmkg_sch.kgse_hc); in keygen_write_scheme() [all …]
|
D | fman_dtsec.c | 375 iowrite32be(tmp, ®s->macstnaddr1); in set_mac_address() 378 iowrite32be(tmp, ®s->macstnaddr2); in set_mac_address() 391 iowrite32be(MACCFG1_SOFT_RESET, ®s->maccfg1); in init() 392 iowrite32be(0, ®s->maccfg1); in init() 431 iowrite32be(tmp, ®s->ecntrl); in init() 439 iowrite32be(tmp, ®s->ptv); in init() 446 iowrite32be(tmp, ®s->rctrl); in init() 452 iowrite32be(tbi_addr, ®s->tbipa); in init() 454 iowrite32be(0, ®s->tmr_ctrl); in init() 459 iowrite32be(tmp, ®s->tmr_pevent); in init() [all …]
|
D | fman_port.c | 493 iowrite32be(tmp, ®s->fmbm_rda); in init_bmi_rx() 499 iowrite32be(tmp, ®s->fmbm_rfp); in init_bmi_rx() 503 iowrite32be(BMI_RX_FIFO_THRESHOLD_ETHE, ®s->fmbm_reth); in init_bmi_rx() 512 iowrite32be(tmp, ®s->fmbm_rfed); in init_bmi_rx() 521 iowrite32be(tmp, ®s->fmbm_ricp); in init_bmi_rx() 526 iowrite32be(tmp, ®s->fmbm_rim); in init_bmi_rx() 532 iowrite32be(tmp, ®s->fmbm_rebm); in init_bmi_rx() 541 iowrite32be(tmp, ®s->fmbm_rfca); in init_bmi_rx() 547 iowrite32be(tmp, ®s->fmbm_rfne); in init_bmi_rx() 550 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_ENQ_FRAME, ®s->fmbm_rfpne); in init_bmi_rx() [all …]
|
D | fman.c | 634 iowrite32be(tmp, &fpm_rg->fmfp_prc); in set_port_order_restoration() 642 iowrite32be(liodn_ofst, &fman->bmi_regs->fmbm_spliodn[port_id - 1]); in set_port_liodn() 654 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() 663 iowrite32be(tmp | FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in enable_rams_ecc() 665 iowrite32be(tmp | FPM_RAM_RAMS_ECC_EN | in enable_rams_ecc() 675 iowrite32be(tmp & ~FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in disable_rams_ecc() 677 iowrite32be(tmp & ~(FPM_RAM_RAMS_ECC_EN | FPM_RAM_IRAM_ECC_EN), in disable_rams_ecc() 717 iowrite32be(ioread32be(&dma_rg->fmdmsr) | tmp_reg, &dma_rg->fmdmsr); in dma_init() 739 iowrite32be(tmp_reg, &dma_rg->fmdmmr); in dma_init() 749 iowrite32be(tmp_reg, &dma_rg->fmdmtr); in dma_init() [all …]
|
D | fman_memac.c | 365 iowrite32be(tmp0, ®s->mac_addr0.mac_addr_l); in add_addr_in_paddr() 366 iowrite32be(tmp1, ®s->mac_addr0.mac_addr_u); in add_addr_in_paddr() 368 iowrite32be(tmp0, ®s->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr() 369 iowrite32be(tmp1, ®s->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr() 382 iowrite32be(tmp, ®s->command_config); in reset() 407 iowrite32be(tmp, ®s->imask); in set_exception() 430 iowrite32be(tmp, ®s->command_config); in init() 433 iowrite32be((u32)cfg->max_frame_length, ®s->maxfrm); in init() 436 iowrite32be((u32)cfg->pause_quanta, ®s->pause_quanta[0]); in init() 437 iowrite32be((u32)0, ®s->pause_thresh[0]); in init() [all …]
|
D | fman_tgec.c | 230 iowrite32be(tmp0, ®s->mac_addr_0); in set_mac_address() 231 iowrite32be(tmp1, ®s->mac_addr_1); in set_mac_address() 256 iowrite32be(tmp, ®s->command_config); in init() 259 iowrite32be((u32)cfg->max_frame_length, ®s->maxfrm); in init() 261 iowrite32be(cfg->pause_quant, ®s->pause_quant); in init() 264 iowrite32be(0xffffffff, ®s->ievent); in init() 265 iowrite32be(ioread32be(®s->imask) | exception_mask, ®s->imask); in init() 365 iowrite32be(event, ®s->ievent); in tgec_err_exception() 435 iowrite32be(tmp, ®s->command_config); in tgec_enable() 453 iowrite32be(tmp, ®s->command_config); in tgec_disable() [all …]
|
/Linux-v5.10/drivers/vme/bridges/ |
D | vme_tsi148.c | 157 iowrite32be(TSI148_LCSR_EDPAT_EDPCL, bridge->base + TSI148_LCSR_EDPAT); in tsi148_PERR_irqhandler() 196 iowrite32be(TSI148_LCSR_VEAT_VESCL, bridge->base + TSI148_LCSR_VEAT); in tsi148_VERR_irqhandler() 299 iowrite32be(serviced, bridge->base + TSI148_LCSR_INTC); in tsi148_irqhandler() 359 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_init() 360 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_init() 371 iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_exit() 372 iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_exit() 375 iowrite32be(0xFFFFFFFF, bridge->base + TSI148_LCSR_INTC); in tsi148_irq_exit() 412 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_set() 416 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_set() [all …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-hlwd.c | 83 iowrite32be(level ^ emulated_pending, in hlwd_gpio_irqhandler() 87 iowrite32be(emulated_pending, hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irqhandler() 114 iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irq_ack() 127 iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_mask() 141 iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_unmask() 161 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_setup_emulation() 187 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type() 192 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type() 231 iowrite32be(0xffffffff, hlwd->regs + HW_GPIO_OWNER); in hlwd_gpio_probe() 248 iowrite32be(0, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_probe() [all …]
|
/Linux-v5.10/drivers/input/serio/ |
D | apbps2.c | 72 iowrite32be(0, &priv->regs->status); in apbps2_isr() 92 iowrite32be(val, &priv->regs->data); in apbps2_write() 94 iowrite32be(APBPS2_CTRL_RE | APBPS2_CTRL_RI | APBPS2_CTRL_TE, in apbps2_write() 109 iowrite32be(0, &priv->regs->status); in apbps2_open() 117 iowrite32be(APBPS2_CTRL_RE | APBPS2_CTRL_RI, &priv->regs->ctrl); in apbps2_open() 127 iowrite32be(0, &priv->regs->ctrl); in apbps2_close() 151 iowrite32be(0, &priv->regs->ctrl); in apbps2_of_probe() 169 iowrite32be(freq_hz / 10000, &priv->regs->reload); in apbps2_of_probe()
|
/Linux-v5.10/drivers/usb/host/ |
D | ehci-fsl.c | 123 iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 129 iowrite32be(USB_CTRL_USB_EN, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 139 iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 222 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 228 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 264 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 274 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 295 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 317 iowrite32be(0x0 | SNOOP_SIZE_2GB, in ehci_fsl_usb_setup() 320 iowrite32be(0x80000000 | SNOOP_SIZE_2GB, in ehci_fsl_usb_setup() [all …]
|
/Linux-v5.10/drivers/net/wan/ |
D | fsl_ucc_hdlc.c | 133 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init() 146 iowrite32be(0, &priv->uf_regs->upsmr); in uhdlc_init() 160 iowrite32be(upsmr, &priv->uf_regs->upsmr); in uhdlc_init() 167 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init() 262 iowrite32be(priv->dma_rx_bd, &priv->ucc_pram->rbase); in uhdlc_init() 263 iowrite32be(priv->dma_tx_bd, &priv->ucc_pram->tbase); in uhdlc_init() 266 iowrite32be(BMR_GBL | BMR_BIG_ENDIAN, &priv->ucc_pram->rstate); in uhdlc_init() 267 iowrite32be(BMR_GBL | BMR_BIG_ENDIAN, &priv->ucc_pram->tstate); in uhdlc_init() 270 iowrite32be(CRC_16BIT_MASK, &priv->ucc_pram->c_mask); in uhdlc_init() 271 iowrite32be(CRC_16BIT_PRES, &priv->ucc_pram->c_pres); in uhdlc_init() [all …]
|
/Linux-v5.10/drivers/memory/ |
D | fsl-corenet-cf.c | 168 iowrite32be(errdet, &ccf->err_regs->errdet); in ccf_irq() 230 iowrite32be(errinten, &ccf->err_regs->errdis); in ccf_probe() 234 iowrite32be(0, &ccf->err_regs->errdis); in ccf_probe() 235 iowrite32be(errinten, &ccf->err_regs->errinten); in ccf_probe() 248 iowrite32be(0, &ccf->err_regs->errdis); in ccf_remove() 257 iowrite32be(0, &ccf->err_regs->errinten); in ccf_remove()
|
/Linux-v5.10/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 104 iowrite32be((mii_id << 8) | regnum, ®s->miimadd); in fsl_pq_mdio_write() 107 iowrite32be(value, ®s->miimcon); in fsl_pq_mdio_write() 137 iowrite32be((mii_id << 8) | regnum, ®s->miimadd); in fsl_pq_mdio_read() 140 iowrite32be(0, ®s->miimcom); in fsl_pq_mdio_read() 141 iowrite32be(MII_READ_COMMAND, ®s->miimcom); in fsl_pq_mdio_read() 171 iowrite32be(MIIMCFG_RESET, ®s->miimcfg); in fsl_pq_mdio_reset() 174 iowrite32be(MIIMCFG_INIT_VALUE, ®s->miimcfg); in fsl_pq_mdio_reset() 401 iowrite32be(be32_to_cpu(tbipa_val), tbipa); in set_tbipa()
|
/Linux-v5.10/include/linux/ |
D | io-64-nonatomic-hi-lo.h | 97 iowrite32be(val >> 32, addr); in iowrite64be_hi_lo() 98 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_hi_lo()
|
D | io-64-nonatomic-lo-hi.h | 97 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_lo_hi() 98 iowrite32be(val >> 32, addr); in iowrite64be_lo_hi()
|
D | sm501.h | 166 #define smc501_writel(val, addr) iowrite32be((val), (addr))
|
/Linux-v5.10/arch/sh/kernel/ |
D | iomap.c | 65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() function 69 EXPORT_SYMBOL(iowrite32be);
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | iomap.c | 92 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() function 100 EXPORT_SYMBOL(iowrite32be);
|
/Linux-v5.10/drivers/watchdog/ |
D | gef_wdt.c | 90 iowrite32be(data, gef_wdt_regs); in gef_wdt_toggle_wdc() 93 iowrite32be(data, gef_wdt_regs); in gef_wdt_toggle_wdc()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | os.h | 10 #define iowrite32_native iowrite32be
|
/Linux-v5.10/Documentation/devicetree/bindings/ |
D | common-properties.txt | 14 unconditionally (e.g. ioread32be/iowrite32be). Use this if you 21 BE vmlinux -> ioread32be/iowrite32be). In this case no byte swaps
|
/Linux-v5.10/drivers/spi/ |
D | spi-bcm-qspi.h | 75 iowrite32be(data, addr); in bcm_qspi_writel()
|
D | spi-fsl-lib.h | 84 iowrite32be(val, reg); in mpc8xxx_spi_write_reg()
|
/Linux-v5.10/drivers/block/ |
D | ps3vram.c | 115 iowrite32be(0xffffffff, notify + i); in ps3vram_notifier_reset() 146 iowrite32be(FIFO_BASE + FIFO_OFFSET, priv->ctrl + CTRL_PUT); in ps3vram_init_ring() 147 iowrite32be(FIFO_BASE + FIFO_OFFSET, priv->ctrl + CTRL_GET); in ps3vram_init_ring() 187 iowrite32be(FIFO_BASE + FIFO_OFFSET, priv->ctrl + CTRL_PUT); in ps3vram_rewind_ring() 205 iowrite32be(FIFO_BASE + FIFO_OFFSET + (priv->fifo_ptr - priv->fifo_base) in ps3vram_fire_ring()
|
/Linux-v5.10/include/asm-generic/ |
D | io.h | 810 #ifndef iowrite32be 811 #define iowrite32be iowrite32be macro 812 static inline void iowrite32be(u32 value, volatile void __iomem *addr) in iowrite32be() function
|