Lines Matching refs:devctl
216 u8 devctl; in otg_timer() local
222 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
223 DBG(7, "poll devctl %02x (%s)\n", devctl, otg_state_string(musb)); in otg_timer()
233 if (devctl & MUSB_DEVCTL_VBUS) { in otg_timer()
257 devctl | MUSB_DEVCTL_SESSION); in otg_timer()
258 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
259 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer()
319 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt() local
361 devctl); in davinci_musb_interrupt()
476 u8 devctl, warn = 0; in davinci_musb_exit() local
482 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in davinci_musb_exit()
483 if (!(devctl & MUSB_DEVCTL_VBUS)) in davinci_musb_exit()
485 if ((devctl & MUSB_DEVCTL_VBUS) != warn) { in davinci_musb_exit()
486 warn = devctl & MUSB_DEVCTL_VBUS; in davinci_musb_exit()
495 if (devctl & MUSB_DEVCTL_VBUS) in davinci_musb_exit()
496 DBG(1, "VBUS off timeout (devctl %02x)\n", devctl); in davinci_musb_exit()