Lines Matching refs:op_state
59 switch (hsotg->op_state) { in dwc2_op_state_str()
132 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_handle_otg_intr()
133 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
189 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
213 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
237 hsotg->op_state); in dwc2_handle_otg_intr()
241 hsotg->op_state = OTG_STATE_A_PERIPHERAL; in dwc2_handle_otg_intr()
250 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_handle_otg_intr()
493 if (hsotg->op_state == OTG_STATE_A_HOST) in dwc2_handle_disconnect_intr()
573 if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) { in dwc2_handle_usb_suspend_intr()
582 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_handle_usb_suspend_intr()
732 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc_handle_gpwrdn_disc_det()
738 hsotg->op_state = OTG_STATE_A_HOST; in dwc_handle_gpwrdn_disc_det()