Lines Matching refs:generic_pm_domain

155 struct generic_pm_domain {  struct
177 int (*power_off)(struct generic_pm_domain *domain); argument
178 int (*power_on)(struct generic_pm_domain *domain); argument
181 int (*set_performance_state)(struct generic_pm_domain *genpd, argument
184 int (*set_hwmode_dev)(struct generic_pm_domain *domain, argument
186 bool (*get_hwmode_dev)(struct generic_pm_domain *domain, argument
188 int (*attach_dev)(struct generic_pm_domain *domain, argument
190 void (*detach_dev)(struct generic_pm_domain *domain, argument
214 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument
216 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd()
220 struct generic_pm_domain *parent;
222 struct generic_pm_domain *child;
268 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
270 int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
271 struct generic_pm_domain *subdomain);
272 int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
273 struct generic_pm_domain *subdomain);
274 int pm_genpd_init(struct generic_pm_domain *genpd,
276 int pm_genpd_remove(struct generic_pm_domain *genpd);
298 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device()
307 static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain()
308 struct generic_pm_domain *subdomain) in pm_genpd_add_subdomain()
312 static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain()
313 struct generic_pm_domain *subdomain) in pm_genpd_remove_subdomain()
317 static inline int pm_genpd_init(struct generic_pm_domain *genpd, in pm_genpd_init()
322 static inline int pm_genpd_remove(struct generic_pm_domain *genpd) in pm_genpd_remove()
384 typedef struct generic_pm_domain *(*genpd_xlate_t)(const struct of_phandle_args *args,
388 struct generic_pm_domain **domains;
395 struct generic_pm_domain *genpd);
404 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np);
415 struct generic_pm_domain *genpd) in of_genpd_add_provider_simple()
470 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np) in of_genpd_remove_last()