Lines Matching refs:op_state
1881 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
1999 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
2343 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
2346 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
2476 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
2477 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
3399 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
3428 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
3484 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
3975 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
4470 if (hsotg->op_state == OTG_STATE_B_PERIPHERAL) in _dwc2_hcd_suspend()