Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/common/
Dusb-otg-fsm.c63 case OTG_STATE_B_IDLE: in otg_leave_state()
213 case OTG_STATE_B_IDLE: in otg_set_state()
342 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
346 case OTG_STATE_B_IDLE: in otg_statemachine()
357 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
361 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
370 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
378 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
384 otg_set_state(fsm, OTG_STATE_B_IDLE); in otg_statemachine()
Dcommon.c54 [OTG_STATE_B_IDLE] = "b_idle", in usb_otg_state_string()
/linux-6.1.9/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.c334 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
336 case OTG_STATE_B_IDLE: in mv_otg_update_state()
344 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
348 mvotg->phy.otg->state = OTG_STATE_B_IDLE; in mv_otg_update_state()
424 case OTG_STATE_B_IDLE: in mv_otg_work()
535 if (mvotg->phy.otg->state != OTG_STATE_B_IDLE in a_bus_req_store()
836 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.c126 otg->state = OTG_STATE_B_IDLE; in nop_gpio_vbus_thread()
188 otg->state = OTG_STATE_B_IDLE; in nop_set_peripheral()
315 OTG_STATE_B_PERIPHERAL : OTG_STATE_B_IDLE; in usb_phy_generic_probe()
Dphy-gpio-vbus-usb.c137 gpio_vbus->phy.otg->state = OTG_STATE_B_IDLE; in gpio_vbus_work()
Dphy-ab8500-usb.c349 ab->phy.otg->state = OTG_STATE_B_IDLE; in ab8505_usb_link_status_update()
456 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-6.1.9/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.c188 if (musb->xceiv->otg->state == OTG_STATE_B_IDLE) in dsps_musb_enable()
249 case OTG_STATE_B_IDLE: in dsps_check_status()
252 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_check_status()
378 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in dsps_interrupt()
395 case OTG_STATE_B_IDLE: in dsps_interrupt()
1025 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.c1535 case OTG_STATE_B_IDLE: in musb_gadget_wakeup()
1788 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_setup()
1853 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_gadget_start()
1928 case OTG_STATE_B_IDLE: in musb_g_resume()
1954 case OTG_STATE_B_IDLE: in musb_g_suspend()
2016 case OTG_STATE_B_IDLE: in musb_g_disconnect()
2017 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_g_disconnect()
Dmpfs.c100 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mpfs_musb_set_vbus()
Dtusb6010.c600 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_musb_set_vbus()
714 if (musb->xceiv->otg->state != OTG_STATE_B_IDLE) { in tusb_otg_ints()
716 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in tusb_otg_ints()
Dmusb_core.c552 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_set_peripheral()
719 case OTG_STATE_B_IDLE: in musb_handle_intr_resume()
853 case OTG_STATE_B_IDLE: in musb_handle_intr_suspend()
979 case OTG_STATE_B_IDLE: in musb_handle_intr_disconnect()
1031 case OTG_STATE_B_IDLE: in musb_handle_intr_reset()
2535 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_init_controller()
Dux500.c115 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in musb_otg_notifications()
Domap2430.c136 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in omap_musb_set_mailbox()
Dmediatek.c87 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in mtk_otg_switch_set()
Dsunxi.c113 musb->xceiv->otg->state = OTG_STATE_B_IDLE; in sunxi_musb_work()
/linux-6.1.9/drivers/usb/chipidea/
Dotg_fsm.c355 if (ci->fsm.otg->state == OTG_STATE_B_IDLE) in b_ssend_srp_tmout()
623 } else if (ci->fsm.otg->state == OTG_STATE_B_IDLE) { in ci_otg_fsm_work()
663 case OTG_STATE_B_IDLE: in ci_otg_fsm_event()
/linux-6.1.9/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c566 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
570 case OTG_STATE_B_IDLE: in rockchip_usb2phy_otg_sm_work()
638 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
647 rport->state = OTG_STATE_B_IDLE; in rockchip_usb2phy_otg_sm_work()
/linux-6.1.9/include/linux/usb/
Dphy.h47 OTG_STATE_B_IDLE, enumerator