Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c109 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()
H A Dcore.c137 dwc->current_dr_role = mode; in dwc3_set_prtcap()
155 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
161 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
167 switch (dwc->current_dr_role) { in __dwc3_set_mode()
190 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
2122 switch (dwc->current_dr_role) { in dwc3_suspend_common()
2177 switch (dwc->current_dr_role) { in dwc3_resume_common()
2216 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
2241 switch (dwc->current_dr_role) { in dwc3_runtime_checks()
2279 switch (dwc->current_dr_role) { in dwc3_runtime_resume()
[all …]
H A Ddrd.c339 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()
H A Dcore.h1190 u32 current_dr_role; member