Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/common/
Dusb-otg-fsm.c70 case OTG_STATE_B_IDLE: in otg_leave_state()
132 case OTG_STATE_B_IDLE: in otg_set_state()
258 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
262 case OTG_STATE_B_IDLE: in otg_statemachine()
273 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
277 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
286 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
294 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
300 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
Dcommon.c32 [OTG_STATE_B_IDLE] = "b_idle", in usb_otg_state_string()
/linux-4.1.27/drivers/usb/phy/
Dphy-isp1301-omap.c366 if (isp->phy.otg->state == OTG_STATE_B_IDLE) in b_idle()
378 isp->phy.otg->state = OTG_STATE_B_IDLE; in b_idle()
422 state = OTG_STATE_B_IDLE; in check_state()
508 if (isp->phy.otg->state == OTG_STATE_B_IDLE in update_otg1()
552 case OTG_STATE_B_IDLE: in otg_update_isp()
629 case OTG_STATE_B_IDLE: in otg_update_isp()
959 case OTG_STATE_B_IDLE: in isp_update_otg()
1022 isp->phy.otg->state = OTG_STATE_B_IDLE; in isp_update_otg()
1027 case OTG_STATE_B_IDLE: in isp_update_otg()
1054 case OTG_STATE_B_IDLE: in isp_update_otg()
[all …]
Dphy-tahvo.c85 case OTG_STATE_B_IDLE: in check_vbus_state()
108 tu->phy.otg->state = OTG_STATE_B_IDLE; in check_vbus_state()
156 tu->phy.otg->state = OTG_STATE_B_IDLE; in tahvo_usb_become_peripheral()
165 tu->phy.otg->state = OTG_STATE_B_IDLE; in tahvo_usb_stop_peripheral()
Dphy-mv-usb.c345 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
347 case OTG_STATE_B_IDLE: in mv_otg_update_state()
355 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
359 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
437 case OTG_STATE_B_IDLE: in mv_otg_work()
549 if (mvotg->phy.otg->state != OTG_STATE_B_IDLE in set_a_bus_req()
860 if (mvotg->phy.otg->state != OTG_STATE_B_IDLE) { in mv_otg_suspend()
Dphy-generic.c133 otg->state = OTG_STATE_B_IDLE; in nop_gpio_vbus_thread()
187 otg->state = OTG_STATE_B_IDLE; in nop_set_peripheral()
Dphy-msm-usb.c1170 otg->state = OTG_STATE_B_IDLE; in msm_otg_sm_work()
1172 case OTG_STATE_B_IDLE: in msm_otg_sm_work()
1227 if (otg->state == OTG_STATE_B_IDLE) in msm_otg_sm_work()
1238 otg->state = OTG_STATE_B_IDLE; in msm_otg_sm_work()
1247 otg->state = OTG_STATE_B_IDLE; in msm_otg_sm_work()
1362 case OTG_STATE_B_IDLE: in msm_otg_mode_write()
1373 case OTG_STATE_B_IDLE: in msm_otg_mode_write()
Dphy-ab8500-usb.c447 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab9540_usb_link_status_update()
590 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8540_usb_link_status_update()
703 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8505_usb_link_status_update()
789 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8500_usb_link_status_update()
Dphy-gpio-vbus-usb.c147 gpio_vbus->phy.otg->state = OTG_STATE_B_IDLE; in gpio_vbus_work()
Dphy-fsl-usb.c683 if (!otg || otg->state != OTG_STATE_B_IDLE) in fsl_otg_start_srp()
/linux-4.1.27/drivers/usb/musb/
Dda8xx.c211 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
233 case OTG_STATE_B_IDLE: in otg_timer()
357 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in da8xx_musb_interrupt()
378 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in da8xx_musb_interrupt()
Dam35x.c162 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
174 case OTG_STATE_B_IDLE: in otg_timer()
294 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in am35x_musb_interrupt()
327 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in am35x_musb_interrupt()
Dmusb_dsps.c229 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_musb_enable()
280 case OTG_STATE_B_IDLE: in otg_timer()
282 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in otg_timer()
370 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt()
386 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_interrupt()
915 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE && in dsps_resume()
Domap2430.c73 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_do_idle()
99 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_do_idle()
195 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap2430_musb_set_vbus()
283 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
Ddavinci.c235 case OTG_STATE_B_IDLE: in otg_timer()
341 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in davinci_musb_interrupt()
364 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in davinci_musb_interrupt()
Dmusb_virthub.c148 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) { in musb_port_reset()
240 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_root_disconnect()
Dblackfin.c223 if ((musb->xceiv->otg->state == OTG_STATE_B_IDLE in blackfin_interrupt()
267 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_conn_timer_handler()
271 case OTG_STATE_B_IDLE: in musb_conn_timer_handler()
Dmusb_gadget.c1558 case OTG_STATE_B_IDLE: in musb_gadget_wakeup()
1792 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup()
1858 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1932 case OTG_STATE_B_IDLE: in musb_g_resume()
1958 case OTG_STATE_B_IDLE: in musb_g_suspend()
2020 case OTG_STATE_B_IDLE: in musb_g_disconnect()
2021 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_g_disconnect()
Dtusb6010.c603 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_musb_set_vbus()
717 if (musb->xceiv->otg->state != OTG_STATE_B_IDLE) { in tusb_otg_ints()
719 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_otg_ints()
Dux500.c130 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_otg_notifications()
Dmusb_core.c591 case OTG_STATE_B_IDLE: in musb_stage0_irq()
724 case OTG_STATE_B_IDLE: in musb_stage0_irq()
851 case OTG_STATE_B_IDLE: in musb_stage0_irq()
904 case OTG_STATE_B_IDLE: in musb_stage0_irq()
2133 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_init_controller()
/linux-4.1.27/drivers/usb/chipidea/
Dotg_fsm.c339 if (ci->fsm.otg->state == OTG_STATE_B_IDLE) in b_ssend_srp_tmout()
590 } else if (ci->fsm.otg->state == OTG_STATE_B_IDLE) { in ci_otg_fsm_work()
630 case OTG_STATE_B_IDLE: in ci_otg_fsm_event()
/linux-4.1.27/include/linux/usb/
Dphy.h44 OTG_STATE_B_IDLE, enumerator