Lines Matching refs:xceiv
43 struct usb_otg *otg = musb->xceiv->otg; in omap2430_musb_set_vbus()
54 if (musb->xceiv->otg->state == OTG_STATE_A_IDLE) { in omap2430_musb_set_vbus()
80 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap2430_musb_set_vbus()
91 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap2430_musb_set_vbus()
100 usb_otg_state_string(musb->xceiv->otg->state), in omap2430_musb_set_vbus()
155 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox()
156 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox()
167 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
168 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox()
176 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox()
181 otg_set_vbus(musb->xceiv->otg, 0); in omap_musb_set_mailbox()
191 atomic_notifier_call_chain(&musb->xceiv->notifier, in omap_musb_set_mailbox()
192 musb->xceiv->last_event, NULL); in omap_musb_set_mailbox()
245 musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "usb-phy", 0); in omap2430_musb_init()
247 if (IS_ERR(musb->xceiv)) { in omap2430_musb_init()
248 status = PTR_ERR(musb->xceiv); in omap2430_musb_init()