Home
last modified time | relevance | path

Searched refs:ioread32be (Results 1 – 25 of 129) sorted by relevance

123456

/linux/drivers/net/ethernet/freescale/fman/
A Dfman_dtsec.c395 tmp = ioread32be(&regs->tsec_id2); in init()
918 tmp = ioread32be(&regs->maccfg1); in dtsec_enable()
943 tmp = ioread32be(&regs->maccfg1); in dtsec_disable()
980 ptv = ioread32be(&regs->ptv); in dtsec_set_tx_pause_frames()
1013 tmp = ioread32be(&regs->maccfg1); in dtsec_accept_rx_pause_frames()
1125 tmp = ioread32be(&regs->rctrl); in dtsec_set_allmulti()
1144 rctrl = ioread32be(&regs->rctrl); in dtsec_set_tstamp()
1145 tctrl = ioread32be(&regs->tctrl); in dtsec_set_tstamp()
1241 tmp = ioread32be(&regs->rctrl); in dtsec_set_promiscuous()
1250 tmp = ioread32be(&regs->rctrl); in dtsec_set_promiscuous()
[all …]
A Dfman.c661 tmp = ioread32be(&fpm_rg->fm_rcr); in enable_rams_ecc()
673 tmp = ioread32be(&fpm_rg->fm_rcr); in disable_rams_ecc()
1122 tmp = ioread32be(&fpm_rg->fmfp_ee); in resume()
1234 mask = ioread32be(&bmi_rg->fmbm_ier); in bmi_err_event()
1289 status = ioread32be(&dma_rg->fmdmsr); in dma_err_event()
1290 mask = ioread32be(&dma_rg->fmdmmr); in dma_err_event()
1341 event = ioread32be(&fpm_rg->fmfp_ee); in fpm_err_event()
1363 event = ioread32be(&fpm_rg->fm_rcr); in muram_err_intr()
1364 mask = ioread32be(&fpm_rg->fm_rie); in muram_err_intr()
1381 event = ioread32be(&qmi_rg->fmqm_ie); in qmi_event()
[all …]
A Dfman_memac.c379 tmp = ioread32be(&regs->command_config); in reset()
402 tmp = ioread32be(&regs->imask); in set_exception()
646 event = ioread32be(&regs->ievent); in memac_err_exception()
647 imask = ioread32be(&regs->imask); in memac_err_exception()
672 event = ioread32be(&regs->ievent); in memac_exception()
673 imask = ioread32be(&regs->imask); in memac_exception()
723 tmp = ioread32be(&regs->command_config); in memac_enable()
742 tmp = ioread32be(&regs->command_config); in memac_disable()
761 tmp = ioread32be(&regs->command_config); in memac_set_promiscuous()
780 tmp = ioread32be(&regs->if_mode); in memac_adjust_link()
[all …]
A Dfman_tgec.c359 event = ioread32be(&regs->ievent) & in tgec_err_exception()
363 event &= ioread32be(&regs->imask); in tgec_err_exception()
430 tmp = ioread32be(&regs->command_config); in tgec_enable()
448 tmp = ioread32be(&regs->command_config); in tgec_disable()
466 tmp = ioread32be(&regs->command_config); in tgec_set_promiscuous()
507 tmp = ioread32be(&regs->command_config); in tgec_accept_rx_pause_frames()
596 tmp = ioread32be(&regs->command_config); in tgec_set_tstamp()
652 *mac_version = ioread32be(&regs->tgec_id); in tgec_get_version()
677 iowrite32be(ioread32be(&regs->imask) | bit_mask, &regs->imask); in tgec_set_exception()
679 iowrite32be(ioread32be(&regs->imask) & ~bit_mask, &regs->imask); in tgec_set_exception()
[all …]
A Dfman_port.c620 iowrite32be(ioread32be(&regs->fmbm_tfne) & ~BMI_EBD_EN, in init_bmi_tx()
701 (ioread32be(&regs->fmpr_pcac) & HWP_HXS_PCAC_PSTAT)) in stop_port_hwp()
715 !(ioread32be(&regs->fmpr_pcac) & HWP_HXS_PCAC_PSTAT)) in start_port_hwp()
1615 tmp = ioread32be(&port->qmi_regs->fmqm_pnc) & ~QMI_PORT_CFG_EN; in fman_port_disable()
1622 tmp = ioread32be(&port->qmi_regs->fmqm_pns); in fman_port_disable()
1632 tmp = ioread32be(bmi_cfg_reg) & ~BMI_PORT_CFG_EN; in fman_port_disable()
1639 tmp = ioread32be(bmi_status_reg); in fman_port_disable()
1689 tmp = ioread32be(&port->qmi_regs->fmqm_pnc) | QMI_PORT_CFG_EN; in fman_port_enable()
1694 tmp = ioread32be(bmi_cfg_reg) | BMI_PORT_CFG_EN; in fman_port_enable()
/linux/drivers/vme/bridges/
A Dvme_tsi148.c148 ioread32be(bridge->base + TSI148_LCSR_EDPAU), in tsi148_PERR_irqhandler()
149 ioread32be(bridge->base + TSI148_LCSR_EDPAL), in tsi148_PERR_irqhandler()
150 ioread32be(bridge->base + TSI148_LCSR_EDPAT)); in tsi148_PERR_irqhandler()
154 ioread32be(bridge->base + TSI148_LCSR_EDPXA), in tsi148_PERR_irqhandler()
155 ioread32be(bridge->base + TSI148_LCSR_EDPXS)); in tsi148_PERR_irqhandler()
256 stat = ioread32be(bridge->base + TSI148_LCSR_INTS); in tsi148_irqhandler()
388 tmp = ioread32be(bridge->base + TSI148_LCSR_VICR); in tsi148_iack_received()
448 tmp = ioread32be(bridge->base + TSI148_LCSR_VICR); in tsi148_irq_generate()
631 ctl = ioread32be(bridge->base + TSI148_LCSR_IT[i] + in tsi148_slave_get()
1403 result = ioread32be(image->kern_base + offset); in tsi148_master_rmw()
[all …]
/linux/drivers/gpio/
A Dgpio-hlwd.c69 pending = ioread32be(hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irqhandler()
70 pending &= ioread32be(hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irqhandler()
78 level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irqhandler()
122 mask = ioread32be(hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_mask()
136 mask = ioread32be(hlwd->regs + HW_GPIOB_INTMASK); in hlwd_gpio_irq_unmask()
154 level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_setup_emulation()
155 state = ioread32be(hlwd->regs + HW_GPIOB_IN) & BIT(hwirq); in hlwd_gpio_irq_setup_emulation()
182 level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type()
187 level = ioread32be(hlwd->regs + HW_GPIOB_INTLVL); in hlwd_gpio_irq_set_type()
/linux/arch/powerpc/platforms/86xx/
A Dgef_ppc9a.c100 reg = ioread32be(ppc9a_regs); in gef_ppc9a_get_pcb_rev()
109 reg = ioread32be(ppc9a_regs); in gef_ppc9a_get_board_rev()
118 reg = ioread32be(ppc9a_regs); in gef_ppc9a_get_fpga_rev()
127 reg = ioread32be(ppc9a_regs + 0x4); in gef_ppc9a_get_vme_geo_addr()
136 reg = ioread32be(ppc9a_regs + 0x4); in gef_ppc9a_get_vme_is_syscon()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dhealth.c85 return (ioread32be(&dev->iseg->cmdq_addr_l_sz) >> 8) & 7; in mlx5_get_nic_state()
92 cur_cmdq_addr_l_sz = ioread32be(&dev->iseg->cmdq_addr_l_sz); in mlx5_set_nic_state()
104 return (ioread32be(&h->fw_ver) == 0xffffffff); in sensor_pci_not_working()
177 bool supported = (ioread32be(&dev->iseg->initializing) >> in reset_fw_if_needed()
430 ioread32be(h->assert_var + i)); in print_health_info()
436 mlx5_log(dev, severity, "time %u\n", ioread32be(&h->time)); in print_health_info()
437 mlx5_log(dev, severity, "hw_id 0x%08x\n", ioread32be(&h->hw_id)); in print_health_info()
519 ioread32be(&h->assert_exit_ptr)); in mlx5_fw_reporter_heath_buffer_data_put()
523 ioread32be(&h->assert_callra)); in mlx5_fw_reporter_heath_buffer_data_put()
551 ioread32be(&h->fw_ver)); in mlx5_fw_reporter_heath_buffer_data_put()
[all …]
/linux/drivers/soc/fsl/qe/
A Dqe_io.c57 tmp_val = ioread32be(&par_io->cpodr); in __par_io_config_pin()
65 ioread32be(&par_io->cpdir2) : in __par_io_config_pin()
66 ioread32be(&par_io->cpdir1); in __par_io_config_pin()
88 ioread32be(&par_io->cppar2) : in __par_io_config_pin()
89 ioread32be(&par_io->cppar1); in __par_io_config_pin()
129 tmp_val = ioread32be(&par_io[port].cpdata); in par_io_data_set()
A Ducc_fast.c32 &uccf->uf_regs->gumr, ioread32be(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs()
34 &uccf->uf_regs->upsmr, ioread32be(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs()
40 &uccf->uf_regs->ucce, ioread32be(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs()
42 &uccf->uf_regs->uccm, ioread32be(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs()
46 &uccf->uf_regs->urfb, ioread32be(&uccf->uf_regs->urfb)); in ucc_fast_dump_regs()
55 &uccf->uf_regs->utfb, ioread32be(&uccf->uf_regs->utfb)); in ucc_fast_dump_regs()
65 &uccf->uf_regs->urtry, ioread32be(&uccf->uf_regs->urtry)); in ucc_fast_dump_regs()
101 gumr = ioread32be(&uf_regs->gumr); in ucc_fast_enable()
122 gumr = ioread32be(&uf_regs->gumr); in ucc_fast_disable()
A Dgpio.c44 qe_gc->cpdata = ioread32be(&regs->cpdata); in qe_gpio_save_regs()
46 qe_gc->saved_regs.cpdir1 = ioread32be(&regs->cpdir1); in qe_gpio_save_regs()
47 qe_gc->saved_regs.cpdir2 = ioread32be(&regs->cpdir2); in qe_gpio_save_regs()
48 qe_gc->saved_regs.cppar1 = ioread32be(&regs->cppar1); in qe_gpio_save_regs()
49 qe_gc->saved_regs.cppar2 = ioread32be(&regs->cppar2); in qe_gpio_save_regs()
50 qe_gc->saved_regs.cpodr = ioread32be(&regs->cpodr); in qe_gpio_save_regs()
59 return !!(ioread32be(&regs->cpdata) & pin_mask); in qe_gpio_get()
/linux/drivers/input/serio/
A Dapbps2.c65 while ((status = ioread32be(&priv->regs->status)) & APBPS2_STATUS_DR) { in apbps2_isr()
66 data = ioread32be(&priv->regs->data); in apbps2_isr()
88 while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_TF) && tleft--) in apbps2_write()
91 if ((ioread32be(&priv->regs->status) & APBPS2_STATUS_TF) == 0) { in apbps2_write()
112 while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_DR) && --limit) in apbps2_open()
113 ioread32be(&priv->regs->data); in apbps2_open()
/linux/drivers/memory/
A Dfsl-corenet-cf.c111 errdet = ioread32be(&ccf->err_regs->errdet); in ccf_irq()
112 cecar = ioread32be(&ccf->err_regs->cecar); in ccf_irq()
113 cecar2 = ioread32be(&ccf->err_regs->cecar2); in ccf_irq()
114 addr = ioread32be(&ccf->err_regs->cecaddrl); in ccf_irq()
115 addr |= ((u64)(ioread32be(&ccf->err_regs->cecaddrh) & in ccf_irq()
203 u32 brr = ioread32be(ccf->regs + CCF_BRR); in ccf_probe()
/linux/drivers/usb/host/
A Dehci-fsl.c120 tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe()
136 tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL); in fsl_ehci_drv_probe()
191 if (!(ioread32be(non_ehci + FSL_SOC_USB_CTRL) & PHY_CLK_VALID)) in usb_phy_clk_valid()
220 tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy()
225 tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy()
261 tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy()
271 tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy()
292 tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_setup_phy()
598 ehci_fsl->usb_ctrl = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_drv_suspend()
/linux/drivers/net/dsa/b53/
A Db53_mmap.c67 *val = ioread32be(regs + (page << 8) + reg); in b53_mmap_read32()
88 hi = ioread32be(regs + (page << 8) + reg + 2); in b53_mmap_read48()
100 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read48()
123 lo = ioread32be(regs + (page << 8) + reg); in b53_mmap_read64()
124 hi = ioread32be(regs + (page << 8) + reg + 4); in b53_mmap_read64()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dtout.c85 return !!ioread32be(&dev->iseg->cmd_q_init_to); in tout_is_supported()
95 to = ioread32be(&dev->iseg->cmd_q_init_to); in mlx5_tout_query_iseg()
98 to = ioread32be(&dev->iseg->cmd_exec_to); in mlx5_tout_query_iseg()
/linux/include/linux/
A Dio-64-nonatomic-lo-hi.h86 low = ioread32be(addr + sizeof(u32)); in ioread64be_lo_hi()
87 high = ioread32be(addr); in ioread64be_lo_hi()
A Dio-64-nonatomic-hi-lo.h86 high = ioread32be(addr); in ioread64be_hi_lo()
87 low = ioread32be(addr + sizeof(u32)); in ioread64be_hi_lo()
/linux/drivers/net/ethernet/freescale/
A Dfsl_pq_mdio.c111 while ((ioread32be(&regs->miimind) & MIIMIND_BUSY) && timeout) { in fsl_pq_mdio_write()
145 while ((ioread32be(&regs->miimind) & in fsl_pq_mdio_read()
155 value = ioread32be(&regs->miimstat); in fsl_pq_mdio_read()
178 while ((ioread32be(&regs->miimind) & MIIMIND_BUSY) && timeout) { in fsl_pq_mdio_reset()
/linux/drivers/soc/fsl/
A Drcpm.c42 reg_val = ioread32be(regs + SCFG_SPARECR8); in copy_ippdexpcr1_setting()
123 tmp |= ioread32be(address); in rcpm_pm_prepare()
/linux/drivers/block/
A Dps3vram.c125 if (!ioread32be(notify + 3)) in ps3vram_notifier_wait()
133 if (!ioread32be(notify + 3)) in ps3vram_notifier_wait()
156 if (ioread32be(priv->ctrl + CTRL_PUT) == ioread32be(priv->ctrl + CTRL_GET)) in ps3vram_wait_ring()
162 ioread32be(priv->ctrl + CTRL_PUT), ioread32be(priv->ctrl + CTRL_GET), in ps3vram_wait_ring()
163 ioread32be(priv->ctrl + CTRL_TOP)); in ps3vram_wait_ring()
/linux/arch/sh/kernel/
A Diomap.c35 unsigned int ioread32be(const void __iomem *addr) in ioread32be() function
39 EXPORT_SYMBOL(ioread32be);
/linux/drivers/net/wan/
A Dfsl_ucc_hdlc.c129 gumr = ioread32be(&priv->uf_regs->gumr); in uhdlc_init()
153 upsmr = ioread32be(&priv->uf_regs->upsmr); in uhdlc_init()
163 gumr = ioread32be(&priv->uf_regs->gumr); in uhdlc_init()
652 ucce = ioread32be(uccf->p_ucce); in ucc_hdlc_irq_handler()
653 uccm = ioread32be(uccf->p_uccm); in ucc_hdlc_irq_handler()
854 priv->cmxsi1cr_h = ioread32be(&qe_mux_reg->cmxsi1cr_h); in store_clk_config()
855 priv->cmxsi1cr_l = ioread32be(&qe_mux_reg->cmxsi1cr_l); in store_clk_config()
858 priv->cmxsi1syr = ioread32be(&qe_mux_reg->cmxsi1syr); in store_clk_config()
893 priv->gumr = ioread32be(&uf_regs->gumr); in uhdlc_suspend()
/linux/drivers/net/ethernet/google/gve/
A Dgve_adminq.c215 while (ioread32be(&priv->reg_bar0->adminq_pfn)) { in gve_adminq_release()
249 if (ioread32be(&priv->reg_bar0->adminq_event_counter) in gve_adminq_wait_for_cmd()
307 tail = ioread32be(&priv->reg_bar0->adminq_event_counter); in gve_adminq_kick_and_wait()
342 tail = ioread32be(&priv->reg_bar0->adminq_event_counter); in gve_adminq_issue_cmd()
355 tail = ioread32be(&priv->reg_bar0->adminq_event_counter); in gve_adminq_issue_cmd()
428 tail = ioread32be(&priv->reg_bar0->adminq_event_counter); in gve_adminq_execute_cmd()

Completed in 94 milliseconds

123456