Home
last modified time | relevance | path

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

12345678

/linux/drivers/acpi/
H A 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()
H A 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()
H A Ddevice_pm.c720 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state()
722 } else if (device_may_wakeup(dev) && dev->power.wakeirq) { in acpi_dev_pm_get_state()
1098 device_may_wakeup(dev) != !!adev->wakeup.prepare_count)) in acpi_dev_needs_resume()
1187 return ret ? ret : acpi_dev_suspend(dev, device_may_wakeup(dev)); in acpi_subsys_suspend_late()
1213 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq()
1349 return acpi_dev_suspend(dev, device_may_wakeup(dev)); in acpi_subsys_poweroff_late()
/linux/drivers/extcon/
H A Dextcon-usb-gpio.c210 if (device_may_wakeup(dev)) { in usb_extcon_suspend()
227 if (!device_may_wakeup(dev)) in usb_extcon_suspend()
238 if (!device_may_wakeup(dev)) in usb_extcon_resume()
241 if (device_may_wakeup(dev)) { in usb_extcon_resume()
H A 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()
H A 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()
/linux/drivers/rtc/
H A Drtc-tegra.c368 device_may_wakeup(dev), info->irq); in tegra_rtc_suspend()
371 if (device_may_wakeup(dev)) in tegra_rtc_suspend()
382 device_may_wakeup(dev)); in tegra_rtc_resume()
385 if (device_may_wakeup(dev)) in tegra_rtc_resume()
H A Drtc-brcmstb-waketimer.c113 if (device_may_wakeup(timer->dev)) { in brcmstb_alarm_irq()
152 if (device_may_wakeup(dev)) { in brcmstb_waketmr_prepare_suspend()
378 if (timer->alarm_expired && device_may_wakeup(dev)) in brcmstb_waketmr_suspend_noirq()
389 if (!device_may_wakeup(dev)) in brcmstb_waketmr_resume()
/linux/drivers/input/misc/
H A De3x0-button.c42 if (device_may_wakeup(dev)) in e3x0_button_suspend()
52 if (device_may_wakeup(dev)) in e3x0_button_resume()
H A D88pm860x_onkey.c118 if (device_may_wakeup(dev)) in pm860x_onkey_suspend()
127 if (device_may_wakeup(dev)) in pm860x_onkey_resume()
H A Dmax8925_onkey.c138 if (device_may_wakeup(dev)) { in max8925_onkey_suspend()
152 if (device_may_wakeup(dev)) { in max8925_onkey_resume()
H A Dstpmic1_onkey.c150 if (device_may_wakeup(dev)) { in stpmic1_onkey_suspend()
162 if (device_may_wakeup(dev)) { in stpmic1_onkey_resume()
H A Dpalmas-pwrbutton.c274 if (device_may_wakeup(dev)) in palmas_pwron_suspend()
293 if (device_may_wakeup(dev)) in palmas_pwron_resume()
/linux/drivers/mfd/
H A D88pm80x.c137 if (device_may_wakeup(chip->dev)) in pm80x_suspend()
149 if (device_may_wakeup(chip->dev)) in pm80x_resume()
H A Dmax77843.c183 if (device_may_wakeup(dev)) in max77843_suspend()
194 if (device_may_wakeup(dev)) in max77843_resume()
H A Dmax77686.c233 if (device_may_wakeup(dev)) in max77686_suspend()
255 if (device_may_wakeup(dev)) in max77686_resume()
H A Dmax8925-i2c.c213 if (device_may_wakeup(dev) && chip->wakeup_flag) in max8925_suspend()
223 if (device_may_wakeup(dev) && chip->wakeup_flag) in max8925_resume()
/linux/drivers/usb/core/
H A Dphy.c340 if (device_may_wakeup(controller_dev)) in usb_phy_roothub_suspend()
353 if (!device_may_wakeup(controller_dev)) { in usb_phy_roothub_resume()
362 if (err && !device_may_wakeup(controller_dev)) in usb_phy_roothub_resume()
/linux/drivers/input/touchscreen/
H A Dzforce_ts.c433 if (ts->suspended && device_may_wakeup(&client->dev)) in zforce_irq()
461 if (!suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
489 if (suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
543 if (!suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread()
581 if (device_may_wakeup(&client->dev)) { in __zforce_suspend()
635 if (device_may_wakeup(&client->dev)) { in zforce_resume()
H A Dmigor_ts.c194 if (device_may_wakeup(&client->dev)) in migor_ts_suspend()
205 if (device_may_wakeup(&client->dev)) in migor_ts_resume()
H A Dcy8ctmg110_ts.c245 if (!device_may_wakeup(&client->dev)) { in cy8ctmg110_suspend()
258 if (!device_may_wakeup(&client->dev)) { in cy8ctmg110_resume()
/linux/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c284 if (PMSG_IS_AUTO(msg) || device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_suspend()
332 if (device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_pm_suspend()
348 if (device_may_wakeup(dwc3_imx->dev)) { in dwc3_imx8mp_pm_resume()
/linux/drivers/usb/host/
H A Dxhci-plat.c470 ret = xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_plat_suspend()
474 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) { in xhci_plat_suspend()
488 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) { in xhci_plat_resume_common()
515 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) { in xhci_plat_resume_common()
/linux/drivers/input/keyboard/
H A Dqt1070.c217 if (device_may_wakeup(dev)) in qt1070_suspend()
228 if (device_may_wakeup(dev)) in qt1070_resume()
H A Dmax7359_keypad.c251 if (device_may_wakeup(&client->dev)) in max7359_suspend()
261 if (device_may_wakeup(&client->dev)) in max7359_resume()

12345678