Lines Matching refs:otg
152 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
155 switch (musb->xceiv->otg->state) { in otg_timer()
162 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
165 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
170 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
179 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
196 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in am35x_musb_try_idle()
198 usb_otg_state_string(musb->xceiv->otg->state)); in am35x_musb_try_idle()
211 usb_otg_state_string(musb->xceiv->otg->state), in am35x_musb_try_idle()
223 struct usb_otg *otg = musb->xceiv->otg; in am35x_musb_interrupt() local
281 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in am35x_musb_interrupt()
286 otg->default_a = 1; in am35x_musb_interrupt()
287 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in am35x_musb_interrupt()
293 otg->default_a = 0; in am35x_musb_interrupt()
294 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in am35x_musb_interrupt()
301 usb_otg_state_string(musb->xceiv->otg->state), in am35x_musb_interrupt()
327 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in am35x_musb_interrupt()