Home
last modified time | relevance | path

Searched refs:current_dr_role (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/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.c116 dwc->current_dr_role = mode; in dwc3_set_prtcap()
134 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
140 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
146 switch (dwc->current_dr_role) { in __dwc3_set_mode()
166 * When current_dr_role is not set, there's no role switching. in __dwc3_set_mode()
169 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
282 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
2062 switch (dwc->current_dr_role) { in dwc3_suspend_common()
2120 switch (dwc->current_dr_role) { in dwc3_resume_common()
2159 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
[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.h1019 * @current_dr_role: current role of operation when in dual-role mode
1186 u32 current_dr_role; member
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A 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()
591 dwc->current_dr_role = DWC3_GCTL_PRTCAP_OTG; in dwc3_drd_init()
636 switch (dwc->current_dr_role) { in dwc3_drd_exit()
H A Dcore.c114 dwc->current_dr_role = mode; in dwc3_set_prtcap()
132 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
138 if (desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
144 switch (dwc->current_dr_role) { in __dwc3_set_mode()
164 * When current_dr_role is not set, there's no role switching. in __dwc3_set_mode()
167 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
280 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
1687 switch (dwc->current_dr_role) { in dwc3_suspend_common()
1747 switch (dwc->current_dr_role) { in dwc3_resume_common()
1788 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
[all...]
H A Dcore.h970 * @current_dr_role: current role of operation when in dual-role mode
1116 u32 current_dr_role; member

Completed in 14 milliseconds