Home
last modified time | relevance | path

Searched refs:device_can_wakeup (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/drivers/acpi/
H A Dproc.c81 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 Dwakeup.c90 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
H A Ddevice_pm.c1213 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq()
/openbmc/linux/include/linux/
H A Dpm_wakeup.h77 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 Dbcmgenet_wol.c49 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 Dsysfs.c327 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 Dehci-pci.c324 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 Dohci-pci.c261 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
H A Dsl811-hcd.c1533 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 Dcore.c138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
/openbmc/linux/drivers/rtc/
H A Dsysfs.c274 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
H A Drtc-spear.c397 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
H A Drtc-at91sam9.c355 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
H A Drtc-at91rm9200.c530 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
H A Drtc-twl.c233 if (device_can_wakeup(dev) && !twl_rtc->wake_enabled) { in twl_rtc_alarm_irq_enable()
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-pci.c480 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
/openbmc/linux/drivers/usb/core/
H A Dhcd.c537 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 Dxgmac.c1642 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 Dbcmasp_ethtool.c209 if (!device_can_wakeup(kdev)) in bcmasp_set_wol()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c833 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 De1000_ethtool.c1651 !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 Dhci_intel.c328 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
/openbmc/linux/drivers/pci/
H A Dpci.c2844 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 Di2c-hid-core.c1153 if (device_can_wakeup(dev)) { in i2c_hid_core_register_panel_follower()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c1919 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()
1950 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()

12