Home
last modified time | relevance | path

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

/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.c63 [OTG_STATE_B_PERIPHERAL] = "b_peripheral", in usb_otg_state_string()
/linux/drivers/usb/phy/
H A Dphy-generic.c112 otg->state = OTG_STATE_B_PERIPHERAL; in nop_gpio_vbus_thread()
174 if (otg->state == OTG_STATE_B_PERIPHERAL) in nop_set_peripheral()
289 OTG_STATE_B_PERIPHERAL : OTG_STATE_B_IDLE; in usb_phy_generic_probe()
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.c83 tu->phy.otg->state = OTG_STATE_B_PERIPHERAL; in check_vbus_state()
99 case OTG_STATE_B_PERIPHERAL: in check_vbus_state()
/linux/drivers/usb/musb/
H A Dmusb_core.c608 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_otg_timer_func()
645 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_hnp_stop()
687 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_resume()
704 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_resume()
854 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_suspend()
910 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_connect()
966 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_disconnect()
975 case OTG_STATE_B_PERIPHERAL: in musb_handle_intr_disconnect()
1024 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_reset()
1028 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_handle_intr_reset()
[all …]
H A Dmusb_gadget.c1525 case OTG_STATE_B_PERIPHERAL: in musb_gadget_wakeup()
1932 case OTG_STATE_B_PERIPHERAL: in musb_g_resume()
1957 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_suspend()
1959 case OTG_STATE_B_PERIPHERAL: in musb_g_suspend()
2016 case OTG_STATE_B_PERIPHERAL: in musb_g_disconnect()
2083 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_reset()
2086 musb_set_state(musb, OTG_STATE_B_PERIPHERAL); in musb_g_reset()
/linux/drivers/usb/dwc2/
H A Dcore_intr.c36 case OTG_STATE_B_PERIPHERAL: in dwc2_op_state_str()
118 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
746 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc_handle_gpwrdn_disc_det()
H A Dgadget.c4263 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_ep_disable()
4688 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
4732 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
5021 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()
/linux/include/linux/usb/
H A Dphy.h49 OTG_STATE_B_PERIPHERAL, enumerator
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c150 if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in b_bus_req_store()
667 case OTG_STATE_B_PERIPHERAL: in ci_otg_fsm_event()
H A Dudc.c2158 } else if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in ci_udc_stop_for_otg_fsm()
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c701 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
716 rport->state = OTG_STATE_B_PERIPHERAL; in rockchip_usb2phy_otg_sm_work()
747 case OTG_STATE_B_PERIPHERAL: in rockchip_usb2phy_otg_sm_work()