Home
last modified time | relevance | path

Searched refs:OTG_STATE_B_PERIPHERAL (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/usb/common/
Dusb-otg-fsm.c73 case OTG_STATE_B_PERIPHERAL: in otg_leave_state()
228 case OTG_STATE_B_PERIPHERAL: in otg_set_state()
346 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
355 case OTG_STATE_B_PERIPHERAL: in otg_statemachine()
369 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
376 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
Dcommon.c50 [OTG_STATE_B_PERIPHERAL] = "b_peripheral", in usb_otg_state_string()
/Linux-v5.10/drivers/usb/phy/
Dphy-generic.c114 otg->state = OTG_STATE_B_PERIPHERAL; in nop_gpio_vbus_thread()
184 if (otg->state == OTG_STATE_B_PERIPHERAL) in nop_set_peripheral()
311 OTG_STATE_B_PERIPHERAL : OTG_STATE_B_IDLE; in usb_phy_generic_probe()
Dphy-isp1301-omap.c415 state = OTG_STATE_B_PERIPHERAL; in check_state()
540 case OTG_STATE_B_PERIPHERAL: in otg_update_isp()
619 isp->phy.otg->state = OTG_STATE_B_PERIPHERAL; in otg_update_isp()
681 isp->phy.otg->state = OTG_STATE_B_PERIPHERAL; in omap_otg_irq()
926 isp->phy.otg->state = OTG_STATE_B_PERIPHERAL; in b_peripheral()
973 case OTG_STATE_B_PERIPHERAL: in isp_update_otg()
1021 case OTG_STATE_B_PERIPHERAL: in isp_update_otg()
1393 if (dev->otg->state == OTG_STATE_B_PERIPHERAL) in isp1301_set_power()
1444 isp->phy.otg->state = OTG_STATE_B_PERIPHERAL; in isp1301_start_hnp()
Dphy-gpio-vbus-usb.c114 gpio_vbus->phy.otg->state = OTG_STATE_B_PERIPHERAL; in gpio_vbus_work()
208 if (phy->otg->state == OTG_STATE_B_PERIPHERAL) in gpio_vbus_set_power()
Dphy-mv-usb.c340 mvotg->phy.otg->state = OTG_STATE_B_PERIPHERAL; in mv_otg_update_state()
342 case OTG_STATE_B_PERIPHERAL: in mv_otg_update_state()
426 if (old_state == OTG_STATE_B_PERIPHERAL) in mv_otg_work()
432 case OTG_STATE_B_PERIPHERAL: in mv_otg_work()
Dphy-tahvo.c82 tu->phy.otg->state = OTG_STATE_B_PERIPHERAL; in check_vbus_state()
98 case OTG_STATE_B_PERIPHERAL: in check_vbus_state()
/Linux-v5.10/drivers/usb/musb/
Dmusb_core.c606 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
645 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
688 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_resume()
705 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_resume()
856 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_suspend()
912 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_connect()
968 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_disconnect()
977 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_disconnect()
1027 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
1031 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_handle_intr_reset()
[all …]
Dmusb_gadget.c1522 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
1930 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
1955 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
1957 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2014 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2080 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
2083 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
/Linux-v5.10/drivers/usb/dwc2/
Dcore_intr.c66 case OTG_STATE_B_PERIPHERAL: in dwc2_op_state_str()
133 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
717 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_gpwrdn_intr()
Dgadget.c4201 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4591 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4631 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
4885 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()
Dhcd.c2147 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
3210 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
4321 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()
/Linux-v5.10/include/linux/usb/
Dphy.h49 OTG_STATE_B_PERIPHERAL, enumerator
/Linux-v5.10/drivers/usb/chipidea/
Dotg_fsm.c150 if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in b_bus_req_store()
660 case OTG_STATE_B_PERIPHERAL: in ci_otg_fsm_event()
Dudc.c1935 } else if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in ci_udc_stop_for_otg_fsm()
/Linux-v5.10/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c567 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
582 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
613 case OTG_STATE_B_PERIPHERAL: in rockchip_usb2phy_otg_sm_work()