Lines Matching refs:xceiv
1636 switch (musb->xceiv->state) { in musb_gadget_wakeup()
1666 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup()
1677 otg_state_string(musb->xceiv->state)); in musb_gadget_wakeup()
1747 if (!musb->xceiv->set_power) in musb_gadget_vbus_draw()
1749 return usb_phy_set_power(musb->xceiv, mA); in musb_gadget_vbus_draw()
1982 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start()
2006 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_gadget_start()
2037 if ((musb->xceiv->last_event == USB_EVENT_ID) in musb_gadget_start()
2043 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_start()
2109 if (musb->xceiv->last_event == USB_EVENT_NONE) in musb_gadget_stop()
2123 musb->xceiv->state = OTG_STATE_UNDEFINED; in musb_gadget_stop()
2125 otg_set_peripheral(musb->xceiv->otg, NULL); in musb_gadget_stop()
2158 switch (musb->xceiv->state) { in musb_g_resume()
2172 otg_state_string(musb->xceiv->state)); in musb_g_resume()
2186 switch (musb->xceiv->state) { in musb_g_suspend()
2189 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
2204 otg_state_string(musb->xceiv->state)); in musb_g_suspend()
2237 switch (musb->xceiv->state) { in musb_g_disconnect()
2240 otg_state_string(musb->xceiv->state)); in musb_g_disconnect()
2241 musb->xceiv->state = OTG_STATE_A_IDLE; in musb_g_disconnect()
2245 musb->xceiv->state = OTG_STATE_A_WAIT_BCON; in musb_g_disconnect()
2252 musb->xceiv->state = OTG_STATE_B_IDLE; in musb_g_disconnect()
2312 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
2315 musb->xceiv->state = OTG_STATE_A_PERIPHERAL; in musb_g_reset()