Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc3/
H A Ddrd.c83 if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST && in dwc3_otg_irq()
350 if (dwc->desired_otg_role == dwc->current_otg_role) in dwc3_otg_update()
353 switch (dwc->current_otg_role) { in dwc3_otg_update()
373 dwc->current_otg_role = dwc->desired_otg_role; in dwc3_otg_update()
483 role = dwc->current_otg_role; in dwc3_usb_role_switch_get()
H A Dcore.c2084 if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_suspend_common()
2150 if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST) { in dwc3_resume_common()
2152 } else if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_resume_common()
H A Dcore.h1201 u32 current_otg_role; member