• Home
  • Raw
  • Download

Lines Matching defs:genpd

30 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev)		\  argument
52 static void genpd_lock_mtx(struct generic_pm_domain *genpd) in genpd_lock_mtx()
57 static void genpd_lock_nested_mtx(struct generic_pm_domain *genpd, in genpd_lock_nested_mtx()
63 static int genpd_lock_interruptible_mtx(struct generic_pm_domain *genpd) in genpd_lock_interruptible_mtx()
68 static void genpd_unlock_mtx(struct generic_pm_domain *genpd) in genpd_unlock_mtx()
80 static void genpd_lock_spin(struct generic_pm_domain *genpd) in genpd_lock_spin()
89 static void genpd_lock_nested_spin(struct generic_pm_domain *genpd, in genpd_lock_nested_spin()
99 static int genpd_lock_interruptible_spin(struct generic_pm_domain *genpd) in genpd_lock_interruptible_spin()
109 static void genpd_unlock_spin(struct generic_pm_domain *genpd) in genpd_unlock_spin()
127 #define genpd_status_on(genpd) (genpd->status == GENPD_STATE_ON) argument
128 #define genpd_is_irq_safe(genpd) (genpd->flags & GENPD_FLAG_IRQ_SAFE) argument
129 #define genpd_is_always_on(genpd) (genpd->flags & GENPD_FLAG_ALWAYS_ON) argument
130 #define genpd_is_active_wakeup(genpd) (genpd->flags & GENPD_FLAG_ACTIVE_WAKEUP) argument
131 #define genpd_is_cpu_domain(genpd) (genpd->flags & GENPD_FLAG_CPU_DOMAIN) argument
132 #define genpd_is_rpm_always_on(genpd) (genpd->flags & GENPD_FLAG_RPM_ALWAYS_ON) argument
135 const struct generic_pm_domain *genpd) in irq_safe_dev_in_no_sleep_domain()
185 static int genpd_stop_dev(const struct generic_pm_domain *genpd, in genpd_stop_dev()
191 static int genpd_start_dev(const struct generic_pm_domain *genpd, in genpd_start_dev()
197 static bool genpd_sd_counter_dec(struct generic_pm_domain *genpd) in genpd_sd_counter_dec()
207 static void genpd_sd_counter_inc(struct generic_pm_domain *genpd) in genpd_sd_counter_inc()
218 static void genpd_debug_remove(struct generic_pm_domain *genpd) in genpd_debug_remove()
226 static void genpd_update_accounting(struct generic_pm_domain *genpd) in genpd_update_accounting()
250 static inline void genpd_debug_add(struct generic_pm_domain *genpd) {} in genpd_debug_add()
251 static inline void genpd_debug_remove(struct generic_pm_domain *genpd) {} in genpd_debug_remove()
252 static inline void genpd_update_accounting(struct generic_pm_domain *genpd) {} in genpd_update_accounting()
255 static int _genpd_reeval_performance_state(struct generic_pm_domain *genpd, in _genpd_reeval_performance_state()
300 static int genpd_xlate_performance_state(struct generic_pm_domain *genpd, in genpd_xlate_performance_state()
312 static int _genpd_set_performance_state(struct generic_pm_domain *genpd, in _genpd_set_performance_state()
384 struct generic_pm_domain *genpd = dev_to_genpd(dev); in genpd_set_performance_state() local
437 struct generic_pm_domain *genpd; in dev_pm_genpd_set_performance_state() local
480 struct generic_pm_domain *genpd; in dev_pm_genpd_set_next_wakeup() local
491 static int _genpd_power_on(struct generic_pm_domain *genpd, bool timed) in _genpd_power_on()
540 static int _genpd_power_off(struct generic_pm_domain *genpd, bool timed) in _genpd_power_off()
596 static void genpd_queue_power_off_work(struct generic_pm_domain *genpd) in genpd_queue_power_off_work()
613 static int genpd_power_off(struct generic_pm_domain *genpd, bool one_dev_on, in genpd_power_off()
699 static int genpd_power_on(struct generic_pm_domain *genpd, unsigned int depth) in genpd_power_on()
751 struct generic_pm_domain *genpd = dev_to_genpd(dev); in genpd_dev_pm_start() local
766 struct generic_pm_domain *genpd; in genpd_dev_pm_qos_notifier() local
802 struct generic_pm_domain *genpd; in genpd_power_off_work_fn() local
867 struct generic_pm_domain *genpd; in genpd_runtime_suspend() local
944 struct generic_pm_domain *genpd; in genpd_runtime_resume() local
1031 struct generic_pm_domain *genpd; in genpd_power_off_unused() local
1064 static void genpd_sync_power_off(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_off()
1106 static void genpd_sync_power_on(struct generic_pm_domain *genpd, bool use_lock, in genpd_sync_power_on()
1141 struct generic_pm_domain *genpd; in genpd_prepare() local
1181 struct generic_pm_domain *genpd; in genpd_finish_suspend() local
1240 struct generic_pm_domain *genpd; in genpd_resume_noirq() local
1278 const struct generic_pm_domain *genpd; in genpd_freeze_noirq() local
1307 const struct generic_pm_domain *genpd; in genpd_thaw_noirq() local
1350 struct generic_pm_domain *genpd; in genpd_restore_noirq() local
1397 struct generic_pm_domain *genpd; in genpd_complete() local
1418 struct generic_pm_domain *genpd; in genpd_switch_state() local
1539 static void genpd_update_cpumask(struct generic_pm_domain *genpd, in genpd_update_cpumask()
1561 static void genpd_set_cpumask(struct generic_pm_domain *genpd, int cpu) in genpd_set_cpumask()
1567 static void genpd_clear_cpumask(struct generic_pm_domain *genpd, int cpu) in genpd_clear_cpumask()
1573 static int genpd_get_cpu(struct generic_pm_domain *genpd, struct device *dev) in genpd_get_cpu()
1588 static int genpd_add_device(struct generic_pm_domain *genpd, struct device *dev, in genpd_add_device()
1635 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev) in pm_genpd_add_device()
1647 static int genpd_remove_device(struct generic_pm_domain *genpd, in genpd_remove_device()
1698 struct generic_pm_domain *genpd = dev_to_genpd_safe(dev); in pm_genpd_remove_device() local
1724 struct generic_pm_domain *genpd; in dev_pm_genpd_add_notifier() local
1770 struct generic_pm_domain *genpd; in dev_pm_genpd_remove_notifier() local
1802 static int genpd_add_subdomain(struct generic_pm_domain *genpd, in genpd_add_subdomain()
1862 int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain()
1880 int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain()
1927 static int genpd_set_default_power_state(struct generic_pm_domain *genpd) in genpd_set_default_power_state()
1942 static void genpd_lock_init(struct generic_pm_domain *genpd) in genpd_lock_init()
1961 int pm_genpd_init(struct generic_pm_domain *genpd, in pm_genpd_init()
2035 static int genpd_remove(struct generic_pm_domain *genpd) in genpd_remove()
2089 int pm_genpd_remove(struct generic_pm_domain *genpd) in pm_genpd_remove()
2214 static bool genpd_present(const struct generic_pm_domain *genpd) in genpd_present()
2237 struct generic_pm_domain *genpd) in of_genpd_add_provider_simple()
2292 struct generic_pm_domain *genpd; in of_genpd_add_provider_onecell() local
2416 struct generic_pm_domain *genpd = ERR_PTR(-ENOENT); in genpd_get_from_provider() local
2447 struct generic_pm_domain *genpd; in of_genpd_add_device() local
2558 struct generic_pm_domain *gpd, *tmp, *genpd = ERR_PTR(-ENOENT); in of_genpd_remove_last() local
2969 struct generic_pm_domain *genpd = NULL; in pm_genpd_opp_to_performance_state() local
3032 struct generic_pm_domain *genpd) in genpd_summary_one()
3093 struct generic_pm_domain *genpd; in summary_show() local
3121 struct generic_pm_domain *genpd = s->private; in status_show() local
3143 struct generic_pm_domain *genpd = s->private; in sub_domains_show() local
3160 struct generic_pm_domain *genpd = s->private; in idle_states_show() local
3190 struct generic_pm_domain *genpd = s->private; in active_time_show() local
3210 struct generic_pm_domain *genpd = s->private; in total_idle_time_show() local
3238 struct generic_pm_domain *genpd = s->private; in devices_show() local
3264 struct generic_pm_domain *genpd = s->private; in perf_state_show() local
3284 static void genpd_debug_add(struct generic_pm_domain *genpd) in genpd_debug_add()
3312 struct generic_pm_domain *genpd; in genpd_debug_init() local