Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dplatform.c647 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend() local
650 if (is_device_mode) in dwc2_suspend()
663 dwc2_force_mode(dwc2, !is_device_mode); in dwc2_suspend()
687 (is_device_mode || dwc2_host_can_poweroff_phy(dwc2))) { in dwc2_suspend()
/drivers/usb/chipidea/
Dcore.c405 bool is_device_mode, is_host_mode; in ci_platform_configure() local
407 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
410 if (is_device_mode) { in ci_platform_configure()