Home
last modified time | relevance | path

Searched refs:iowrite32be (Results 1 – 25 of 127) sorted by relevance

123456

/linux/drivers/net/ethernet/freescale/fman/
A Dfman_keygen.c274 iowrite32be(fmkg_ar, &regs->fmkg_ar); in keygen_write_ar_wait()
349 iowrite32be(tmp, &regs->fmkg_pe.fmkg_pe_sp); in keygen_write_sp()
383 iowrite32be(cpp, &regs->fmkg_pe.fmkg_pe_cpp); in keygen_write_cpp()
411 iowrite32be(scheme_regs->kgse_hc, &regs->fmkg_sch.kgse_hc); in keygen_write_scheme()
422 iowrite32be(scheme_regs->kgse_gec[i], in keygen_write_scheme()
668 iowrite32be(ENQUEUE_KG_DFLT_NIA, &keygen_regs->fmkg_gcr); in keygen_init()
673 iowrite32be(0, &keygen_regs->fmkg_fdor); in keygen_init()
674 iowrite32be(0, &keygen_regs->fmkg_gdv0r); in keygen_init()
675 iowrite32be(0, &keygen_regs->fmkg_gdv1r); in keygen_init()
693 iowrite32be(0xFFFFFFFF, &keygen_regs->fmkg_seer); in keygen_init()
[all …]
A Dfman_dtsec.c392 iowrite32be(0, &regs->maccfg1); in init()
431 iowrite32be(tmp, &regs->ecntrl); in init()
439 iowrite32be(tmp, &regs->ptv); in init()
446 iowrite32be(tmp, &regs->rctrl); in init()
454 iowrite32be(0, &regs->tmr_ctrl); in init()
497 iowrite32be(tmp, &regs->ipgifg); in init()
505 iowrite32be(tmp, &regs->hafdup); in init()
983 iowrite32be(ptv, &regs->ptv); in dtsec_set_tx_pause_frames()
1131 iowrite32be(tmp, &regs->rctrl); in dtsec_set_allmulti()
1247 iowrite32be(tmp, &regs->rctrl); in dtsec_set_promiscuous()
[all …]
A Dfman_port.c493 iowrite32be(tmp, &regs->fmbm_rda); in init_bmi_rx()
499 iowrite32be(tmp, &regs->fmbm_rfp); in init_bmi_rx()
526 iowrite32be(tmp, &regs->fmbm_rim); in init_bmi_rx()
578 iowrite32be(tmp, &regs->fmbm_tda); in init_bmi_tx()
612 iowrite32be(!cfg->dflt_fqid ? in init_bmi_tx()
712 iowrite32be(0, &regs->fmpr_pcac); in start_port_hwp()
814 iowrite32be(tmp, &bp_reg[i]); in set_bpools()
819 iowrite32be(0, &bp_reg[i]); in set_bpools()
837 iowrite32be(tmp, bp_depl_reg); in set_bpools()
1633 iowrite32be(tmp, bmi_cfg_reg); in fman_port_disable()
[all …]
A Dfman.c634 iowrite32be(tmp, &fpm_rg->fmfp_prc); in set_port_order_restoration()
739 iowrite32be(tmp_reg, &dma_rg->fmdmmr); in dma_init()
749 iowrite32be(tmp_reg, &dma_rg->fmdmtr); in dma_init()
759 iowrite32be(tmp_reg, &dma_rg->fmdmhy); in dma_init()
804 iowrite32be(~((1 << in dma_init()
1128 iowrite32be(tmp, &fpm_rg->fmfp_ee); in resume()
1304 iowrite32be(status, &dma_rg->fmdmsr); in dma_err_event()
1343 iowrite32be(event, &fpm_rg->fmfp_ee); in fpm_err_event()
1389 iowrite32be(event, &qmi_rg->fmqm_ie); in qmi_event()
1424 iowrite32be(tmp, &fpm_rg->fmfp_tsc2); in enable_time_stamp()
[all …]
A Dfman_memac.c383 iowrite32be(tmp, &regs->command_config); in reset()
408 iowrite32be(tmp, &regs->imask); in set_exception()
431 iowrite32be(tmp, &regs->command_config); in init()
457 iowrite32be(tmp, &regs->if_mode); in init()
476 iowrite32be(0xffffffff, &regs->ievent); in init()
656 iowrite32be(event, &regs->ievent); in memac_err_exception()
682 iowrite32be(event, &regs->ievent); in memac_exception()
729 iowrite32be(tmp, &regs->command_config); in memac_enable()
748 iowrite32be(tmp, &regs->command_config); in memac_disable()
767 iowrite32be(tmp, &regs->command_config); in memac_set_promiscuous()
[all …]
A Dfman_tgec.c230 iowrite32be(tmp0, &regs->mac_addr_0); in set_mac_address()
231 iowrite32be(tmp1, &regs->mac_addr_1); in set_mac_address()
256 iowrite32be(tmp, &regs->command_config); in init()
264 iowrite32be(0xffffffff, &regs->ievent); in init()
365 iowrite32be(event, &regs->ievent); in tgec_err_exception()
435 iowrite32be(tmp, &regs->command_config); in tgec_enable()
453 iowrite32be(tmp, &regs->command_config); in tgec_disable()
471 iowrite32be(tmp, &regs->command_config); in tgec_set_promiscuous()
512 iowrite32be(tmp, &regs->command_config); in tgec_accept_rx_pause_frames()
603 iowrite32be(tmp, &regs->command_config); in tgec_set_tstamp()
[all …]
/linux/drivers/soc/fsl/qe/
A Dqe_io.c59 iowrite32be(pin_mask1bit | tmp_val, &par_io->cpodr); in __par_io_config_pin()
61 iowrite32be(~pin_mask1bit & tmp_val, &par_io->cpodr); in __par_io_config_pin()
78 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir2); in __par_io_config_pin()
80 iowrite32be(new_mask2bits | tmp_val, &par_io->cpdir2); in __par_io_config_pin()
82 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cpdir1); in __par_io_config_pin()
84 iowrite32be(new_mask2bits | tmp_val, &par_io->cpdir1); in __par_io_config_pin()
95 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cppar2); in __par_io_config_pin()
97 iowrite32be(new_mask2bits | tmp_val, &par_io->cppar2); in __par_io_config_pin()
99 iowrite32be(~pin_mask2bits & tmp_val, &par_io->cppar1); in __par_io_config_pin()
101 iowrite32be(new_mask2bits | tmp_val, &par_io->cppar1); in __par_io_config_pin()
[all …]
A Ducc_slow.c90 iowrite32be(gumr_l, &us_regs->gumr_l); in ucc_slow_enable()
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()
266 iowrite32be(gumr, &us_regs->gumr_h); in ucc_slow_init()
[all …]
A Dqe.c112 iowrite32be((u32)(cmd | QE_CR_FLG), &qe_immr->cp.cecr); in qe_issue_cmd()
129 iowrite32be(cmd_input, &qe_immr->cp.cecdr); in qe_issue_cmd()
130 iowrite32be((cmd | QE_CR_FLG | ((u32)device << dev_shift) | (u32)mcn_protocol << mcn_shift), in qe_issue_cmd()
234 iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg()
378 iowrite32be((u32)sdma_buf_offset & QE_SDEBCR_BA_MASK, in qe_sdma_init()
380 iowrite32be((QE_SDMR_GLB_1_MSK | (0x1 << QE_SDMR_CEN_SHIFT)), in qe_sdma_init()
419 iowrite32be(be32_to_cpu(ucode->iram_offset) | QE_IRAM_IADD_AIE | QE_IRAM_IADD_BADDR, in qe_upload_microcode()
423 iowrite32be(be32_to_cpu(code[i]), &qe_immr->iram.idata); in qe_upload_microcode()
426 iowrite32be(QE_IRAM_READY, &qe_immr->iram.iready); in qe_upload_microcode()
545 iowrite32be(trap, in qe_upload_firmware()
[all …]
A Ducc_fast.c110 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()
A Dgpio.c77 iowrite32be(qe_gc->cpdata, &regs->cpdata); in qe_gpio_set()
104 iowrite32be(qe_gc->cpdata, &regs->cpdata); in qe_gpio_set_multiple()
272 iowrite32be(qe_gc->cpdata, &regs->cpdata); in qe_pin_set_dedicated()
/linux/drivers/vme/bridges/
A Dvme_tsi148.c359 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); in tsi148_irq_init()
360 iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); in tsi148_irq_init()
453 iowrite32be(tmp, bridge->base + TSI148_LCSR_VICR); in tsi148_irq_generate()
457 iowrite32be(tmp, bridge->base + TSI148_LCSR_VICR); in tsi148_irq_generate()
1842 iowrite32be(bus_addr_high, bridge->base + in tsi148_dma_list_exec()
1844 iowrite32be(bus_addr_low, bridge->base + in tsi148_dma_list_exec()
2111 iowrite32be(TSI148_LCSR_INTC_LMC[monitor], in tsi148_lm_detach()
2227 iowrite32be(crat | TSI148_LCSR_CRAT_EN, in tsi148_crcsr_init()
2258 iowrite32be(crat & ~TSI148_LCSR_CRAT_EN, in tsi148_crcsr_exit()
2262 iowrite32be(0, bridge->base + TSI148_LCSR_CROU); in tsi148_crcsr_exit()
[all …]
/linux/drivers/gpio/
A Dgpio-hlwd.c83 iowrite32be(level ^ emulated_pending, in hlwd_gpio_irqhandler()
87 iowrite32be(emulated_pending, hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irqhandler()
111 iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irq_ack()
124 iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_mask()
138 iowrite32be(mask, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_unmask()
158 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_setup_emulation()
184 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type()
189 iowrite32be(level, hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type()
228 iowrite32be(0xffffffff, hlwd->regs + HW_GPIO_OWNER); in hlwd_gpio_probe()
245 iowrite32be(0, hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_probe()
[all …]
/linux/drivers/input/serio/
A Dapbps2.c72 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()
150 iowrite32be(0, &priv->regs->ctrl); in apbps2_of_probe()
168 iowrite32be(freq_hz / 10000, &priv->regs->reload); in apbps2_of_probe()
/linux/drivers/media/platform/
A Dfsl-viu.c247 iowrite32be(SOFT_RST, &vr->status_cfg); in viu_start_dma()
257 iowrite32be(0, &vr->status_cfg); in viu_stop_dma()
274 iowrite32be(0, &vr->status_cfg); in viu_stop_dma()
977 iowrite32be(0x000000ff, &vr->alpha); in viu_default_settings()
1000 iowrite32be((status & 0xffc0ffff) | in viu_overlay_intr()
1004 iowrite32be((status & 0xffc0ffff) | in viu_overlay_intr()
1054 iowrite32be((status & 0xffc0ffff) | in viu_capture_intr()
1286 iowrite32be(0, &reg->status_cfg); in viu_reset()
1291 iowrite32be(0, &reg->field_base_addr); in viu_reset()
1292 iowrite32be(0, &reg->dma_inc); in viu_reset()
[all …]
/linux/drivers/usb/host/
A Dehci-fsl.c123 iowrite32be(tmp, 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()
353 iowrite32be(0x00000008, non_ehci + FSL_SOC_USB_PRICTRL); in ehci_fsl_usb_setup()
[all …]
/linux/drivers/net/wan/
A Dfsl_ucc_hdlc.c133 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()
266 iowrite32be(priv->dma_rx_bd, &priv->ucc_pram->rbase); in uhdlc_init()
655 iowrite32be(ucce, uccf->p_ucce); in ucc_hdlc_irq_handler()
663 iowrite32be(uccm, uccf->p_uccm); in ucc_hdlc_irq_handler()
940 iowrite32be(priv->gumr, &uf_regs->gumr); in uhdlc_resume()
956 iowrite32be(uf_info->uccm_mask, &uf_regs->uccm); in uhdlc_resume()
957 iowrite32be(0xffffffff, &uf_regs->ucce); in uhdlc_resume()
[all …]
/linux/drivers/memory/
A Dfsl-corenet-cf.c168 iowrite32be(errdet, &ccf->err_regs->errdet); in ccf_irq()
228 iowrite32be(errinten, &ccf->err_regs->errdis); in ccf_probe()
232 iowrite32be(0, &ccf->err_regs->errdis); in ccf_probe()
233 iowrite32be(errinten, &ccf->err_regs->errinten); in ccf_probe()
246 iowrite32be(0, &ccf->err_regs->errdis); in ccf_remove()
255 iowrite32be(0, &ccf->err_regs->errinten); in ccf_remove()
/linux/drivers/net/ethernet/freescale/
A Dfsl_pq_mdio.c104 iowrite32be((mii_id << 8) | regnum, &regs->miimadd); in fsl_pq_mdio_write()
107 iowrite32be(value, &regs->miimcon); in fsl_pq_mdio_write()
137 iowrite32be((mii_id << 8) | regnum, &regs->miimadd); in fsl_pq_mdio_read()
140 iowrite32be(0, &regs->miimcom); in fsl_pq_mdio_read()
141 iowrite32be(MII_READ_COMMAND, &regs->miimcom); in fsl_pq_mdio_read()
171 iowrite32be(MIIMCFG_RESET, &regs->miimcfg); in fsl_pq_mdio_reset()
174 iowrite32be(MIIMCFG_INIT_VALUE, &regs->miimcfg); in fsl_pq_mdio_reset()
401 iowrite32be(be32_to_cpu(tbipa_val), tbipa); in set_tbipa()
/linux/include/linux/
A Dio-64-nonatomic-lo-hi.h97 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_lo_hi()
98 iowrite32be(val >> 32, addr); in iowrite64be_lo_hi()
A Dio-64-nonatomic-hi-lo.h97 iowrite32be(val >> 32, addr); in iowrite64be_hi_lo()
98 iowrite32be(val, addr + sizeof(u32)); in iowrite64be_hi_lo()
/linux/drivers/soc/fsl/
A Drcpm.c43 iowrite32be(val | reg_val, regs + SCFG_SPARECR8); in copy_ippdexpcr1_setting()
124 iowrite32be(tmp, address); in rcpm_pm_prepare()
/linux/arch/sh/kernel/
A Diomap.c65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() function
69 EXPORT_SYMBOL(iowrite32be);
/linux/drivers/tty/serial/
A Ducc_uart.c605 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
613 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
626 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
638 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
715 iowrite32be(0, &uccup->rx_state); in qe_uart_init_ucc()
716 iowrite32be(0, &uccup->rx_cnt); in qe_uart_init_ucc()
719 iowrite32be(0x4000, &uccup->dump_ptr); in qe_uart_init_ucc()
721 iowrite32be(0, &uccup->rx_frame_rem); in qe_uart_init_ucc()
/linux/drivers/watchdog/
A Dgef_wdt.c90 iowrite32be(data, gef_wdt_regs); in gef_wdt_toggle_wdc()
93 iowrite32be(data, gef_wdt_regs); in gef_wdt_toggle_wdc()

Completed in 65 milliseconds

123456