Searched refs:DWC3_GCTL_PRTCAP_OTG (Results 1 – 4 of 4) sorted by relevance
64 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()340 if (dwc->current_dr_role != DWC3_GCTL_PRTCAP_OTG) in dwc3_otg_update()485 case DWC3_GCTL_PRTCAP_OTG: in dwc3_usb_role_switch_get()559 dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_drd_init()584 dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_OTG); in dwc3_drd_init()612 case DWC3_GCTL_PRTCAP_OTG: in dwc3_drd_exit()
139 reg &= ~(DWC3_GCTL_PRTCAPDIR(DWC3_GCTL_PRTCAP_OTG)); in dwc3_set_prtcap()162 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_OTG) in __dwc3_set_mode()171 if (desired_dr_role == DWC3_GCTL_PRTCAP_OTG && dwc->edev) in __dwc3_set_mode()182 case DWC3_GCTL_PRTCAP_OTG: in __dwc3_set_mode()199 desired_dr_role != DWC3_GCTL_PRTCAP_OTG)) { in __dwc3_set_mode()258 case DWC3_GCTL_PRTCAP_OTG: in __dwc3_set_mode()2391 case DWC3_GCTL_PRTCAP_OTG: in dwc3_suspend_common()2452 case DWC3_GCTL_PRTCAP_OTG: in dwc3_resume_common()
422 case DWC3_GCTL_PRTCAP_OTG: in dwc3_mode_show()460 mode = DWC3_GCTL_PRTCAP_OTG; in dwc3_mode_write()
266 #define DWC3_GCTL_PRTCAP_OTG 3 macro