| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | proc.c | 42 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 D | wakeup.c | 46 || !(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 D | device_pm.c | 638 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state() 986 device_may_wakeup(dev) != !!adev->wakeup.prepare_count)) in acpi_dev_needs_resume() 1075 return ret ? ret : acpi_dev_suspend(dev, device_may_wakeup(dev)); in acpi_subsys_suspend_late() 1101 if (device_can_wakeup(dev) && !device_may_wakeup(dev)) in acpi_subsys_suspend_noirq() 1207 return acpi_dev_suspend(dev, device_may_wakeup(dev)); in acpi_subsys_poweroff_late()
|
| /OK3568_Linux_fs/kernel/drivers/extcon/ |
| H A D | extcon-usb-gpio.c | 213 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()
|
| H A D | extcon-qcom-spmi-misc.c | 123 if (device_may_wakeup(dev)) in qcom_usb_extcon_suspend() 134 if (device_may_wakeup(dev)) in qcom_usb_extcon_resume()
|
| H A D | extcon-adc-jack.c | 177 if (device_may_wakeup(data->dev)) in adc_jack_suspend() 187 if (device_may_wakeup(data->dev)) in adc_jack_resume()
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | phy.c | 220 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()
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-tegra.c | 370 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | e3x0-button.c | 42 if (device_may_wakeup(dev)) in e3x0_button_suspend() 52 if (device_may_wakeup(dev)) in e3x0_button_resume()
|
| H A D | 88pm860x_onkey.c | 118 if (device_may_wakeup(dev)) in pm860x_onkey_suspend() 127 if (device_may_wakeup(dev)) in pm860x_onkey_resume()
|
| H A D | max8925_onkey.c | 138 if (device_may_wakeup(dev)) { in max8925_onkey_suspend() 152 if (device_may_wakeup(dev)) { in max8925_onkey_resume()
|
| H A D | stpmic1_onkey.c | 150 if (device_may_wakeup(dev)) { in stpmic1_onkey_suspend() 162 if (device_may_wakeup(dev)) { in stpmic1_onkey_resume()
|
| /OK3568_Linux_fs/kernel/drivers/usb/phy/ |
| H A D | phy-am335x.c | 106 if (device_may_wakeup(dev)) in am335x_phy_suspend() 120 if (device_may_wakeup(dev)) in am335x_phy_resume()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | 88pm80x.c | 139 if (device_may_wakeup(chip->dev)) in pm80x_suspend() 151 if (device_may_wakeup(chip->dev)) in pm80x_resume()
|
| H A D | max77843.c | 184 if (device_may_wakeup(dev)) in max77843_suspend() 195 if (device_may_wakeup(dev)) in max77843_resume()
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec.c | 67 if (wake_event && device_may_wakeup(ec_dev->dev)) in cros_ec_handle_event() 322 if (device_may_wakeup(dev)) in cros_ec_suspend() 342 if (wake_event && device_may_wakeup(ec_dev->dev)) in cros_ec_report_events_during_suspend()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | zforce_ts.c | 476 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()
|
| H A D | migor_ts.c | 197 if (device_may_wakeup(&client->dev)) in migor_ts_suspend() 208 if (device_may_wakeup(&client->dev)) in migor_ts_resume()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | dwc3-imx8mp.c | 234 if (PMSG_IS_AUTO(msg) || device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_suspend() 280 if (device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_pm_suspend() 296 if (device_may_wakeup(dwc3_imx->dev)) { in dwc3_imx8mp_pm_resume()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | pm_wakeup.h | 82 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function 172 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-histb.c | 353 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | gpio-ir-recv.c | 138 if (device_may_wakeup(dev)) in gpio_ir_recv_suspend() 150 if (device_may_wakeup(dev)) in gpio_ir_recv_resume()
|
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | wakeirq.c | 321 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/ |
| H A D | tcpci_mt6360.c | 201 if (device_may_wakeup(dev)) in mt6360_tcpc_suspend() 211 if (device_may_wakeup(dev)) in mt6360_tcpc_resume()
|
| /OK3568_Linux_fs/kernel/arch/x86/platform/olpc/ |
| H A D | olpc-xo1-sci.c | 268 if (device_may_wakeup(&power_button_idev->dev)) in xo1_sci_suspend() 273 if (device_may_wakeup(&ebook_switch_idev->dev)) in xo1_sci_suspend() 278 if (!device_may_wakeup(&lid_switch_idev->dev)) { in xo1_sci_suspend()
|