Home
last modified time | relevance | path

Searched refs:OTG_STATE_B_IDLE (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/drivers/usb/common/
Dusb-otg-fsm.c63 case OTG_STATE_B_IDLE: in otg_leave_state()
209 case OTG_STATE_B_IDLE: in otg_set_state()
338 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
342 case OTG_STATE_B_IDLE: in otg_statemachine()
353 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
357 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
366 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
374 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
380 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
Dcommon.c30 [OTG_STATE_B_IDLE] = "b_idle", in usb_otg_state_string()
/Linux-v4.19/drivers/usb/phy/
Dphy-isp1301-omap.c353 if (isp->phy.otg->state == OTG_STATE_B_IDLE) in b_idle()
365 isp->phy.otg->state = OTG_STATE_B_IDLE; in b_idle()
409 state = OTG_STATE_B_IDLE; in check_state()
495 if (isp->phy.otg->state == OTG_STATE_B_IDLE in update_otg1()
539 case OTG_STATE_B_IDLE: in otg_update_isp()
616 case OTG_STATE_B_IDLE: in otg_update_isp()
946 case OTG_STATE_B_IDLE: in isp_update_otg()
1009 isp->phy.otg->state = OTG_STATE_B_IDLE; in isp_update_otg()
1014 case OTG_STATE_B_IDLE: in isp_update_otg()
1041 case OTG_STATE_B_IDLE: in isp_update_otg()
[all …]
Dphy-mv-usb.c336 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
338 case OTG_STATE_B_IDLE: in mv_otg_update_state()
346 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
350 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
428 case OTG_STATE_B_IDLE: in mv_otg_work()
539 if (mvotg->phy.otg->state != OTG_STATE_B_IDLE in a_bus_req_store()
849 if (mvotg->phy.otg->state != OTG_STATE_B_IDLE) { in mv_otg_suspend()
Dphy-tahvo.c78 case OTG_STATE_B_IDLE: in check_vbus_state()
101 tu->phy.otg->state = OTG_STATE_B_IDLE; in check_vbus_state()
149 tu->phy.otg->state = OTG_STATE_B_IDLE; in tahvo_usb_become_peripheral()
158 tu->phy.otg->state = OTG_STATE_B_IDLE; in tahvo_usb_stop_peripheral()
Dphy-generic.c127 otg->state = OTG_STATE_B_IDLE; in nop_gpio_vbus_thread()
189 otg->state = OTG_STATE_B_IDLE; in nop_set_peripheral()
326 OTG_STATE_B_PERIPHERAL : OTG_STATE_B_IDLE; in usb_phy_generic_probe()
Dphy-gpio-vbus-usb.c144 gpio_vbus->phy.otg->state = OTG_STATE_B_IDLE; in gpio_vbus_work()
Dphy-ab8500-usb.c347 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8505_usb_link_status_update()
433 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8500_usb_link_status_update()
Dphy-fsl-usb.c666 if (!otg || otg->state != OTG_STATE_B_IDLE) in fsl_otg_start_srp()
/Linux-v4.19/drivers/usb/musb/
Dam35x.c143 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
155 case OTG_STATE_B_IDLE: in otg_timer()
272 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in am35x_musb_interrupt()
305 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in am35x_musb_interrupt()
Dda8xx.c145 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
167 case OTG_STATE_B_IDLE: in otg_timer()
296 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in da8xx_musb_interrupt()
317 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in da8xx_musb_interrupt()
Dmusb_dsps.c185 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_musb_enable()
243 case OTG_STATE_B_IDLE: in dsps_check_status()
246 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status()
368 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt()
385 case OTG_STATE_B_IDLE: in dsps_interrupt()
1012 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_resume()
Ddavinci.c216 case OTG_STATE_B_IDLE: in otg_timer()
320 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in davinci_musb_interrupt()
343 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in davinci_musb_interrupt()
Dmusb_virthub.c126 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) { in musb_port_reset()
220 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_root_disconnect()
Dmusb_gadget.c1542 case OTG_STATE_B_IDLE: in musb_gadget_wakeup()
1797 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup()
1862 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1939 case OTG_STATE_B_IDLE: in musb_g_resume()
1965 case OTG_STATE_B_IDLE: in musb_g_suspend()
2027 case OTG_STATE_B_IDLE: in musb_g_disconnect()
2028 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_g_disconnect()
Domap2430.c91 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap2430_musb_set_vbus()
167 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
Dtusb6010.c598 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_musb_set_vbus()
712 if (musb->xceiv->otg->state != OTG_STATE_B_IDLE) { in tusb_otg_ints()
714 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_otg_ints()
Dux500.c115 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_otg_notifications()
Dmusb_core.c577 case OTG_STATE_B_IDLE: in musb_handle_intr_resume()
711 case OTG_STATE_B_IDLE: in musb_handle_intr_suspend()
838 case OTG_STATE_B_IDLE: in musb_handle_intr_disconnect()
890 case OTG_STATE_B_IDLE: in musb_handle_intr_reset()
2356 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_init_controller()
Dsunxi.c113 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in sunxi_musb_work()
/Linux-v4.19/drivers/usb/chipidea/
Dotg_fsm.c353 if (ci->fsm.otg->state == OTG_STATE_B_IDLE) in b_ssend_srp_tmout()
614 } else if (ci->fsm.otg->state == OTG_STATE_B_IDLE) { in ci_otg_fsm_work()
654 case OTG_STATE_B_IDLE: in ci_otg_fsm_event()
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c560 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
564 case OTG_STATE_B_IDLE: in rockchip_usb2phy_otg_sm_work()
632 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
641 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
/Linux-v4.19/include/linux/usb/
Dphy.h47 OTG_STATE_B_IDLE, enumerator