Lines Matching refs:xceiv
95 usb_otg_state_string(musb->xceiv->otg->state),
101 switch (musb->xceiv->otg->state) {
106 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE;
115 otg_set_vbus(musb->xceiv->otg, 1);
118 musb->xceiv->otg->state = OTG_STATE_A_IDLE;
119 musb->xceiv->last_event = USB_EVENT_ID;
123 otg_set_vbus(musb->xceiv->otg, 1);
132 musb->xceiv->otg->state = OTG_STATE_B_IDLE;
133 musb->xceiv->last_event = USB_EVENT_VBUS;
141 musb->xceiv->last_event = USB_EVENT_NONE;
143 otg_set_vbus(musb->xceiv->otg, 0);
152 atomic_notifier_call_chain(&musb->xceiv->notifier,
153 musb->xceiv->last_event, NULL);
199 /* We can't totally remove musb->xceiv as of now because
200 * musb core uses xceiv.state and xceiv.otg. Once we have
202 * out of xceiv and then we can start using the generic PHY
205 musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "usb-phy", 0);
207 if (IS_ERR(musb->xceiv)) {
208 status = PTR_ERR(musb->xceiv);