Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/acpi/
Dproc.c86 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()
Dwakeup.c89 if (device_can_wakeup(&dev->dev)) { in acpi_wakeup_device_init()
Ddevice_pm.c1120 !device_can_wakeup(dev); in acpi_subsys_suspend_noirq()
/Linux-v5.4/include/linux/
Dpm_wakeup.h72 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function
114 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() function
/Linux-v5.4/drivers/usb/host/
Dehci-pci.c302 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()
Dohci-pci.c265 if (device_can_wakeup(&pdev->dev)) in ohci_pci_reset()
Dsl811-hcd.c1533 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()
/Linux-v5.4/drivers/base/power/
Dsysfs.c322 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()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c67 if (!device_can_wakeup(kdev)) in bcmgenet_set_wol()
/Linux-v5.4/drivers/rtc/
Drtc-puv3.c242 if (!device_can_wakeup(&pdev->dev)) in puv3_rtc_probe()
Dsysfs.c270 if (!device_can_wakeup(rtc->dev.parent)) in rtc_does_wakealarm()
Drtc-at91rm9200.c425 if (!device_can_wakeup(&pdev->dev)) in at91_rtc_probe()
Drtc-spear.c399 if (!device_can_wakeup(&pdev->dev)) in spear_rtc_probe()
Drtc-at91sam9.c356 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()
/Linux-v5.4/drivers/pnp/pnpacpi/
Dcore.c138 if (device_can_wakeup(&dev->dev)) { in pnpacpi_suspend()
/Linux-v5.4/drivers/usb/dwc3/
Ddwc3-pci.c387 if (device_can_wakeup(dev)) in dwc3_pci_runtime_suspend()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c604 if (device_can_wakeup(priv->device)) { in stmmac_get_wol()
622 if (!device_can_wakeup(priv->device)) in stmmac_set_wol()
/Linux-v5.4/drivers/usb/core/
Dhcd.c557 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()
/Linux-v5.4/drivers/net/ethernet/calxeda/
Dxgmac.c1640 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()
/Linux-v5.4/drivers/pci/
Dpci.c2430 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()
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1649 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()
1685 !device_can_wakeup(&adapter->pdev->dev)) in e1000_set_wol()
/Linux-v5.4/drivers/bluetooth/
Dhci_intel.c331 if (powered && device_can_wakeup(&idev->pdev->dev)) { in intel_set_power()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dethtool.c1890 !device_can_wakeup(&adapter->pdev->dev)) in e1000_get_wol()
1921 !device_can_wakeup(&adapter->pdev->dev) || in e1000_set_wol()
/Linux-v5.4/drivers/input/mouse/
Dcyapa.c834 if (device_can_wakeup(dev)) { in cyapa_prepare_wakeup_controls()

12