Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dcollie_battery.c285 static int wakeup_enabled; variable
294 wakeup_enabled = !enable_irq_wake(gpiod_to_irq(collie_bat_main.gpio_full)); in collie_bat_suspend()
296 wakeup_enabled = 0; in collie_bat_suspend()
303 if (wakeup_enabled) in collie_bat_resume()
Dgpio-charger.c29 bool wakeup_enabled; member
359 gpio_charger->wakeup_enabled = in gpio_charger_suspend()
369 if (device_may_wakeup(dev) && gpio_charger->wakeup_enabled) in gpio_charger_resume()
/linux-5.19.10/drivers/usb/phy/
Dphy-tegra-usb.c391 if (phy->wakeup_enabled) { in utmip_pad_power_off()
658 if (phy->wakeup_enabled && phy->mode != USB_DR_MODE_HOST) in utmi_phy_power_off()
666 if (!phy->wakeup_enabled) { in utmi_phy_power_off()
676 if (!phy->wakeup_enabled) { in utmi_phy_power_off()
688 if (phy->wakeup_enabled) { in utmi_phy_power_off()
850 if (WARN_ON_ONCE(phy->wakeup_enabled)) { in ulpi_phy_power_off()
942 if (phy->wakeup_enabled && phy->mode != USB_DR_MODE_HOST && in tegra_usb_phy_set_wakeup()
954 phy->wakeup_enabled = false; in tegra_usb_phy_set_wakeup()
980 phy->wakeup_enabled = enable; in tegra_usb_phy_set_wakeup()
/linux-5.19.10/include/linux/usb/
Dtegra_usb_phy.h87 bool wakeup_enabled; member
/linux-5.19.10/drivers/platform/surface/aggregator/
Dcontroller.h214 bool wakeup_enabled; member
Dcontroller.c2757 ctrl->irq.wakeup_enabled = true; in ssam_irq_arm_for_wakeup()
2759 ctrl->irq.wakeup_enabled = false; in ssam_irq_arm_for_wakeup()
2780 if (ctrl->irq.wakeup_enabled) { in ssam_irq_disarm_wakeup()
2785 ctrl->irq.wakeup_enabled = false; in ssam_irq_disarm_wakeup()