Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/common/
H A Dusb-otg-fsm.c73 case OTG_STATE_B_PERIPHERAL: in otg_leave_state()
232 case OTG_STATE_B_PERIPHERAL: in otg_set_state()
350 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
359 case OTG_STATE_B_PERIPHERAL: in otg_statemachine()
373 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
380 otg_set_state(fsm, OTG_STATE_B_PERIPHERAL); in otg_statemachine()
H A Dcommon.c56 [OTG_STATE_B_PERIPHERAL] = "b_peripheral", in usb_otg_state_string()
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A 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()
H A 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()
318 OTG_STATE_B_PERIPHERAL : OTG_STATE_B_IDLE; in usb_phy_generic_probe()
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dmusb_core.c347 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
385 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
469 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
486 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
634 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
697 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
758 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
768 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
826 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
830 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
[all …]
H A Dmusb_gadget.c1632 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
2146 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
2173 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
2175 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2234 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2296 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A 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 …]
H A Dmusb_gadget.c1527 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
1935 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
1960 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
1962 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2019 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2085 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
2088 musb->xceiv->otg->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A 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 dwc_handle_gpwrdn_disc_det()
H A Dplatform.c827 dwc2->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_resume()
837 dwc2->op_state == OTG_STATE_B_PERIPHERAL)) { in dwc2_resume()
H A Dgadget.c4284 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4689 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4729 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
4983 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()
H A Dhcd.c2152 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
3233 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
4344 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dphy.h50 OTG_STATE_B_PERIPHERAL, enumerator
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dotg_fsm.c150 if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in b_bus_req_store()
662 case OTG_STATE_B_PERIPHERAL: in ci_otg_fsm_event()
H A Dudc.c1938 } else if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in ci_udc_stop_for_otg_fsm()
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c1265 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
1281 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
1302 case OTG_STATE_B_PERIPHERAL: in rockchip_usb2phy_otg_sm_work()