Lines Matching refs:reg_base
98 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_enable() local
105 musb_writel(reg_base, EP_INTR_MASK_SET_REG, epmask); in am35x_musb_enable()
106 musb_writel(reg_base, CORE_INTR_MASK_SET_REG, AM35X_INTR_USB_MASK); in am35x_musb_enable()
110 musb_writel(reg_base, CORE_INTR_SRC_SET_REG, in am35x_musb_enable()
122 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_disable() local
124 musb_writel(reg_base, CORE_INTR_MASK_CLEAR_REG, AM35X_INTR_USB_MASK); in am35x_musb_disable()
125 musb_writel(reg_base, EP_INTR_MASK_CLEAR_REG, in am35x_musb_disable()
128 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_disable()
230 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_interrupt() local
255 epintr = musb_readl(reg_base, EP_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
258 musb_writel(reg_base, EP_INTR_SRC_CLEAR_REG, epintr); in am35x_musb_interrupt()
267 usbintr = musb_readl(reg_base, CORE_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
272 musb_writel(reg_base, CORE_INTR_SRC_CLEAR_REG, usbintr); in am35x_musb_interrupt()
287 int drvvbus = musb_readl(reg_base, USB_STAT_REG); in am35x_musb_interrupt()
344 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_interrupt()
385 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_init() local
391 rev = musb_readl(reg_base, USB_REVISION_REG); in am35x_musb_init()
410 musb_writel(reg_base, USB_CTRL_REG, AM35X_SOFT_RESET_MASK); in am35x_musb_init()