Lines Matching refs:otg
201 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
204 switch (musb->xceiv->otg->state) { in otg_timer()
211 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
214 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
229 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
251 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
268 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in da8xx_musb_try_idle()
270 usb_otg_state_string(musb->xceiv->otg->state)); in da8xx_musb_try_idle()
283 usb_otg_state_string(musb->xceiv->otg->state), in da8xx_musb_try_idle()
292 struct usb_otg *otg = musb->xceiv->otg; in da8xx_musb_interrupt() local
344 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in da8xx_musb_interrupt()
349 otg->default_a = 1; in da8xx_musb_interrupt()
350 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in da8xx_musb_interrupt()
364 otg->default_a = 0; in da8xx_musb_interrupt()
365 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in da8xx_musb_interrupt()
371 usb_otg_state_string(musb->xceiv->otg->state), in da8xx_musb_interrupt()
386 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in da8xx_musb_interrupt()