Searched refs:generic_pm_domain (Results 1 – 9 of 9) sorted by relevance
47 struct generic_pm_domain { struct68 int (*power_off)(struct generic_pm_domain *domain); argument70 int (*power_on)(struct generic_pm_domain *domain); argument79 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument81 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd()85 struct generic_pm_domain *master;87 struct generic_pm_domain *slave;120 extern struct generic_pm_domain *dev_to_genpd(struct device *dev);121 extern int __pm_genpd_add_device(struct generic_pm_domain *genpd,129 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device()[all …]
55 struct generic_pm_domain *dev_to_genpd(struct device *dev) in dev_to_genpd()63 static int genpd_stop_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_stop_dev()69 static int genpd_start_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_start_dev()75 static int genpd_save_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_save_dev()81 static int genpd_restore_dev(struct generic_pm_domain *genpd, struct device *dev) in genpd_restore_dev()88 static bool genpd_sd_counter_dec(struct generic_pm_domain *genpd) in genpd_sd_counter_dec()98 static void genpd_sd_counter_inc(struct generic_pm_domain *genpd) in genpd_sd_counter_inc()104 static void genpd_acquire_lock(struct generic_pm_domain *genpd) in genpd_acquire_lock()128 static void genpd_release_lock(struct generic_pm_domain *genpd) in genpd_release_lock()133 static void genpd_set_active(struct generic_pm_domain *genpd) in genpd_set_active()[all …]
42 struct generic_pm_domain *genpd = pd_to_genpd(pd); in default_power_down_ok()70 struct generic_pm_domain *sd = link->slave; in default_power_down_ok()
33 struct generic_pm_domain pd;36 static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) in exynos_pd_power()65 static int exynos_pd_power_on(struct generic_pm_domain *domain) in exynos_pd_power_on()70 static int exynos_pd_power_off(struct generic_pm_domain *domain) in exynos_pd_power_off()
159 static int pd_power_down(struct generic_pm_domain *genpd) in pd_power_down()164 static int pd_power_up(struct generic_pm_domain *genpd) in pd_power_up()169 static bool pd_is_off(struct generic_pm_domain *genpd) in pd_is_off()188 struct generic_pm_domain *genpd = &r8a7779_pd->genpd; in r8a7779_init_pm_domain()
79 static int pd_power_down(struct generic_pm_domain *genpd) in pd_power_down()143 static int pd_power_up(struct generic_pm_domain *genpd) in pd_power_up()194 struct generic_pm_domain *genpd = &sh7372_pd->genpd; in sh7372_init_pm_domain()
40 struct generic_pm_domain pd;43 static int s3c64xx_pd_off(struct generic_pm_domain *domain) in s3c64xx_pd_off()57 static int s3c64xx_pd_on(struct generic_pm_domain *domain) in s3c64xx_pd_on()
481 struct generic_pm_domain genpd;489 static inline struct sh7372_pm_domain *to_sh7372_pd(struct generic_pm_domain *d) in to_sh7372_pd()
337 struct generic_pm_domain genpd;341 static inline struct r8a7779_pm_ch *to_r8a7779_ch(struct generic_pm_domain *d) in to_r8a7779_ch()