Lines Matching refs:xceiv
99 usb_otg_state_string(musb->xceiv->otg->state),
105 switch (musb->xceiv->otg->state) {
110 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE;
119 otg_set_vbus(musb->xceiv->otg, 1);
122 musb->xceiv->otg->state = OTG_STATE_A_IDLE;
123 musb->xceiv->last_event = USB_EVENT_ID;
127 otg_set_vbus(musb->xceiv->otg, 1);
136 musb->xceiv->otg->state = OTG_STATE_B_IDLE;
137 musb->xceiv->last_event = USB_EVENT_VBUS;
145 musb->xceiv->last_event = USB_EVENT_NONE;
147 otg_set_vbus(musb->xceiv->otg, 0);
156 atomic_notifier_call_chain(&musb->xceiv->notifier,
157 musb->xceiv->last_event, NULL);
203 /* We can't totally remove musb->xceiv as of now because
204 * musb core uses xceiv.state and xceiv.otg. Once we have
206 * out of xceiv and then we can start using the generic PHY
209 musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "usb-phy", 0);
211 if (IS_ERR(musb->xceiv)) {
212 status = PTR_ERR(musb->xceiv);