Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c60 if ((dwc3->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc3->xhci) in dwc3_imx8mp_wakeup_enable()
63 else if (dwc3->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_wakeup_enable()
90 if ((dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc->xhci) in dwc3_imx8mp_interrupt()
92 else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_interrupt()
257 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) { in dwc3_imx8mp_resume()
H A Dcore.c114 dwc->current_dr_role = mode; in dwc3_set_prtcap()
141 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
147 if (dwc->desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
153 switch (dwc->current_dr_role) { in __dwc3_set_mode()
176 if (dwc->current_dr_role && ((DWC3_IP_IS(DWC3) || in __dwc3_set_mode()
308 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) in dwc3_core_soft_reset()
1797 switch (dwc->current_dr_role) { in dwc3_suspend_common()
1856 switch (dwc->current_dr_role) { in dwc3_resume_common()
1895 dwc3_set_prtcap(dwc, dwc->current_dr_role); in dwc3_resume_common()
1919 switch (dwc->current_dr_role) { in dwc3_runtime_checks()
[all …]
H A Ddrd.c339 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update()
540 switch (dwc->current_dr_role) { in dwc3_usb_role_switch_get()
618 dwc->current_dr_role = DWC3_GCTL_PRTCAP_OTG; in dwc3_drd_init()
663 switch (dwc->current_dr_role) { in dwc3_drd_exit()
H A Dcore.h1164 u32 current_dr_role; member