Lines Matching refs:xceiv
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()
438 musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "phys", 0); in dsps_musb_init()
439 if (IS_ERR(musb->xceiv)) in dsps_musb_init()
440 return PTR_ERR(musb->xceiv); in dsps_musb_init()
449 usb_phy_init(musb->xceiv); in dsps_musb_init()
497 usb_phy_shutdown(musb->xceiv); in dsps_musb_exit()
928 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_resume()