Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/acpi/
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()
Dwakeup.c90 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
Ddevice_pm.c1213 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq()
/linux-6.6.21/include/linux/
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
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c51 if (!device_can_wakeup(kdev)) { in bcmgenet_get_wol()
81 if (!device_can_wakeup(kdev)) in bcmgenet_set_wol()
/linux-6.6.21/drivers/base/power/
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()
/linux-6.6.21/drivers/usb/host/
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()
Dohci-pci.c261 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
Dsl811-hcd.c1531 if (!device_can_wakeup(hcd->self.controller)) in sl811h_start()
1764 if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) { in sl811h_resume()
/linux-6.6.21/drivers/pnp/pnpacpi/
Dcore.c138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
/linux-6.6.21/drivers/rtc/
Dsysfs.c274 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
Drtc-spear.c397 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
Drtc-at91sam9.c355 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
Drtc-twl.c233 if (device_can_wakeup(dev) && !twl_rtc->wake_enabled) { in twl_rtc_alarm_irq_enable()
Drtc-at91rm9200.c530 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
/linux-6.6.21/drivers/usb/dwc3/
Ddwc3-pci.c468 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
/linux-6.6.21/drivers/usb/core/
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()
/linux-6.6.21/drivers/net/ethernet/calxeda/
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()
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_ethtool.c209 if (!device_can_wakeup(kdev)) in bcmasp_set_wol()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c833 if (device_can_wakeup(priv->device)) { in stmmac_get_wol()
847 if (!device_can_wakeup(priv->device)) in stmmac_set_wol()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1651 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()
1687 !device_can_wakeup(&adapter->pdev->dev)) in e1000_set_wol()
/linux-6.6.21/drivers/bluetooth/
Dhci_intel.c328 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
/linux-6.6.21/drivers/pci/
Dpci.c2813 target_state = pci_target_state(dev, device_can_wakeup(&dev->dev)); in pci_finish_runtime_suspend()
2846 if (device_can_wakeup(&dev->dev)) in pci_dev_run_wake()
2852 if (device_can_wakeup(&bridge->dev)) in pci_dev_run_wake()
2860 return device_can_wakeup(bus->bridge); in pci_dev_run_wake()
/linux-6.6.21/drivers/hid/i2c-hid/
Di2c-hid-core.c1162 if (device_can_wakeup(dev)) { in i2c_hid_core_register_panel_follower()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dethtool.c1920 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()
1951 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()

12