Home
last modified time | relevance | path

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

/drivers/power/supply/
Dcollie_battery.c293 static int wakeup_enabled; variable
302 wakeup_enabled = !enable_irq_wake(gpio_to_irq(COLLIE_GPIO_CO)); in collie_bat_suspend()
304 wakeup_enabled = 0; in collie_bat_suspend()
311 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()
/drivers/acpi/
Dpower.c65 bool wakeup_enabled; member
474 resource->wakeup_enabled = true; in acpi_power_wakeup_list_init()
574 if (!resource->wakeup_enabled) { in acpi_enable_wakeup_device_power()
577 resource->wakeup_enabled = true; in acpi_enable_wakeup_device_power()
637 if (resource->wakeup_enabled) { in acpi_disable_wakeup_device_power()
640 resource->wakeup_enabled = false; in acpi_disable_wakeup_device_power()