Lines Matching full:otg
65 musb->xceiv->otg->default_a = 1; in mpfs_musb_set_vbus()
66 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in mpfs_musb_set_vbus()
76 musb->xceiv->otg->default_a = 0; in mpfs_musb_set_vbus()
77 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mpfs_musb_set_vbus()
86 usb_otg_state_string(musb->xceiv->otg->state), in mpfs_musb_set_vbus()
101 * We poll because PolarFire SoC won't expose several OTG-critical in otg_timer()
106 usb_otg_state_string(musb->xceiv->otg->state)); in otg_timer()
109 switch (musb->xceiv->otg->state) { in otg_timer()
116 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
120 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
129 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in otg_timer()
149 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in otg_timer()
166 musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON)) { in mpfs_musb_try_idle()
168 usb_otg_state_string(musb->xceiv->otg->state)); in mpfs_musb_try_idle()
181 usb_otg_state_string(musb->xceiv->otg->state), in mpfs_musb_try_idle()
206 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in mpfs_musb_interrupt()
310 dev_info(dev, "No dr_mode property found, defaulting to otg\n"); in mpfs_probe()