Searched refs:device_can_wakeup (Results 1 – 25 of 44) sorted by relevance
12
86 if (entry->dev && device_can_wakeup(entry->dev)) { in physical_device_enable_wakeup()119 if (device_can_wakeup(&dev->dev)) { in acpi_system_write_wakeup_device()
89 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
1120 !device_can_wakeup(dev); in acpi_subsys_suspend_noirq()
72 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function114 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function
302 if (!device_can_wakeup(&pdev->dev)) { in ehci_pci_setup()313 if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev)) in ehci_pci_setup()
265 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
1533 if (!device_can_wakeup(hcd->self.controller)) in sl811h_start()1769 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
322 return sprintf(buf, "%s\n", device_can_wakeup(dev) in wakeup_show()330 if (!device_can_wakeup(dev)) in wakeup_store()660 if (device_can_wakeup(dev)) { in dpm_sysfs_add()
67 if (!device_can_wakeup(kdev)) in bcmgenet_set_wol()
242 if (!device_can_wakeup(&pdev->dev)) in puv3_rtc_probe()
270 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
425 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
399 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
356 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
233 if (device_can_wakeup(dev) && !twl_rtc->wake_enabled) { in twl_rtc_alarm_irq_enable()
138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
387 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
604 if (device_can_wakeup(priv->device)) { in stmmac_get_wol()622 if (!device_can_wakeup(priv->device)) in stmmac_set_wol()
557 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()616 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()2771 if (device_can_wakeup(hcd->self.controller) in usb_add_hcd()2772 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
1640 if (device_can_wakeup(priv->device)) { in xgmac_get_wol()1652 if (!device_can_wakeup(priv->device)) in xgmac_set_wol()1771 if (device_can_wakeup(priv->device)) in xgmac_probe()
2430 target_state = pci_target_state(dev, device_can_wakeup(&dev->dev)); in pci_finish_runtime_suspend()2467 if (device_can_wakeup(&dev->dev)) in pci_dev_run_wake()2473 if (device_can_wakeup(&bridge->dev)) in pci_dev_run_wake()2481 return device_can_wakeup(bus->bridge); in pci_dev_run_wake()
1649 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()1685 !device_can_wakeup(&adapter->pdev->dev)) in e1000_set_wol()
331 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
1890 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()1921 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()
834 if (device_can_wakeup(dev)) { in cyapa_prepare_wakeup_controls()