Lines Matching refs:op_state
1648 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1766 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2110 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2113 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2249 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2250 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3191 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3220 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3286 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3817 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
4342 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()