Lines Matching refs:op_state
1677 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1795 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2139 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2142 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2278 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2279 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3214 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3243 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3309 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3844 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
4367 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()