Home
last modified time | relevance | path

Searched refs:wakeup_enabled (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/power/
Dcollie_battery.c29 static int wakeup_enabled; variable
301 wakeup_enabled = !enable_irq_wake(gpio_to_irq(COLLIE_GPIO_CO)); in collie_bat_suspend()
303 wakeup_enabled = 0; in collie_bat_suspend()
310 if (wakeup_enabled) in collie_bat_resume()
Dgpio-charger.c33 bool wakeup_enabled; member
237 gpio_charger->wakeup_enabled = in gpio_charger_suspend()
248 if (device_may_wakeup(dev) && gpio_charger->wakeup_enabled) in gpio_charger_resume()
/linux-4.4.14/drivers/acpi/
Dpower.c65 bool wakeup_enabled; member
473 resource->wakeup_enabled = true; in acpi_power_wakeup_list_init()
573 if (!resource->wakeup_enabled) { in acpi_enable_wakeup_device_power()
576 resource->wakeup_enabled = true; in acpi_enable_wakeup_device_power()
636 if (resource->wakeup_enabled) { in acpi_disable_wakeup_device_power()
639 resource->wakeup_enabled = false; in acpi_disable_wakeup_device_power()