Searched refs:role_sw_default_mode (Results 1 – 2 of 2) sorted by relevance
30 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()123 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST) in dwc2_drd_role_sw_set()125 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_role_sw_set()172 hsotg->role_sw_default_mode = usb_get_role_switch_default_mode(hsotg->dev); in dwc2_drd_init()217 if (hsotg->role_sw_default_mode == USB_DR_MODE_HOST) in dwc2_drd_resume()219 else if (hsotg->role_sw_default_mode == USB_DR_MODE_PERIPHERAL) in dwc2_drd_resume()
1045 enum usb_dr_mode role_sw_default_mode; member