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.
25 * These flags may be set in the struct generic_pm_domain's flags field by a
33 * ->power_on|off(), doesn't sleep. Hence, these
35 * enables genpd to power on/off the PM domain,
41 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain
44 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered
45 * on, in case any of its attached devices is used
46 * in the wakeup path to serve system wakeups.
52 * deploy idle power management support for CPUs
55 * last-man-standing algorithm, for the CPUs in the
58 * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM domain
59 * powered on except for system suspend.
67 * described in DT, but are given directly by FW.
126 struct list_head gpd_list_node; /* Node in the global PM domains list */
136 atomic_t sd_count; /* Number of subdomains with power "on" */
139 unsigned int suspended_count; /* System suspend device counter */
140 unsigned int prepared_count; /* Suspend counter of prepared devices */
146 struct raw_notifier_head power_notifiers; /* Power on/off notifiers */
185 /* Sub-domain's per-master domain performance state */
224 return to_gpd_data(dev->power.subsys_data->domain_data); in dev_gpd_data()
252 return ERR_PTR(-ENOSYS); in dev_gpd_data()
257 return -ENOSYS; in pm_genpd_add_device()
261 return -ENOSYS; in pm_genpd_remove_device()
266 return -ENOSYS; in pm_genpd_add_subdomain()
271 return -ENOSYS; in pm_genpd_remove_subdomain()
276 return -ENOSYS; in pm_genpd_init()
280 return -EOPNOTSUPP; in pm_genpd_remove()
286 return -EOPNOTSUPP; in dev_pm_genpd_set_performance_state()
292 return -EOPNOTSUPP; in dev_pm_genpd_add_notifier()
297 return -EOPNOTSUPP; in dev_pm_genpd_remove_notifier()
358 return -EOPNOTSUPP; in of_genpd_add_provider_simple()
364 return -EOPNOTSUPP; in of_genpd_add_provider_onecell()
372 return -ENODEV; in of_genpd_add_device()
378 return -ENODEV; in of_genpd_add_subdomain()
384 return -ENODEV; in of_genpd_remove_subdomain()
390 return -ENODEV; in of_genpd_parse_idle_states()
413 return ERR_PTR(-EOPNOTSUPP); in of_genpd_remove_last()