Lines Matching refs:otg
1549 switch (musb->xceiv->otg->state) { in musb_gadget_wakeup()
1579 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup()
1590 usb_otg_state_string(musb->xceiv->otg->state)); in musb_gadget_wakeup()
1791 musb->xceiv->otg->default_a = 0; in musb_gadget_setup()
1792 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup()
1840 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start() local
1857 otg_set_peripheral(otg, &musb->g); in musb_gadget_start()
1858 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1904 musb->xceiv->otg->state = OTG_STATE_UNDEFINED; in musb_gadget_stop()
1906 otg_set_peripheral(musb->xceiv->otg, NULL); in musb_gadget_stop()
1931 switch (musb->xceiv->otg->state) { in musb_g_resume()
1945 usb_otg_state_string(musb->xceiv->otg->state)); in musb_g_resume()
1957 switch (musb->xceiv->otg->state) { in musb_g_suspend()
1960 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
1975 usb_otg_state_string(musb->xceiv->otg->state)); in musb_g_suspend()
2006 switch (musb->xceiv->otg->state) { in musb_g_disconnect()
2009 usb_otg_state_string(musb->xceiv->otg->state)); in musb_g_disconnect()
2010 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_g_disconnect()
2014 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in musb_g_disconnect()
2021 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_g_disconnect()
2084 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
2087 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
2090 musb->xceiv->otg->state = OTG_STATE_A_PERIPHERAL; in musb_g_reset()