• Home
  • Raw
  • Download

Lines Matching refs:otg

68 	switch (musb->xceiv->otg->state) {  in musb_do_idle()
73 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_do_idle()
76 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in musb_do_idle()
93 musb->xceiv->otg->state = OTG_STATE_A_HOST; in musb_do_idle()
99 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_do_idle()
101 musb->xceiv->otg->state = OTG_STATE_A_WAIT_BCON; in musb_do_idle()
119 && (musb->xceiv->otg->state == OTG_STATE_A_WAIT_BCON))) { in omap2430_musb_try_idle()
121 usb_otg_state_string(musb->xceiv->otg->state)); in omap2430_musb_try_idle()
138 usb_otg_state_string(musb->xceiv->otg->state), in omap2430_musb_try_idle()
145 struct usb_otg *otg = musb->xceiv->otg; in omap2430_musb_set_vbus() local
156 if (musb->xceiv->otg->state == OTG_STATE_A_IDLE) { in omap2430_musb_set_vbus()
179 otg_set_vbus(otg, 1); in omap2430_musb_set_vbus()
182 otg->default_a = 1; in omap2430_musb_set_vbus()
183 musb->xceiv->otg->state = OTG_STATE_A_WAIT_VRISE; in omap2430_musb_set_vbus()
194 otg->default_a = 0; in omap2430_musb_set_vbus()
195 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap2430_musb_set_vbus()
204 usb_otg_state_string(musb->xceiv->otg->state), in omap2430_musb_set_vbus()
262 struct usb_otg *otg = musb->xceiv->otg; in omap_musb_set_mailbox() local
268 otg->default_a = true; in omap_musb_set_mailbox()
269 musb->xceiv->otg->state = OTG_STATE_A_IDLE; in omap_musb_set_mailbox()
282 otg->default_a = false; in omap_musb_set_mailbox()
283 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
302 otg_set_vbus(musb->xceiv->otg, 0); in omap_musb_set_mailbox()