/openbmc/linux/drivers/acpi/ |
H A D | proc.c | 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()
|
H A D | wakeup.c | 90 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
|
H A D | device_pm.c | 1213 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq()
|
/openbmc/linux/include/linux/ |
H A D | pm_wakeup.h | 77 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function 127 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet_wol.c | 49 if (!device_can_wakeup(kdev)) in bcmgenet_get_wol() 77 if (!device_can_wakeup(kdev)) in bcmgenet_set_wol()
|
/openbmc/linux/drivers/base/power/ |
H A D | sysfs.c | 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()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-pci.c | 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()
|
H A D | ohci-pci.c | 261 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
|
H A D | sl811-hcd.c | 1533 if (!device_can_wakeup(hcd->self.controller)) in sl811h_start() 1766 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
|
/openbmc/linux/drivers/pnp/pnpacpi/ |
H A D | core.c | 138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
|
/openbmc/linux/drivers/rtc/ |
H A D | sysfs.c | 274 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
|
H A D | rtc-spear.c | 397 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
|
H A D | rtc-at91sam9.c | 355 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
|
H A D | rtc-at91rm9200.c | 530 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
|
H A D | rtc-twl.c | 233 if (device_can_wakeup(dev) && !twl_rtc->wake_enabled) { in twl_rtc_alarm_irq_enable()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | 480 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
|
/openbmc/linux/drivers/usb/core/ |
H A D | hcd.c | 537 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 592 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control() 2925 if (device_can_wakeup(hcd->self.controller) in usb_add_hcd() 2926 && device_can_wakeup(&hcd->self.root_hub->dev)) in usb_add_hcd()
|
/openbmc/linux/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_ethtool.c | 209 if (!device_can_wakeup(kdev)) in bcmasp_set_wol()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 833 if (device_can_wakeup(priv->device)) { in stmmac_get_wol() 847 if (!device_can_wakeup(priv->device)) in stmmac_set_wol()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 1651 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol() 1687 !device_can_wakeup(&adapter->pdev->dev)) in e1000_set_wol()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_intel.c | 328 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
|
/openbmc/linux/drivers/pci/ |
H A D | pci.c | 2844 target_state = pci_target_state(dev, device_can_wakeup(&dev->dev)); in pci_finish_runtime_suspend() 2877 if (device_can_wakeup(&dev->dev)) in pci_dev_run_wake() 2883 if (device_can_wakeup(&bridge->dev)) in pci_dev_run_wake() 2891 return device_can_wakeup(bus->bridge); in pci_dev_run_wake()
|
/openbmc/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 1153 if (device_can_wakeup(dev)) { in i2c_hid_core_register_panel_follower()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 1919 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol() 1950 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()
|