Lines Matching refs:current_dr_role
143 dwc->current_dr_role = mode; in dwc3_set_prtcap()
162 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
168 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
174 switch (dwc->current_dr_role) { in __dwc3_set_mode()
197 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
314 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
2358 switch (dwc->current_dr_role) { in dwc3_suspend_common()
2418 switch (dwc->current_dr_role) { in dwc3_resume_common()
2461 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
2486 switch (dwc->current_dr_role) { in dwc3_runtime_checks()
2524 switch (dwc->current_dr_role) { in dwc3_runtime_resume()
2547 switch (dwc->current_dr_role) { in dwc3_runtime_idle()
2604 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST && in dwc3_complete()