Home
last modified time | relevance | path

Searched refs:mac_base (Results 1 – 11 of 11) sorted by relevance

/drivers/usb/mtu3/
A Dmtu3_core.c178 void __iomem *mbase = mtu->mac_base; in mtu3_intr_status_clear()
205 void __iomem *mbase = mtu->mac_base; in mtu3_intr_enable()
234 void __iomem *mbase = mtu->mac_base; in mtu3_set_speed()
274 void __iomem *mbase = mtu->mac_base; in mtu3_csr_init()
311 void __iomem *mbase = mtu->mac_base; in mtu3_ep_stall_set()
355 void __iomem *mbase = mtu->mac_base; in mtu3_start()
407 void __iomem *mbase = mtu->mac_base; in mtu3_config_ep()
946 if (IS_ERR(mtu->mac_base)) { in ssusb_gadget_init()
948 return PTR_ERR(mtu->mac_base); in ssusb_gadget_init()
954 ssusb->mac_base = mtu->mac_base; in ssusb_gadget_init()
[all …]
A Dmtu3_gadget_ep0.c138 void __iomem *mbase = mtu->mac_base; in ep0_stall_set()
147 mtu3_writel(mtu->mac_base, U3D_EP0CSR, csr); in ep0_stall_set()
158 void __iomem *mbase = mtu->mac_base; in ep0_do_status_stage()
278 void __iomem *mbase = mtu->mac_base; in handle_test_mode()
328 void __iomem *mbase = mtu->mac_base; in ep0_handle_feature_dev()
443 void __iomem *mbase = mtu->mac_base; in handle_standard_request()
513 void __iomem *mbase = mtu->mac_base; in ep0_rx_state()
600 mtu3_readl(mtu->mac_base, U3D_EP0CSR)); in ep0_tx_state()
627 mtu3_writel(mtu->mac_base, U3D_EP0CSR, in ep0_read_setup()
631 mtu3_writel(mtu->mac_base, U3D_EP0CSR, in ep0_read_setup()
[all …]
A Dmtu3_qmu.c192 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_resume()
334 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_start()
378 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_stop()
429 void __iomem *mbase = mtu->mac_base; in qmu_tx_zlp_error_handler()
482 cur_gpd_dma = read_rxq_cur_addr(mtu->mac_base, epnum); in qmu_error_rx()
512 void __iomem *mbase = mtu->mac_base; in qmu_done_tx()
552 void __iomem *mbase = mtu->mac_base; in qmu_done_rx()
600 void __iomem *mbase = mtu->mac_base; in qmu_exception_isr()
644 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_isr()
A Dmtu3_gadget.c433 return (int)mtu3_readl(mtu->mac_base, U3D_USB20_FRAME_NUM); in mtu3_gadget_get_frame()
438 mtu3_writel(mtu->mac_base, U3D_DEV_NOTIF_0, in function_wake_notif()
440 mtu3_setbits(mtu->mac_base, U3D_DEV_NOTIF_0, SEND_DEV_NOTIF); in function_wake_notif()
460 mtu3_setbits(mtu->mac_base, U3D_LINK_POWER_CONTROL, UX_EXIT); in mtu3_gadget_wakeup()
469 mtu3_setbits(mtu->mac_base, U3D_POWER_MANAGEMENT, RESUME); in mtu3_gadget_wakeup()
473 mtu3_clrbits(mtu->mac_base, U3D_POWER_MANAGEMENT, RESUME); in mtu3_gadget_wakeup()
A Dmtu3_debugfs.c83 void __iomem *mbase = mtu->mac_base; in mtu3_link_state_show()
171 mtu3_debugfs_regset(mtu, mtu->mac_base, regs, 7, "ep-regs", parent); in mtu3_debugfs_ep_regset()
387 mtu3_debugfs_regset(mtu, mtu->mac_base, in ssusb_dev_debugfs_init()
391 mtu3_debugfs_regset(mtu, mtu->mac_base, in ssusb_dev_debugfs_init()
A Dmtu3.h246 void __iomem *mac_base; member
327 void __iomem *mac_base; member
A Dmtu3_dr.c25 mtu3_setbits(ssusb->mac_base, U3D_DEVICE_CONTROL, DC_SESSION); in toggle_opstate()
26 mtu3_setbits(ssusb->mac_base, U3D_POWER_MANAGEMENT, SOFT_CONN); in toggle_opstate()
/drivers/net/ethernet/atheros/
A Dag71xx.c365 void __iomem *mac_base; member
407 iowrite32(value, ag->mac_base + reg); in ag71xx_wr()
409 (void)ioread32(ag->mac_base + reg); in ag71xx_wr()
414 return ioread32(ag->mac_base + reg); in ag71xx_rr()
421 r = ag->mac_base + reg; in ag71xx_sb()
431 r = ag->mac_base + reg; in ag71xx_cb()
1848 ag->mac_base = devm_ioremap_resource(&pdev->dev, res); in ag71xx_probe()
1849 if (IS_ERR(ag->mac_base)) in ag71xx_probe()
1850 return PTR_ERR(ag->mac_base); in ag71xx_probe()
1936 (unsigned long)ag->mac_base, ndev->irq, in ag71xx_probe()
/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-qcom-ethqos.c108 void __iomem *mac_base; member
639 val = readl(ethqos->mac_base + MAC_CTRL_REG); in ethqos_configure_sgmii()
675 writel(val, ethqos->mac_base + MAC_CTRL_REG); in ethqos_configure_sgmii()
816 ethqos->mac_base = stmmac_res.addr; in qcom_ethqos_probe()
/drivers/atm/
A Deni.c1691 void __iomem *mac_base; in get_esi_fpga() local
1694 mac_base = base+EPROM_SIZE-sizeof(struct midway_eprom); in get_esi_fpga()
1695 for (i = 0; i < ESI_LEN; i++) dev->esi[i] = readb(mac_base+(i^3)); in get_esi_fpga()
/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c13735 u32 mac_base; in bnx2x_check_half_open_conn() local
13749 mac_base = (params->port) ? GRCBASE_XMAC1 : GRCBASE_XMAC0; in bnx2x_check_half_open_conn()
13752 REG_WR(bp, mac_base + XMAC_REG_CLEAR_RX_LSS_STATUS, 0); in bnx2x_check_half_open_conn()
13753 REG_WR(bp, mac_base + XMAC_REG_CLEAR_RX_LSS_STATUS, in bnx2x_check_half_open_conn()
13756 if (REG_RD(bp, mac_base + XMAC_REG_RX_LSS_STATUS)) in bnx2x_check_half_open_conn()
13767 mac_base = params->port ? NIG_REG_INGRESS_BMAC1_MEM : in bnx2x_check_half_open_conn()
13775 REG_RD_DMAE(bp, mac_base + lss_status_reg, wb_data, 2); in bnx2x_check_half_open_conn()

Completed in 49 milliseconds