Lines Matching refs:xceiv
505 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_set_host()
552 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_set_peripheral()
602 switch (musb->xceiv->otg->state) { in musb_otg_timer_func()
607 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
613 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
615 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func()
619 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
634 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
636 switch (musb->xceiv->otg->state) { in musb_hnp_stop()
640 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
646 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
655 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
671 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
674 switch (musb->xceiv->otg->state) { in musb_handle_intr_resume()
682 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_resume()
689 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_resume()
696 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
699 switch (musb->xceiv->otg->state) { in musb_handle_intr_resume()
702 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_resume()
725 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
742 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_sessreq()
753 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_handle_intr_sessreq()
780 switch (musb->xceiv->otg->state) { in musb_handle_intr_vbuserr()
809 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_vbuserr()
834 usb_otg_state_string(musb->xceiv->otg->state), devctl); in musb_handle_intr_suspend()
836 switch (musb->xceiv->otg->state) { in musb_handle_intr_suspend()
861 musb->xceiv->otg->state = OTG_STATE_B_WAIT_ACON; in musb_handle_intr_suspend()
874 musb->xceiv->otg->state = OTG_STATE_A_SUSPEND; in musb_handle_intr_suspend()
912 switch (musb->xceiv->otg->state) { in musb_handle_intr_connect()
924 musb->xceiv->otg->state = OTG_STATE_B_HOST; in musb_handle_intr_connect()
932 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_connect()
942 usb_otg_state_string(musb->xceiv->otg->state), devctl); in musb_handle_intr_connect()
948 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_disconnect()
951 switch (musb->xceiv->otg->state) { in musb_handle_intr_disconnect()
969 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_disconnect()
984 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_disconnect()
1008 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
1009 switch (musb->xceiv->otg->state) { in musb_handle_intr_reset()
1016 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_reset()
1027 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
1028 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
1032 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
1039 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
1219 musb->xceiv->otg->state != OTG_STATE_A_WAIT_BCON && in musb_start()
1866 ret = sprintf(buf, "%s\n", usb_otg_state_string(musb->xceiv->otg->state)); in mode_show()
1911 if (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON) in vbus_store()
2092 if (musb->xceiv->otg->state != musb->xceiv_old_state) { in musb_irq_work()
2093 musb->xceiv_old_state = musb->xceiv->otg->state; in musb_irq_work()
2456 if (!musb->xceiv->io_ops) { in musb_init_controller()
2457 musb->xceiv->io_dev = musb->controller; in musb_init_controller()
2458 musb->xceiv->io_priv = musb->mregs; in musb_init_controller()
2459 musb->xceiv->io_ops = &musb_ulpi_access; in musb_init_controller()
2477 status = usb_phy_init(musb->xceiv); in musb_init_controller()
2535 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_init_controller()
2585 usb_phy_shutdown(musb->xceiv); in musb_init_controller()
2664 usb_phy_shutdown(musb->xceiv); in musb_remove()