Lines Matching refs:xceiv

460 	switch (musb->xceiv->otg->state) {  in musb_otg_timer_func()
465 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
471 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
473 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VFALL; in musb_otg_timer_func()
477 usb_otg_state_string(musb->xceiv->otg->state)); in musb_otg_timer_func()
492 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
494 switch (musb->xceiv->otg->state) { in musb_hnp_stop()
498 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
504 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
513 usb_otg_state_string(musb->xceiv->otg->state)); in musb_hnp_stop()
529 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
532 switch (musb->xceiv->otg->state) { in musb_handle_intr_resume()
540 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_resume()
547 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_resume()
554 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
557 switch (musb->xceiv->otg->state) { in musb_handle_intr_resume()
560 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_resume()
583 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_resume()
600 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_sessreq()
611 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_handle_intr_sessreq()
638 switch (musb->xceiv->otg->state) { in musb_handle_intr_vbuserr()
667 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_vbuserr()
692 usb_otg_state_string(musb->xceiv->otg->state), devctl); in musb_handle_intr_suspend()
694 switch (musb->xceiv->otg->state) { in musb_handle_intr_suspend()
719 musb->xceiv->otg->state = OTG_STATE_B_WAIT_ACON; in musb_handle_intr_suspend()
732 musb->xceiv->otg->state = OTG_STATE_A_SUSPEND; in musb_handle_intr_suspend()
770 switch (musb->xceiv->otg->state) { in musb_handle_intr_connect()
782 musb->xceiv->otg->state = OTG_STATE_B_HOST; in musb_handle_intr_connect()
790 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_handle_intr_connect()
800 usb_otg_state_string(musb->xceiv->otg->state), devctl); in musb_handle_intr_connect()
806 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_disconnect()
809 switch (musb->xceiv->otg->state) { in musb_handle_intr_disconnect()
827 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_disconnect()
843 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_disconnect()
867 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
868 switch (musb->xceiv->otg->state) { in musb_handle_intr_reset()
875 usb_otg_state_string(musb->xceiv->otg->state), in musb_handle_intr_reset()
886 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
887 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
891 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
898 usb_otg_state_string(musb->xceiv->otg->state)); in musb_handle_intr_reset()
1080 musb->xceiv->otg->state != OTG_STATE_A_WAIT_BCON && in musb_start()
1726 ret = sprintf(buf, "%s\n", usb_otg_state_string(musb->xceiv->otg->state)); in mode_show()
1771 if (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON) in vbus_store()
1934 if (musb->xceiv->otg->state != musb->xceiv_old_state) { in musb_irq_work()
1935 musb->xceiv_old_state = musb->xceiv->otg->state; in musb_irq_work()
2280 if (!musb->xceiv->io_ops) { in musb_init_controller()
2281 musb->xceiv->io_dev = musb->controller; in musb_init_controller()
2282 musb->xceiv->io_priv = musb->mregs; in musb_init_controller()
2283 musb->xceiv->io_ops = &musb_ulpi_access; in musb_init_controller()
2301 status = usb_phy_init(musb->xceiv); in musb_init_controller()
2356 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_init_controller()
2416 usb_phy_shutdown(musb->xceiv); in musb_init_controller()
2497 usb_phy_shutdown(musb->xceiv); in musb_remove()