Searched refs:device_may_wakeup (Results 1 - 25 of 274) sorted by relevance

1234567891011

/linux-master/drivers/acpi/
H A Dwakeup.c46 || !(device_may_wakeup(&dev->dev)
50 if (device_may_wakeup(&dev->dev))
71 || !(device_may_wakeup(&dev->dev)
78 if (device_may_wakeup(&dev->dev))
H A Dproc.c42 device_may_wakeup(&dev->dev) ?
58 (device_may_wakeup(&dev->dev) ||
59 device_may_wakeup(ldev)) ?
82 bool enable = !device_may_wakeup(entry->dev);
114 bool enable = !device_may_wakeup(&dev->dev);
/linux-master/drivers/input/misc/
H A De3x0-button.c42 if (device_may_wakeup(dev))
52 if (device_may_wakeup(dev))
H A Dmax8925_onkey.c138 if (device_may_wakeup(dev)) {
152 if (device_may_wakeup(dev)) {
H A D88pm860x_onkey.c118 if (device_may_wakeup(dev))
127 if (device_may_wakeup(dev))
H A Dstpmic1_onkey.c150 if (device_may_wakeup(dev)) {
162 if (device_may_wakeup(dev)) {
/linux-master/drivers/mfd/
H A D88pm80x.c137 if (device_may_wakeup(chip->dev))
149 if (device_may_wakeup(chip->dev))
H A Dmax77843.c183 if (device_may_wakeup(dev))
194 if (device_may_wakeup(dev))
/linux-master/drivers/extcon/
H A Dextcon-usb-gpio.c212 if (device_may_wakeup(dev)) {
229 if (!device_may_wakeup(dev))
240 if (!device_may_wakeup(dev))
243 if (device_may_wakeup(dev)) {
H A Dextcon-adc-jack.c177 if (device_may_wakeup(data->dev))
187 if (device_may_wakeup(data->dev))
H A Dextcon-qcom-spmi-misc.c172 if (device_may_wakeup(dev)) {
187 if (device_may_wakeup(dev)) {
/linux-master/drivers/usb/phy/
H A Dphy-am335x.c105 if (device_may_wakeup(dev))
119 if (device_may_wakeup(dev))
/linux-master/include/linux/
H A Dpm_wakeup.h74 * Changes to device_may_wakeup take effect on the next pm state change.
82 static inline bool device_may_wakeup(struct device *dev) function
169 static inline bool device_may_wakeup(struct device *dev) function
/linux-master/drivers/rtc/
H A Drtc-tegra.c367 dev_vdbg(dev, "Suspend (device_may_wakeup=%d) IRQ:%d\n",
368 device_may_wakeup(dev), info->irq);
371 if (device_may_wakeup(dev))
381 dev_vdbg(dev, "Resume (device_may_wakeup=%d)\n",
382 device_may_wakeup(dev));
385 if (device_may_wakeup(dev))
H A Drtc-brcmstb-waketimer.c114 if (device_may_wakeup(timer->dev)) {
153 if (device_may_wakeup(dev)) {
379 if (timer->alarm_expired && device_may_wakeup(dev))
390 if (!device_may_wakeup(dev))
H A Drtc-as3722.c220 if (device_may_wakeup(dev))
230 if (device_may_wakeup(dev))
H A Drtc-xgene.c217 if (device_may_wakeup(&pdev->dev)) {
237 if (device_may_wakeup(&pdev->dev)) {
/linux-master/drivers/usb/core/
H A Dphy.c340 if (device_may_wakeup(controller_dev))
353 if (!device_may_wakeup(controller_dev)) {
362 if (err && !device_may_wakeup(controller_dev))
/linux-master/drivers/usb/host/
H A Dxhci-histb.c341 ret = xhci_suspend(xhci, device_may_wakeup(dev));
343 if (!device_may_wakeup(dev))
355 if (!device_may_wakeup(dev))
H A Dehci-npcm7xx.c32 bool do_wakeup = device_may_wakeup(dev);
H A Dxhci-plat.c458 ret = xhci_suspend(xhci, device_may_wakeup(dev));
462 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) {
476 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) {
503 if (!device_may_wakeup(dev) && (xhci->quirks & XHCI_SUSPEND_RESUME_CLKS)) {
/linux-master/drivers/platform/chrome/
H A Dcros_ec.c72 if (wake_event && device_may_wakeup(ec_dev->dev))
357 if (device_may_wakeup(dev))
406 if (wake_event && device_may_wakeup(ec_dev->dev))
/linux-master/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c292 if (PMSG_IS_AUTO(msg) || device_may_wakeup(dwc3_imx->dev))
341 if (device_may_wakeup(dwc3_imx->dev))
357 if (device_may_wakeup(dwc3_imx->dev)) {
/linux-master/drivers/input/keyboard/
H A Dst-keyscan.c221 if (device_may_wakeup(dev))
239 if (device_may_wakeup(dev))
/linux-master/drivers/input/touchscreen/
H A Dcy8ctmg110_ts.c245 if (!device_may_wakeup(&client->dev)) {
258 if (!device_may_wakeup(&client->dev)) {

Completed in 210 milliseconds

1234567891011