Lines Matching refs:reg_base
162 void __iomem *reg_base = musb->ctrl_base; in dsps_musb_enable() local
170 dsps_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
171 dsps_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()
175 dsps_writel(reg_base, wrp->coreintr_set, in dsps_musb_enable()
192 void __iomem *reg_base = musb->ctrl_base; in dsps_musb_disable() local
194 dsps_writel(reg_base, wrp->coreintr_clear, wrp->usb_bitmap); in dsps_musb_disable()
195 dsps_writel(reg_base, wrp->epintr_clear, in dsps_musb_disable()
198 dsps_writel(reg_base, wrp->eoi, 0); in dsps_musb_disable()
299 void __iomem *reg_base = musb->ctrl_base; in dsps_interrupt() local
315 epintr = dsps_readl(reg_base, wrp->epintr_status); in dsps_interrupt()
320 dsps_writel(reg_base, wrp->epintr_status, epintr); in dsps_interrupt()
323 usbintr = dsps_readl(reg_base, wrp->coreintr_status); in dsps_interrupt()
329 dsps_writel(reg_base, wrp->coreintr_status, usbintr); in dsps_interrupt()
346 int drvvbus = dsps_readl(reg_base, wrp->status); in dsps_interrupt()
399 dsps_writel(reg_base, wrp->eoi, 1); in dsps_interrupt()
426 void __iomem *reg_base = musb->ctrl_base; in dsps_musb_init() local
442 rev = dsps_readl(reg_base, wrp->revision); in dsps_musb_init()
454 dsps_writel(reg_base, wrp->control, (1 << wrp->reset)); in dsps_musb_init()
463 val = dsps_readl(reg_base, wrp->phy_utmi); in dsps_musb_init()
468 dsps_writel(reg_base, wrp->eoi, 0); in dsps_musb_init()