Lines Matching refs:mregs
201 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt()
204 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in sunxi_musb_interrupt()
205 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in sunxi_musb_interrupt()
207 musb_writew(musb->mregs, MUSB_INTRTX, musb->int_tx); in sunxi_musb_interrupt()
208 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in sunxi_musb_interrupt()
210 musb_writew(musb->mregs, MUSB_INTRRX, musb->int_rx); in sunxi_musb_interrupt()
228 musb_ep_select(musb->mregs, 0); in sunxi_musb_enable()
229 musb_writeb(musb->mregs, MUSB_FADDR, 0); in sunxi_musb_enable()
235 musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0); in sunxi_musb_enable()
257 USBC_ForceVbusValidToHigh(musb->mregs); in sunxi_musb_enable()
281 USBC_ForceVbusValidToLow(musb->mregs); in sunxi_musb_disable()
314 USBC_EnableDpDmPullUp(musb->mregs); in sunxi_musb_init()
315 USBC_EnableIdPullUp(musb->mregs); in sunxi_musb_init()
319 USBC_ForceIdToLow(musb->mregs); in sunxi_musb_init()
322 USBC_ForceIdToHigh(musb->mregs); in sunxi_musb_init()
324 USBC_ForceVbusValidToHigh(musb->mregs); in sunxi_musb_init()