Searched refs:device_can_wakeup (Results 1 – 25 of 41) sorted by relevance
12
81 if (entry->dev && device_can_wakeup(entry->dev)) { in physical_device_enable_wakeup()113 if (device_can_wakeup(&dev->dev)) { in acpi_system_write_wakeup_device()
90 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
1181 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq()
77 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function127 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function
45 if (!device_can_wakeup(kdev)) { in bcmgenet_get_wol()67 if (!device_can_wakeup(kdev)) in bcmgenet_set_wol()
324 if (!device_can_wakeup(&pdev->dev)) { in ehci_pci_setup()335 if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev)) in ehci_pci_setup()
261 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
1531 if (!device_can_wakeup(hcd->self.controller)) in sl811h_start()1765 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
327 return sysfs_emit(buf, "%s\n", device_can_wakeup(dev) in wakeup_show()335 if (!device_can_wakeup(dev)) in wakeup_store()711 if (device_can_wakeup(dev)) { in dpm_sysfs_add()756 if (device_can_wakeup(dev)) { in dpm_sysfs_change_owner()
138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
273 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
355 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
397 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
233 if (device_can_wakeup(dev) && !twl_rtc->wake_enabled) { in twl_rtc_alarm_irq_enable()
531 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
520 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
558 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()617 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()2953 if (device_can_wakeup(hcd->self.controller) in usb_add_hcd()2954 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
1642 if (device_can_wakeup(priv->device)) { in xgmac_get_wol()1654 if (!device_can_wakeup(priv->device)) in xgmac_set_wol()1774 if (device_can_wakeup(priv->device)) in xgmac_probe()
727 if (device_can_wakeup(priv->device)) { in stmmac_get_wol()741 if (!device_can_wakeup(priv->device)) in stmmac_set_wol()
1651 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()1687 !device_can_wakeup(&adapter->pdev->dev)) in e1000_set_wol()
328 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
2755 target_state = pci_target_state(dev, device_can_wakeup(&dev->dev)); in pci_finish_runtime_suspend()2788 if (device_can_wakeup(&dev->dev)) in pci_dev_run_wake()2794 if (device_can_wakeup(&bridge->dev)) in pci_dev_run_wake()2802 return device_can_wakeup(bus->bridge); in pci_dev_run_wake()
931 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in pci_pm_suspend_noirq()
1908 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()1939 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()
834 if (device_can_wakeup(dev)) { in cyapa_prepare_wakeup_controls()