Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Ddrd.c64 dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_otg_thread_irq()
176 dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_otg_init()
339 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update()
522 case DWC3_GCTL_PRTCAP_OTG: in dwc3_usb_role_switch_get()
588 dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_drd_init()
613 dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_drd_init()
641 case DWC3_GCTL_PRTCAP_OTG: in dwc3_drd_exit()
Dcore.c110 reg &= ~(DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_OTG)); in dwc3_set_prtcap()
132 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()
141 if (desired_dr_role == DWC3_GCTL_PRTCAP_OTG && dwc->edev) in __dwc3_set_mode()
152 case DWC3_GCTL_PRTCAP_OTG: in __dwc3_set_mode()
169 desired_dr_role != DWC3_GCTL_PRTCAP_OTG)) { in __dwc3_set_mode()
224 case DWC3_GCTL_PRTCAP_OTG: in __dwc3_set_mode()
1840 case DWC3_GCTL_PRTCAP_OTG: in dwc3_suspend_common()
1899 case DWC3_GCTL_PRTCAP_OTG: in dwc3_resume_common()
Ddebugfs.c417 case DWC3_GCTL_PRTCAP_OTG: in dwc3_mode_show()
455 mode = DWC3_GCTL_PRTCAP_OTG; in dwc3_mode_write()
Dcore.h248 #define DWC3_GCTL_PRTCAP_OTG 3 macro