Lines Matching refs:op_state
1685 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1803 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2149 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2152 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2288 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2289 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3233 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3262 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3318 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3819 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
4344 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()