Home
last modified time | relevance | path

Searched refs:current_otg_role (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/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()
521 role = dwc->current_otg_role; in dwc3_usb_role_switch_get()
H A Dcore.c1723 if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_suspend_common()
1791 if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST) { in dwc3_resume_common()
1793 } else if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_resume_common()
H A Dcore.h960 * @current_otg_role: current role of operation while using the OTG block
1127 u32 current_otg_role; member
/kernel/linux/linux-6.6/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.c2096 if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_suspend_common()
2162 if (dwc->current_otg_role == DWC3_OTG_ROLE_HOST) { in dwc3_resume_common()
2164 } else if (dwc->current_otg_role == DWC3_OTG_ROLE_DEVICE) { in dwc3_resume_common()
H A Dcore.h1006 * @current_otg_role: current role of operation while using the OTG block
1200 u32 current_otg_role; member

Completed in 13 milliseconds