Searched refs:current_dr_role (Results 1 – 4 of 4) sorted by relevance
109 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci) in dwc3_imx8mp_wakeup_enable()112 else if (dwc3->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_wakeup_enable()139 if ((dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc->xhci) in dwc3_imx8mp_interrupt()141 else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_interrupt()318 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) { in dwc3_imx8mp_resume()
150 dwc->current_dr_role = mode; in __dwc3_set_mode() 168 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode() 174 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode() 180 switch (dwc->current_dr_role) { in __dwc3_set_mode() 200 * When current_dr_role is not set, there's no role switching. in __dwc3_set_mode() 203 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode() 316 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset() 2145 switch (dwc->current_dr_role) { in dwc3_suspend_common() 2200 switch (dwc->current_dr_role) { in dwc3_resume_common() 2239 dwc3_set_prtcap(dwc, dwc->current_dr_role, tru in dwc3_resume_common() [all...]
339 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update() 475 switch (dwc->current_dr_role) { in dwc3_usb_role_switch_get() 601 switch (dwc->current_dr_role) { in dwc3_drd_exit()
1026 * @current_dr_role: current role of operation when in dual-role mode1196 u32 current_dr_role; member