Home
last modified time | relevance | path

Searched refs:device_may_wakeup (Results 1 – 25 of 223) sorted by relevance

123456789

/Linux-v4.19/drivers/acpi/
Dwakeup.c41 || !(device_may_wakeup(&dev->dev) in acpi_enable_wakeup_devices()
45 if (device_may_wakeup(&dev->dev)) in acpi_enable_wakeup_devices()
68 || !(device_may_wakeup(&dev->dev) in acpi_disable_wakeup_devices()
75 if (device_may_wakeup(&dev->dev)) in acpi_disable_wakeup_devices()
Dproc.c47 device_may_wakeup(&dev->dev) ? in acpi_system_wakeup_device_seq_show()
63 (device_may_wakeup(&dev->dev) || in acpi_system_wakeup_device_seq_show()
64 device_may_wakeup(ldev)) ? in acpi_system_wakeup_device_seq_show()
87 bool enable = !device_may_wakeup(entry->dev); in physical_device_enable_wakeup()
120 bool enable = !device_may_wakeup(&dev->dev); in acpi_system_write_wakeup_device()
/Linux-v4.19/drivers/extcon/
Dextcon-usb-gpio.c221 if (device_may_wakeup(dev)) { in usb_extcon_suspend()
248 if (!device_may_wakeup(dev)) in usb_extcon_suspend()
259 if (!device_may_wakeup(dev)) in usb_extcon_resume()
262 if (device_may_wakeup(dev)) { in usb_extcon_resume()
Dextcon-qcom-spmi-misc.c131 if (device_may_wakeup(dev)) in qcom_usb_extcon_suspend()
142 if (device_may_wakeup(dev)) in qcom_usb_extcon_resume()
Dextcon-adc-jack.c184 if (device_may_wakeup(data->dev)) in adc_jack_suspend()
194 if (device_may_wakeup(data->dev)) in adc_jack_resume()
/Linux-v4.19/drivers/usb/core/
Dphy.c170 if (device_may_wakeup(controller_dev)) in usb_phy_roothub_suspend()
183 if (!device_may_wakeup(controller_dev)) { in usb_phy_roothub_resume()
192 if (err && !device_may_wakeup(controller_dev)) in usb_phy_roothub_resume()
/Linux-v4.19/drivers/rtc/
Drtc-tegra.c404 device_may_wakeup(dev), info->tegra_rtc_irq); in tegra_rtc_suspend()
407 if (device_may_wakeup(dev)) in tegra_rtc_suspend()
418 device_may_wakeup(dev)); in tegra_rtc_resume()
420 if (device_may_wakeup(dev)) in tegra_rtc_resume()
/Linux-v4.19/drivers/input/misc/
De3x0-button.c50 if (device_may_wakeup(dev)) in e3x0_button_suspend()
60 if (device_may_wakeup(dev)) in e3x0_button_resume()
D88pm860x_onkey.c120 if (device_may_wakeup(dev)) in pm860x_onkey_suspend()
129 if (device_may_wakeup(dev)) in pm860x_onkey_resume()
Dmax8925_onkey.c142 if (device_may_wakeup(dev)) { in max8925_onkey_suspend()
156 if (device_may_wakeup(dev)) { in max8925_onkey_resume()
Dpalmas-pwrbutton.c278 if (device_may_wakeup(dev)) in palmas_pwron_suspend()
297 if (device_may_wakeup(dev)) in palmas_pwron_resume()
/Linux-v4.19/drivers/mfd/
D88pm80x.c142 if (device_may_wakeup(chip->dev)) in pm80x_suspend()
154 if (device_may_wakeup(chip->dev)) in pm80x_resume()
Dmax77843.c189 if (device_may_wakeup(dev)) in max77843_suspend()
200 if (device_may_wakeup(dev)) in max77843_resume()
Dcros_ec.c67 if (wake_event && device_may_wakeup(ec_dev->dev)) in ec_irq_thread()
208 if (device_may_wakeup(dev)) in cros_ec_suspend()
/Linux-v4.19/drivers/usb/phy/
Dphy-am335x.c109 if (device_may_wakeup(dev)) in am335x_phy_suspend()
123 if (device_may_wakeup(dev)) in am335x_phy_resume()
/Linux-v4.19/drivers/media/rc/
Dgpio-ir-recv.c113 if (device_may_wakeup(dev)) in gpio_ir_recv_suspend()
125 if (device_may_wakeup(dev)) in gpio_ir_recv_resume()
/Linux-v4.19/include/linux/
Dpm_wakeup.h86 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
177 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
/Linux-v4.19/drivers/usb/host/
Dxhci-histb.c352 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_histb_suspend()
354 if (!device_may_wakeup(dev)) in xhci_histb_suspend()
366 if (!device_may_wakeup(dev)) in xhci_histb_resume()
/Linux-v4.19/drivers/input/touchscreen/
Dzforce_ts.c484 if (ts->suspended && device_may_wakeup(&client->dev)) in zforce_irq()
510 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
538 if (ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
591 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
633 if (device_may_wakeup(&client->dev)) { in zforce_suspend()
675 if (device_may_wakeup(&client->dev)) { in zforce_resume()
Dmigor_ts.c210 if (device_may_wakeup(&client->dev)) in migor_ts_suspend()
221 if (device_may_wakeup(&client->dev)) in migor_ts_resume()
Deeti_ts.c221 if (device_may_wakeup(&client->dev)) in eeti_ts_suspend()
233 if (device_may_wakeup(&client->dev)) in eeti_ts_resume()
Degalax_ts.c244 if (device_may_wakeup(dev)) in egalax_ts_suspend()
255 if (device_may_wakeup(dev)) in egalax_ts_resume()
/Linux-v4.19/drivers/power/supply/
Dgpio-charger.c206 if (device_may_wakeup(dev)) in gpio_charger_suspend()
217 if (device_may_wakeup(dev) && gpio_charger->wakeup_enabled) in gpio_charger_resume()
/Linux-v4.19/drivers/base/power/
Dwakeirq.c332 if (device_may_wakeup(wirq->dev)) { in dev_pm_arm_wake_irq()
353 if (device_may_wakeup(wirq->dev)) { in dev_pm_disarm_wake_irq()
/Linux-v4.19/drivers/input/keyboard/
Dsnvs_pwrkey.c179 if (device_may_wakeup(&pdev->dev)) in imx_snvs_pwrkey_suspend()
190 if (device_may_wakeup(&pdev->dev)) in imx_snvs_pwrkey_resume()

123456789