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.
24 * These flags may be set in the struct generic_pm_domain's flags field by a
32 * ->power_on|off(), doesn't sleep. Hence, these
34 * enables genpd to power on/off the PM domain,
40 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain
43 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered
44 * on, in case any of its attached devices is used
45 * in the wakeup path to serve system wakeups.
51 * deploy idle power management support for CPUs
54 * last-man-standing algorithm, for the CPUs in the
57 * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM domain
58 * powered on except for system suspend.
120 struct list_head gpd_list_node; /* Node in the global PM domains list */
130 atomic_t sd_count; /* Number of subdomains with power "on" */
133 unsigned int suspended_count; /* System suspend device counter */
134 unsigned int prepared_count; /* Suspend counter of prepared devices */
139 struct raw_notifier_head power_notifiers; /* Power on/off notifiers */
180 /* Sub-domain's per-master domain performance state */
219 return to_gpd_data(dev->power.subsys_data->domain_data); in dev_gpd_data()
245 return ERR_PTR(-ENOSYS); in dev_gpd_data()
250 return -ENOSYS; in pm_genpd_add_device()
254 return -ENOSYS; in pm_genpd_remove_device()
259 return -ENOSYS; in pm_genpd_add_subdomain()
264 return -ENOSYS; in pm_genpd_remove_subdomain()
269 return -ENOSYS; in pm_genpd_init()
273 return -EOPNOTSUPP; in pm_genpd_remove()
279 return -EOPNOTSUPP; in dev_pm_genpd_set_performance_state()
285 return -EOPNOTSUPP; in dev_pm_genpd_add_notifier()
290 return -EOPNOTSUPP; in dev_pm_genpd_remove_notifier()
346 return -EOPNOTSUPP; in of_genpd_add_provider_simple()
352 return -EOPNOTSUPP; in of_genpd_add_provider_onecell()
360 return -ENODEV; in of_genpd_add_device()
366 return -ENODEV; in of_genpd_add_subdomain()
372 return -ENODEV; in of_genpd_remove_subdomain()
378 return -ENODEV; in of_genpd_parse_idle_states()
408 return ERR_PTR(-EOPNOTSUPP); in of_genpd_remove_last()