Lines Matching refs:otg
182 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in dsps_musb_try_idle()
184 usb_otg_state_string(musb->xceiv->otg->state)); in dsps_musb_try_idle()
204 usb_otg_state_string(musb->xceiv->otg->state), in dsps_musb_try_idle()
229 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_musb_enable()
270 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
273 switch (musb->xceiv->otg->state) { in otg_timer()
282 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
285 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
294 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
357 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in dsps_interrupt()
363 musb->xceiv->otg->default_a = 1; in dsps_interrupt()
364 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in dsps_interrupt()
369 musb->xceiv->otg->default_a = 0; in dsps_interrupt()
370 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt()
376 usb_otg_state_string(musb->xceiv->otg->state), in dsps_interrupt()
386 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_interrupt()
915 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_resume()