Home
last modified time | relevance | path

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

/openbmc/linux/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.c57 [OTG_STATE_B_PERIPHERAL] = "b_peripheral", in usb_otg_state_string()
/openbmc/linux/drivers/usb/phy/
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()
312 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()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.c346 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_otg_timer_func()
384 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_hnp_stop()
468 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
485 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
633 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
696 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
757 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
767 case OTG_STATE_B_PERIPHERAL: in musb_stage0_irq()
825 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
829 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_stage0_irq()
[all …]
H A Dmusb_gadget.c1631 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
2156 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
2183 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_suspend()
2185 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2244 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2306 musb->xceiv->state = OTG_STATE_B_PERIPHERAL; in musb_g_reset()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_core.c607 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_otg_timer_func()
644 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_hnp_stop()
686 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_resume()
703 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_resume()
853 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_suspend()
909 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_connect()
965 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_disconnect()
974 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_disconnect()
1023 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_reset()
1027 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_reset()
[all …]
H A Dmusb_gadget.c1534 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
1947 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
1972 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_suspend()
1974 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2031 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2097 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_reset()
2100 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_reset()
/openbmc/linux/drivers/usb/dwc2/
H A Dcore_intr.c36 case OTG_STATE_B_PERIPHERAL: in dwc2_op_state_str()
103 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
726 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc_handle_gpwrdn_disc_det()
H A Dgadget.c4260 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4677 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4721 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
5010 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()
H A Dhcd.c2113 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
3191 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
4342 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()
/openbmc/linux/include/linux/usb/
H A Dphy.h49 OTG_STATE_B_PERIPHERAL, enumerator
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c150 if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in b_bus_req_store()
669 case OTG_STATE_B_PERIPHERAL: in ci_otg_fsm_event()
H A Dudc.c1985 } else if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in ci_udc_stop_for_otg_fsm()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c669 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
684 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
715 case OTG_STATE_B_PERIPHERAL: in rockchip_usb2phy_otg_sm_work()