/linux-6.12.1/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 247 iowrite32be(fmkg_ar, ®s->fmkg_ar); in keygen_write_ar_wait() 322 iowrite32be(tmp, ®s->fmkg_pe.fmkg_pe_sp); in keygen_write_sp() 356 iowrite32be(cpp, ®s->fmkg_pe.fmkg_pe_cpp); in keygen_write_cpp() 378 iowrite32be(scheme_regs->kgse_mode, ®s->fmkg_sch.kgse_mode); in keygen_write_scheme() 379 iowrite32be(scheme_regs->kgse_ekfc, ®s->fmkg_sch.kgse_ekfc); in keygen_write_scheme() 380 iowrite32be(scheme_regs->kgse_ekdv, ®s->fmkg_sch.kgse_ekdv); in keygen_write_scheme() 381 iowrite32be(scheme_regs->kgse_bmch, ®s->fmkg_sch.kgse_bmch); in keygen_write_scheme() 382 iowrite32be(scheme_regs->kgse_bmcl, ®s->fmkg_sch.kgse_bmcl); in keygen_write_scheme() 383 iowrite32be(scheme_regs->kgse_fqb, ®s->fmkg_sch.kgse_fqb); in keygen_write_scheme() 384 iowrite32be(scheme_regs->kgse_hc, ®s->fmkg_sch.kgse_hc); in keygen_write_scheme() [all …]
|
D | fman_dtsec.c | 349 iowrite32be(tmp, ®s->macstnaddr1); in set_mac_address() 352 iowrite32be(tmp, ®s->macstnaddr2); in set_mac_address() 364 iowrite32be(MACCFG1_SOFT_RESET, ®s->maccfg1); in init() 365 iowrite32be(0, ®s->maccfg1); in init() 371 iowrite32be(tmp, ®s->ptv); in init() 378 iowrite32be(tmp, ®s->rctrl); in init() 384 iowrite32be(tbi_addr, ®s->tbipa); in init() 386 iowrite32be(0, ®s->tmr_ctrl); in init() 391 iowrite32be(tmp, ®s->tmr_pevent); in init() 396 iowrite32be(tmp, ®s->tmr_pemask); in init() [all …]
|
D | fman_port.c | 467 iowrite32be(tmp, ®s->fmbm_rda); in init_bmi_rx() 473 iowrite32be(tmp, ®s->fmbm_rfp); in init_bmi_rx() 477 iowrite32be(BMI_RX_FIFO_THRESHOLD_ETHE, ®s->fmbm_reth); in init_bmi_rx() 486 iowrite32be(tmp, ®s->fmbm_rfed); in init_bmi_rx() 495 iowrite32be(tmp, ®s->fmbm_ricp); in init_bmi_rx() 500 iowrite32be(tmp, ®s->fmbm_rim); in init_bmi_rx() 506 iowrite32be(tmp, ®s->fmbm_rebm); in init_bmi_rx() 515 iowrite32be(tmp, ®s->fmbm_rfca); in init_bmi_rx() 521 iowrite32be(tmp, ®s->fmbm_rfne); in init_bmi_rx() 524 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_ENQ_FRAME, ®s->fmbm_rfpne); in init_bmi_rx() [all …]
|
D | fman.c | 608 iowrite32be(tmp, &fpm_rg->fmfp_prc); in set_port_order_restoration() 616 iowrite32be(liodn_ofst, &fman->bmi_regs->fmbm_spliodn[port_id - 1]); in set_port_liodn() 628 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn() 637 iowrite32be(tmp | FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in enable_rams_ecc() 639 iowrite32be(tmp | FPM_RAM_RAMS_ECC_EN | in enable_rams_ecc() 649 iowrite32be(tmp & ~FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in disable_rams_ecc() 651 iowrite32be(tmp & ~(FPM_RAM_RAMS_ECC_EN | FPM_RAM_IRAM_ECC_EN), in disable_rams_ecc() 691 iowrite32be(ioread32be(&dma_rg->fmdmsr) | tmp_reg, &dma_rg->fmdmsr); in dma_init() 713 iowrite32be(tmp_reg, &dma_rg->fmdmmr); in dma_init() 723 iowrite32be(tmp_reg, &dma_rg->fmdmtr); in dma_init() [all …]
|
D | fman_memac.c | 309 iowrite32be(tmp0, ®s->mac_addr0.mac_addr_l); in add_addr_in_paddr() 310 iowrite32be(tmp1, ®s->mac_addr0.mac_addr_u); in add_addr_in_paddr() 312 iowrite32be(tmp0, ®s->mac_addr[paddr_num - 1].mac_addr_l); in add_addr_in_paddr() 313 iowrite32be(tmp1, ®s->mac_addr[paddr_num - 1].mac_addr_u); in add_addr_in_paddr() 326 iowrite32be(tmp, ®s->command_config); in reset() 351 iowrite32be(tmp, ®s->imask); in set_exception() 373 iowrite32be(tmp, ®s->command_config); in init() 376 iowrite32be((u32)cfg->max_frame_length, ®s->maxfrm); in init() 379 iowrite32be((u32)cfg->pause_quanta, ®s->pause_quanta[0]); in init() 380 iowrite32be((u32)0, ®s->pause_thresh[0]); in init() [all …]
|
D | fman_tgec.c | 205 iowrite32be(tmp0, ®s->mac_addr_0); in set_mac_address() 206 iowrite32be(tmp1, ®s->mac_addr_1); in set_mac_address() 231 iowrite32be(tmp, ®s->command_config); in init() 234 iowrite32be((u32)cfg->max_frame_length, ®s->maxfrm); in init() 236 iowrite32be(cfg->pause_quant, ®s->pause_quant); in init() 239 iowrite32be(0xffffffff, ®s->ievent); in init() 240 iowrite32be(ioread32be(®s->imask) | exception_mask, ®s->imask); in init() 336 iowrite32be(event, ®s->ievent); in tgec_err_exception() 403 iowrite32be(tmp, ®s->command_config); in tgec_set_promiscuous() 414 iowrite32be((u32)pause_time, ®s->pause_quant); in tgec_set_tx_pause_frames() [all …]
|
/linux-6.12.1/drivers/soc/fsl/qe/ |
D | qe_io.c | 61 iowrite32be(pin_mask1bit | tmp_val, &par_io->cpodr); in __par_io_config_pin() 63 iowrite32be(~pin_mask1bit & tmp_val, &par_io->cpodr); in __par_io_config_pin() 80 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir2); in __par_io_config_pin() 82 iowrite32be(new_mask2bits | tmp_val, &par_io->cpdir2); in __par_io_config_pin() 84 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir1); in __par_io_config_pin() 86 iowrite32be(new_mask2bits | tmp_val, &par_io->cpdir1); in __par_io_config_pin() 97 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cppar2); in __par_io_config_pin() 99 iowrite32be(new_mask2bits | tmp_val, &par_io->cppar2); in __par_io_config_pin() 101 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cppar1); in __par_io_config_pin() 103 iowrite32be(new_mask2bits | tmp_val, &par_io->cppar1); in __par_io_config_pin() [all …]
|
D | ucc_slow.c | 90 iowrite32be(gumr_l, &us_regs->gumr_l); in ucc_slow_enable() 111 iowrite32be(gumr_l, &us_regs->gumr_l); in ucc_slow_disable() 225 iowrite32be(0, &bd->buf); in ucc_slow_init() 227 iowrite32be(0, (u32 __iomem *)bd); in ucc_slow_init() 231 iowrite32be(0, &bd->buf); in ucc_slow_init() 232 iowrite32be(T_W, (u32 __iomem *)bd); in ucc_slow_init() 238 iowrite32be(0, (u32 __iomem *)bd); in ucc_slow_init() 240 iowrite32be(0, &bd->buf); in ucc_slow_init() 244 iowrite32be(R_W, (u32 __iomem *)bd); in ucc_slow_init() 245 iowrite32be(0, &bd->buf); in ucc_slow_init() [all …]
|
D | qe.c | 113 iowrite32be((u32)(cmd | QE_CR_FLG), &qe_immr->cp.cecr); in qe_issue_cmd() 130 iowrite32be(cmd_input, &qe_immr->cp.cecdr); in qe_issue_cmd() 131 iowrite32be((cmd | QE_CR_FLG | ((u32)device << dev_shift) | (u32)mcn_protocol << mcn_shift), in qe_issue_cmd() 235 iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg() 379 iowrite32be((u32)sdma_buf_offset & QE_SDEBCR_BA_MASK, in qe_sdma_init() 381 iowrite32be((QE_SDMR_GLB_1_MSK | (0x1 << QE_SDMR_CEN_SHIFT)), in qe_sdma_init() 420 iowrite32be(be32_to_cpu(ucode->iram_offset) | QE_IRAM_IADD_AIE | QE_IRAM_IADD_BADDR, in qe_upload_microcode() 424 iowrite32be(be32_to_cpu(code[i]), &qe_immr->iram.idata); in qe_upload_microcode() 427 iowrite32be(QE_IRAM_READY, &qe_immr->iram.iready); in qe_upload_microcode() 546 iowrite32be(trap, in qe_upload_firmware() [all …]
|
D | ucc_fast.c | 110 iowrite32be(gumr, &uf_regs->gumr); in ucc_fast_enable() 131 iowrite32be(gumr, &uf_regs->gumr); in ucc_fast_disable() 265 iowrite32be(gumr, &uf_regs->gumr); in ucc_fast_init() 297 iowrite32be(uccf->ucc_fast_tx_virtual_fifo_base_offset, in ucc_fast_init() 299 iowrite32be(uccf->ucc_fast_rx_virtual_fifo_base_offset, in ucc_fast_init() 368 iowrite32be(uf_info->uccm_mask, &uf_regs->uccm); in ucc_fast_init() 375 iowrite32be(0xffffffff, &uf_regs->ucce); in ucc_fast_init()
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-gamecube.c | 106 iowrite32be(RTC_EXICSR, iob + EXICSR); in exi_read() 107 iowrite32be(reg << 8, iob + EXIDATA); in exi_read() 108 iowrite32be(RTC_EXICR_W, iob + EXICR); in exi_read() 113 iowrite32be(RTC_EXICSR, iob + EXICSR); in exi_read() 114 iowrite32be(RTC_EXICR_R, iob + EXICR); in exi_read() 120 iowrite32be(0, iob + EXICSR); in exi_read() 135 iowrite32be(RTC_EXICSR, iob + EXICSR); in exi_write() 136 iowrite32be(RTC_EXIDATA_W | (reg << 8), iob + EXIDATA); in exi_write() 137 iowrite32be(RTC_EXICR_W, iob + EXICR); in exi_write() 142 iowrite32be(RTC_EXICSR, iob + EXICSR); in exi_write() [all …]
|
/linux-6.12.1/drivers/staging/vme_user/ |
D | vme_tsi148.c | 154 iowrite32be(TSI148_LCSR_EDPAT_EDPCL, bridge->base + TSI148_LCSR_EDPAT); in tsi148_PERR_irqhandler() 191 iowrite32be(TSI148_LCSR_VEAT_VESCL, bridge->base + TSI148_LCSR_VEAT); in tsi148_VERR_irqhandler() 294 iowrite32be(serviced, bridge->base + TSI148_LCSR_INTC); in tsi148_irqhandler() 354 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_init() 355 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_init() 366 iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_exit() 367 iowrite32be(0x0, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_exit() 370 iowrite32be(0xFFFFFFFF, bridge->base + TSI148_LCSR_INTC); in tsi148_irq_exit() 407 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_set() 411 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_set() [all …]
|
/linux-6.12.1/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() 108 iowrite32be(0, &priv->regs->status); in apbps2_open() 116 iowrite32be(APBPS2_CTRL_RE | APBPS2_CTRL_RI, &priv->regs->ctrl); in apbps2_open() 126 iowrite32be(0, &priv->regs->ctrl); in apbps2_close() 148 iowrite32be(0, &priv->regs->ctrl); in apbps2_of_probe() 166 iowrite32be(freq_hz / 10000, &priv->regs->reload); in apbps2_of_probe()
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-hlwd.c | 84 iowrite32be(level ^ emulated_pending, in hlwd_gpio_irqhandler() 88 iowrite32be(emulated_pending, hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irqhandler() 112 iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irq_ack() 125 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() 251 iowrite32be(0xffffffff, hlwd->regs + HW_GPIO_OWNER); in hlwd_gpio_probe() 268 iowrite32be(0, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_probe() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | ehci-fsl.c | 117 iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 123 iowrite32be(USB_CTRL_USB_EN, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 133 iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe() 216 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 222 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 258 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 268 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 289 iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy() 311 iowrite32be(0x0 | SNOOP_SIZE_2GB, in ehci_fsl_usb_setup() 314 iowrite32be(0x80000000 | SNOOP_SIZE_2GB, in ehci_fsl_usb_setup() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-fsl-cpm.c | 59 iowrite32be(0, &mspi->pram->rstate); in fsl_spi_cpm_reinit_txrx() 62 iowrite32be(0, &mspi->pram->tstate); in fsl_spi_cpm_reinit_txrx() 83 iowrite32be(mspi->rx_dma, &rx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 85 iowrite32be(mspi->rx_dma + xfer_ofs, &rx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 90 iowrite32be(mspi->tx_dma, &tx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 92 iowrite32be(mspi->tx_dma + xfer_ofs, &tx_bd->cbd_bufaddr); in fsl_spi_cpm_bufs_start() 376 iowrite32be(0, &mspi->pram->rstate); in fsl_spi_cpm_init() 377 iowrite32be(0, &mspi->pram->rdp); in fsl_spi_cpm_init() 380 iowrite32be(0, &mspi->pram->rxtmp); in fsl_spi_cpm_init() 381 iowrite32be(0, &mspi->pram->tstate); in fsl_spi_cpm_init() [all …]
|
/linux-6.12.1/drivers/memory/ |
D | fsl-corenet-cf.c | 166 iowrite32be(errdet, &ccf->err_regs->errdet); in ccf_irq() 214 iowrite32be(errinten, &ccf->err_regs->errdis); in ccf_probe() 218 iowrite32be(0, &ccf->err_regs->errdis); in ccf_probe() 219 iowrite32be(errinten, &ccf->err_regs->errinten); in ccf_probe() 232 iowrite32be(0, &ccf->err_regs->errdis); in ccf_remove() 241 iowrite32be(0, &ccf->err_regs->errinten); in ccf_remove()
|
/linux-6.12.1/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 106 iowrite32be((mii_id << 8) | regnum, ®s->miimadd); in fsl_pq_mdio_write() 109 iowrite32be(value, ®s->miimcon); in fsl_pq_mdio_write() 139 iowrite32be((mii_id << 8) | regnum, ®s->miimadd); in fsl_pq_mdio_read() 142 iowrite32be(0, ®s->miimcom); in fsl_pq_mdio_read() 143 iowrite32be(MII_READ_COMMAND, ®s->miimcom); in fsl_pq_mdio_read() 173 iowrite32be(MIIMCFG_RESET, ®s->miimcfg); in fsl_pq_mdio_reset() 176 iowrite32be(MIIMCFG_INIT_VALUE, ®s->miimcfg); in fsl_pq_mdio_reset() 403 iowrite32be(be32_to_cpu(tbipa_val), tbipa); in set_tbipa()
|
/linux-6.12.1/drivers/net/wan/ |
D | fsl_ucc_hdlc.c | 135 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init() 148 iowrite32be(0, &priv->uf_regs->upsmr); in uhdlc_init() 162 iowrite32be(upsmr, &priv->uf_regs->upsmr); in uhdlc_init() 169 iowrite32be(gumr, &priv->uf_regs->gumr); in uhdlc_init() 268 iowrite32be(priv->dma_rx_bd, &priv->ucc_pram->rbase); in uhdlc_init() 269 iowrite32be(priv->dma_tx_bd, &priv->ucc_pram->tbase); in uhdlc_init() 272 iowrite32be(BMR_GBL | BMR_BIG_ENDIAN, &priv->ucc_pram->rstate); in uhdlc_init() 273 iowrite32be(BMR_GBL | BMR_BIG_ENDIAN, &priv->ucc_pram->tstate); in uhdlc_init() 276 iowrite32be(CRC_16BIT_MASK, &priv->ucc_pram->c_mask); in uhdlc_init() 277 iowrite32be(CRC_16BIT_PRES, &priv->ucc_pram->c_pres); in uhdlc_init() [all …]
|
/linux-6.12.1/include/linux/ |
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 | 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()
|
/linux-6.12.1/arch/m68k/virt/ |
D | config.c | 41 iowrite32be(CMD_HALT, base + VIRT_CTRL_REG_CMD); in virt_halt() 51 iowrite32be(CMD_RESET, base + VIRT_CTRL_REG_CMD); in virt_reset()
|
/linux-6.12.1/drivers/soc/fsl/ |
D | rcpm.c | 43 iowrite32be(val | reg_val, regs + SCFG_SPARECR8); in copy_ippdexpcr1_setting() 124 iowrite32be(tmp, address); in rcpm_pm_prepare()
|
/linux-6.12.1/arch/sh/kernel/ |
D | iomap.c | 65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() function 69 EXPORT_SYMBOL(iowrite32be);
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | io.h | 12 #define gf_iowrite32 iowrite32be
|