Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.1/drivers/acpi/
Dproc.c42 device_may_wakeup(&dev->dev) ? in acpi_system_wakeup_device_seq_show()
58 (device_may_wakeup(&dev->dev) || in acpi_system_wakeup_device_seq_show()
59 device_may_wakeup(ldev)) ? in acpi_system_wakeup_device_seq_show()
82 bool enable = !device_may_wakeup(entry->dev); in physical_device_enable_wakeup()
114 bool enable = !device_may_wakeup(&dev->dev); in acpi_system_write_wakeup_device()
Dwakeup.c46 || !(device_may_wakeup(&dev->dev) in acpi_enable_wakeup_devices()
50 if (device_may_wakeup(&dev->dev)) in acpi_enable_wakeup_devices()
71 || !(device_may_wakeup(&dev->dev) in acpi_disable_wakeup_devices()
78 if (device_may_wakeup(&dev->dev)) in acpi_disable_wakeup_devices()
/Linux-v6.1/drivers/extcon/
Dextcon-usb-gpio.c212 if (device_may_wakeup(dev)) { in usb_extcon_suspend()
229 if (!device_may_wakeup(dev)) in usb_extcon_suspend()
240 if (!device_may_wakeup(dev)) in usb_extcon_resume()
243 if (device_may_wakeup(dev)) { in usb_extcon_resume()
Dextcon-adc-jack.c177 if (device_may_wakeup(data->dev)) in adc_jack_suspend()
187 if (device_may_wakeup(data->dev)) in adc_jack_resume()
Dextcon-qcom-spmi-misc.c172 if (device_may_wakeup(dev)) { in qcom_usb_extcon_suspend()
187 if (device_may_wakeup(dev)) { in qcom_usb_extcon_resume()
/Linux-v6.1/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-v6.1/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.c276 if (device_may_wakeup(dev)) in palmas_pwron_suspend()
295 if (device_may_wakeup(dev)) in palmas_pwron_resume()
/Linux-v6.1/drivers/rtc/
Drtc-tegra.c370 device_may_wakeup(dev), info->irq); in tegra_rtc_suspend()
373 if (device_may_wakeup(dev)) in tegra_rtc_suspend()
384 device_may_wakeup(dev)); in tegra_rtc_resume()
387 if (device_may_wakeup(dev)) in tegra_rtc_resume()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/platform/chrome/
Dcros_ec.c71 if (wake_event && device_may_wakeup(ec_dev->dev)) in cros_ec_handle_event()
339 if (device_may_wakeup(dev)) in cros_ec_suspend()
360 if (wake_event && device_may_wakeup(ec_dev->dev)) in cros_ec_report_events_during_suspend()
/Linux-v6.1/include/linux/
Dpm_wakeup.h82 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
169 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
/Linux-v6.1/drivers/media/rc/
Dgpio-ir-recv.c138 if (device_may_wakeup(dev)) in gpio_ir_recv_suspend()
150 if (device_may_wakeup(dev)) in gpio_ir_recv_resume()
/Linux-v6.1/drivers/usb/host/
Dxhci-histb.c353 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_histb_suspend()
355 if (!device_may_wakeup(dev)) in xhci_histb_suspend()
367 if (!device_may_wakeup(dev)) in xhci_histb_resume()
/Linux-v6.1/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.c195 if (device_may_wakeup(&client->dev)) in migor_ts_suspend()
206 if (device_may_wakeup(&client->dev)) in migor_ts_resume()
Dcy8ctmg110_ts.c246 if (!device_may_wakeup(&client->dev)) { in cy8ctmg110_suspend()
259 if (!device_may_wakeup(&client->dev)) { in cy8ctmg110_resume()
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpci_mt6360.c200 if (device_may_wakeup(dev)) in mt6360_tcpc_suspend()
210 if (device_may_wakeup(dev)) in mt6360_tcpc_resume()
/Linux-v6.1/drivers/usb/dwc3/
Ddwc3-imx8mp.c294 if (PMSG_IS_AUTO(msg) || device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_suspend()
343 if (device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_pm_suspend()
359 if (device_may_wakeup(dwc3_imx->dev)) { in dwc3_imx8mp_pm_resume()
/Linux-v6.1/drivers/base/power/
Dwakeirq.c377 if (device_may_wakeup(wirq->dev)) { in dev_pm_arm_wake_irq()
398 if (device_may_wakeup(wirq->dev)) { in dev_pm_disarm_wake_irq()

1234567891011