Searched refs:is_device_mode (Results 1 – 2 of 2) sorted by relevance
520 bool is_device_mode = dwc2_is_device_mode(dwc2); in dwc2_suspend() local523 if (is_device_mode) in dwc2_suspend()527 (is_device_mode || dwc2_host_can_poweroff_phy(dwc2))) { in dwc2_suspend()
423 bool is_device_mode, is_host_mode; in ci_platform_configure() local425 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()