Home
last modified time | relevance | path

Searched refs:current_dr_role (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c111 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci) { in dwc3_imx8mp_wakeup_enable()
153 if ((dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc->xhci) in dwc3_imx8mp_interrupt()
155 else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_interrupt()
309 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) { in dwc3_imx8mp_resume()
H A Dcore.c156 dwc->current_dr_role = mode; in dwc3_set_prtcap()
175 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
181 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
187 switch (dwc->current_dr_role) { in __dwc3_set_mode()
210 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
327 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
2405 switch (dwc->current_dr_role) { in dwc3_suspend_common()
2465 switch (dwc->current_dr_role) { in dwc3_resume_common()
2508 dwc3_set_prtcap(dwc, dwc->current_dr_role, true); in dwc3_resume_common()
2533 switch (dwc->current_dr_role) { in dwc3_runtime_checks()
[all …]
H A Ddrd.c340 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update()
478 switch (dwc->current_dr_role) { in dwc3_usb_role_switch_get()
604 switch (dwc->current_dr_role) { in dwc3_drd_exit()
H A Dcore.h1222 u32 current_dr_role; member