Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/dwc3/
Dcore.c114 dwc->current_dr_role = mode; in dwc3_set_prtcap()
126 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
132 if (dwc->desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
138 switch (dwc->current_dr_role) { in __dwc3_set_mode()
260 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
1664 switch (dwc->current_dr_role) { in dwc3_suspend_common()
1724 switch (dwc->current_dr_role) { in dwc3_resume_common()
1765 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
1787 switch (dwc->current_dr_role) { in dwc3_runtime_checks()
1829 switch (dwc->current_dr_role) { in dwc3_runtime_resume()
[all …]
Ddrd.c339 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update()
513 switch (dwc->current_dr_role) { in dwc3_usb_role_switch_get()
592 dwc->current_dr_role = DWC3_GCTL_PRTCAP_OTG; in dwc3_drd_init()
637 switch (dwc->current_dr_role) { in dwc3_drd_exit()
Dcore.h1111 u32 current_dr_role; member