Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/dwc2/
Dplatform.c520 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend() local
523 if (is_device_mode) in dwc2_suspend()
527 (is_device_mode || dwc2_host_can_poweroff_phy(dwc2))) { in dwc2_suspend()
/Linux-v5.4/drivers/usb/chipidea/
Dcore.c423 bool is_device_mode, is_host_mode; in ci_platform_configure() local
425 is_device_mode = hw_read(ci, OP_USBMODE, USBMODE_CM) == USBMODE_CM_DC; in ci_platform_configure()
428 if (is_device_mode) { in ci_platform_configure()