Home
last modified time | relevance | path

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

12345678910

/Linux-v5.4/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-v5.4/drivers/extcon/
Dextcon-usb-gpio.c213 if (device_may_wakeup(dev)) { in usb_extcon_suspend()
240 if (!device_may_wakeup(dev)) in usb_extcon_suspend()
251 if (!device_may_wakeup(dev)) in usb_extcon_resume()
254 if (device_may_wakeup(dev)) { in usb_extcon_resume()
Dextcon-qcom-spmi-misc.c123 if (device_may_wakeup(dev)) in qcom_usb_extcon_suspend()
134 if (device_may_wakeup(dev)) in qcom_usb_extcon_resume()
Dextcon-adc-jack.c178 if (device_may_wakeup(data->dev)) in adc_jack_suspend()
188 if (device_may_wakeup(data->dev)) in adc_jack_resume()
/Linux-v5.4/drivers/usb/core/
Dphy.c220 if (device_may_wakeup(controller_dev)) in usb_phy_roothub_suspend()
233 if (!device_may_wakeup(controller_dev)) { in usb_phy_roothub_resume()
242 if (err && !device_may_wakeup(controller_dev)) in usb_phy_roothub_resume()
/Linux-v5.4/drivers/input/misc/
De3x0-button.c42 if (device_may_wakeup(dev)) in e3x0_button_suspend()
52 if (device_may_wakeup(dev)) in e3x0_button_resume()
D88pm860x_onkey.c118 if (device_may_wakeup(dev)) in pm860x_onkey_suspend()
127 if (device_may_wakeup(dev)) in pm860x_onkey_resume()
Dmax8925_onkey.c138 if (device_may_wakeup(dev)) { in max8925_onkey_suspend()
152 if (device_may_wakeup(dev)) { in max8925_onkey_resume()
Dstpmic1_onkey.c150 if (device_may_wakeup(dev)) { in stpmic1_onkey_suspend()
162 if (device_may_wakeup(dev)) { in stpmic1_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-v5.4/drivers/rtc/
Drtc-tegra.c372 device_may_wakeup(dev), info->irq); in tegra_rtc_suspend()
375 if (device_may_wakeup(dev)) in tegra_rtc_suspend()
386 device_may_wakeup(dev)); in tegra_rtc_resume()
389 if (device_may_wakeup(dev)) in tegra_rtc_resume()
Drtc-as3722.c220 if (device_may_wakeup(dev)) in as3722_rtc_suspend()
230 if (device_may_wakeup(dev)) in as3722_rtc_resume()
/Linux-v5.4/drivers/usb/phy/
Dphy-am335x.c106 if (device_may_wakeup(dev)) in am335x_phy_suspend()
120 if (device_may_wakeup(dev)) in am335x_phy_resume()
/Linux-v5.4/drivers/mfd/
D88pm80x.c139 if (device_may_wakeup(chip->dev)) in pm80x_suspend()
151 if (device_may_wakeup(chip->dev)) in pm80x_resume()
Dmax77843.c184 if (device_may_wakeup(dev)) in max77843_suspend()
195 if (device_may_wakeup(dev)) in max77843_resume()
/Linux-v5.4/drivers/media/rc/
Dgpio-ir-recv.c105 if (device_may_wakeup(dev)) in gpio_ir_recv_suspend()
117 if (device_may_wakeup(dev)) in gpio_ir_recv_resume()
/Linux-v5.4/include/linux/
Dpm_wakeup.h77 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
163 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
/Linux-v5.4/drivers/input/touchscreen/
Dzforce_ts.c476 if (ts->suspended && device_may_wakeup(&client->dev)) in zforce_irq()
502 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
530 if (ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
583 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
625 if (device_may_wakeup(&client->dev)) { in zforce_suspend()
667 if (device_may_wakeup(&client->dev)) { in zforce_resume()
Dmigor_ts.c197 if (device_may_wakeup(&client->dev)) in migor_ts_suspend()
208 if (device_may_wakeup(&client->dev)) in migor_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-v5.4/drivers/base/power/
Dwakeirq.c321 if (device_may_wakeup(wirq->dev)) { in dev_pm_arm_wake_irq()
342 if (device_may_wakeup(wirq->dev)) { in dev_pm_disarm_wake_irq()
/Linux-v5.4/drivers/usb/host/
Dxhci-histb.c354 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_histb_suspend()
356 if (!device_may_wakeup(dev)) in xhci_histb_suspend()
368 if (!device_may_wakeup(dev)) in xhci_histb_resume()
/Linux-v5.4/arch/x86/platform/olpc/
Dolpc-xo1-sci.c269 if (device_may_wakeup(&power_button_idev->dev)) in xo1_sci_suspend()
274 if (device_may_wakeup(&ebook_switch_idev->dev)) in xo1_sci_suspend()
279 if (!device_may_wakeup(&lid_switch_idev->dev)) { in xo1_sci_suspend()
/Linux-v5.4/drivers/power/supply/
Dgpio-charger.c232 if (device_may_wakeup(dev)) in gpio_charger_suspend()
243 if (device_may_wakeup(dev) && gpio_charger->wakeup_enabled) in gpio_charger_resume()

12345678910