Lines Matching refs:mac_base

75 		mtu3_setbits(mtu->mac_base, U3D_USB3_CONFIG, USB3_EN);  in mtu3_ss_func_set()
77 mtu3_clrbits(mtu->mac_base, U3D_USB3_CONFIG, USB3_EN); in mtu3_ss_func_set()
86 mtu3_setbits(mtu->mac_base, U3D_POWER_MANAGEMENT, in mtu3_hs_softconn_set()
89 mtu3_clrbits(mtu->mac_base, U3D_POWER_MANAGEMENT, in mtu3_hs_softconn_set()
178 void __iomem *mbase = mtu->mac_base; in mtu3_intr_status_clear()
196 mtu3_writel(mtu->mac_base, U3D_LV1IECR, ~0x0); in mtu3_intr_disable()
198 mtu3_writel(mtu->mac_base, U3D_EPIECR, ~0x0); in mtu3_intr_disable()
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()
303 mtu3_setbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
304 mtu3_clrbits(mtu->mac_base, U3D_EP_RST, rst_bit); in mtu3_ep_reset()
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()
508 void __iomem *mbase = mtu->mac_base; in mtu3_deconfig_ep()
548 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
554 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNRXFFSZ); in get_ep_fifo_config()
561 fifosize = mtu3_readl(mtu->mac_base, U3D_CAP_EPNTXFFSZ); in get_ep_fifo_config()
587 csr = mtu3_readl(mtu->mac_base, U3D_EP0CSR); in mtu3_ep0_setup()
591 mtu3_writel(mtu->mac_base, U3D_EP0CSR, csr); in mtu3_ep0_setup()
594 mtu3_writel(mtu->mac_base, U3D_EPIESR, EP0ISR | SETUPENDISR); in mtu3_ep0_setup()
599 void __iomem *mbase = mtu->mac_base; in mtu3_mem_alloc()
653 void __iomem *mbase = mtu->mac_base; in mtu3_regs_init()
671 void __iomem *mbase = mtu->mac_base; in mtu3_link_isr()
738 void __iomem *mbase = mtu->mac_base; in mtu3_u3_ltssm_isr()
769 void __iomem *mbase = mtu->mac_base; in mtu3_u2_common_isr()
799 level1 = mtu3_readl(mtu->mac_base, U3D_LV1ISR); in mtu3_irq()
800 level1 &= mtu3_readl(mtu->mac_base, U3D_LV1IER); in mtu3_irq()
907 value = mtu3_readl(mtu->mac_base, U3D_MISC_CTRL); in mtu3_set_dma_mask()
945 mtu->mac_base = devm_platform_ioremap_resource_byname(pdev, "mac"); in ssusb_gadget_init()
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()
960 mtu->mac_base, mtu->ippc_base); in ssusb_gadget_init()