Home
last modified time | relevance | path

Searched refs:role_sw_default_mode (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/usb/dwc2/
Ddrd.c30 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST) in dwc2_ovr_init()
32 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_ovr_init()
39 (hsotg->role_sw_default_mode == USB_DR_MODE_HOST)); in dwc2_ovr_init()
124 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST) in dwc2_drd_role_sw_set()
126 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_role_sw_set()
182 hsotg->role_sw_default_mode = usb_get_role_switch_default_mode(hsotg->dev); in dwc2_drd_init()
227 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST) in dwc2_drd_resume()
229 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_resume()
Dcore.h1064 enum usb_dr_mode role_sw_default_mode; member