Lines Matching refs:xceiv
459 switch (musb->xceiv->otg->state) { in musb_do_idle()
465 usb_otg_state_string(musb->xceiv->otg->state)); in musb_do_idle()
518 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in tusb_musb_try_idle()
520 usb_otg_state_string(musb->xceiv->otg->state)); in tusb_musb_try_idle()
537 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_try_idle()
554 struct usb_otg *otg = musb->xceiv->otg; in tusb_musb_set_vbus()
568 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in tusb_musb_set_vbus()
581 switch (musb->xceiv->otg->state) { in tusb_musb_set_vbus()
584 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in tusb_musb_set_vbus()
587 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus()
590 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in tusb_musb_set_vbus()
598 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_musb_set_vbus()
613 usb_otg_state_string(musb->xceiv->otg->state), in tusb_musb_set_vbus()
680 struct usb_otg *otg = musb->xceiv->otg; in tusb_otg_ints()
712 if (musb->xceiv->otg->state != OTG_STATE_B_IDLE) { in tusb_otg_ints()
714 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_otg_ints()
720 usb_otg_state_string(musb->xceiv->otg->state), otg_stat); in tusb_otg_ints()
726 usb_otg_state_string(musb->xceiv->otg->state), otg_stat); in tusb_otg_ints()
728 switch (musb->xceiv->otg->state) { in tusb_otg_ints()
775 usb_otg_state_string(musb->xceiv->otg->state), otg_stat); in tusb_otg_ints()
777 switch (musb->xceiv->otg->state) { in tusb_otg_ints()
789 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in tusb_otg_ints()
1097 musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); in tusb_musb_init()
1098 if (IS_ERR_OR_NULL(musb->xceiv)) in tusb_musb_init()
1137 musb->xceiv->set_power = tusb_draw_power; in tusb_musb_init()
1147 usb_put_phy(musb->xceiv); in tusb_musb_init()
1162 usb_put_phy(musb->xceiv); in tusb_musb_exit()