Lines Matching +full:keep +full:- +full:power +full:- +full:in +full:- +full:suspend

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pm_domain.h - Definitions and headers related to device power domains.
23 * These flags may be set in the struct generic_pm_domain's flags field by a
31 * ->power_on|off(), doesn't sleep. Hence, these
33 * enables genpd to power on/off the PM domain,
39 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain
42 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered
43 * on, in case any of its attached devices is used
44 * in the wakeup path to serve system wakeups.
50 * deploy idle power management support for CPUs
53 * last-man-standing algorithm, for the CPUs in the
56 * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM domain
57 * powered on except for system suspend.
106 struct list_head gpd_list_node; /* Node in the global PM domains list */
115 atomic_t sd_count; /* Number of subdomains with power "on" */
118 unsigned int suspended_count; /* System suspend device counter */
119 unsigned int prepared_count; /* Suspend counter of prepared devices */
124 struct raw_notifier_head power_notifiers; /* Power on/off notifiers */
169 /* Sub-domain's per-master domain performance state */
205 return to_gpd_data(dev->power.subsys_data->domain_data); in dev_gpd_data()
230 return ERR_PTR(-ENOSYS); in dev_gpd_data()
235 return -ENOSYS; in pm_genpd_add_device()
239 return -ENOSYS; in pm_genpd_remove_device()
244 return -ENOSYS; in pm_genpd_add_subdomain()
249 return -ENOSYS; in pm_genpd_remove_subdomain()
254 return -ENOSYS; in pm_genpd_init()
258 return -ENOTSUPP; in pm_genpd_remove()
264 return -ENOTSUPP; in dev_pm_genpd_set_performance_state()
270 return -ENOTSUPP; in dev_pm_genpd_add_notifier()
275 return -ENOTSUPP; in dev_pm_genpd_remove_notifier()
328 return -ENOTSUPP; in of_genpd_add_provider_simple()
334 return -ENOTSUPP; in of_genpd_add_provider_onecell()
342 return -ENODEV; in of_genpd_add_device()
348 return -ENODEV; in of_genpd_add_subdomain()
354 return -ENODEV; in of_genpd_remove_subdomain()
360 return -ENODEV; in of_genpd_parse_idle_states()
390 return ERR_PTR(-ENOTSUPP); in of_genpd_remove_last()