Lines Matching refs:generic_pm_domain
109 struct generic_pm_domain { struct
128 int (*power_off)(struct generic_pm_domain *domain); argument
129 int (*power_on)(struct generic_pm_domain *domain); argument
132 unsigned int (*opp_to_performance_state)(struct generic_pm_domain *genpd, argument
134 int (*set_performance_state)(struct generic_pm_domain *genpd, argument
142 int (*attach_dev)(struct generic_pm_domain *domain, argument
144 void (*detach_dev)(struct generic_pm_domain *domain, argument
165 static inline struct generic_pm_domain *pd_to_genpd(struct dev_pm_domain *pd) in pd_to_genpd() argument
167 return container_of(pd, struct generic_pm_domain, domain); in pd_to_genpd()
171 struct generic_pm_domain *parent;
173 struct generic_pm_domain *child;
218 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
220 int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
221 struct generic_pm_domain *subdomain);
222 int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
223 struct generic_pm_domain *subdomain);
224 int pm_genpd_init(struct generic_pm_domain *genpd,
226 int pm_genpd_remove(struct generic_pm_domain *genpd);
243 static inline int pm_genpd_add_device(struct generic_pm_domain *genpd, in pm_genpd_add_device()
252 static inline int pm_genpd_add_subdomain(struct generic_pm_domain *genpd, in pm_genpd_add_subdomain()
253 struct generic_pm_domain *subdomain) in pm_genpd_add_subdomain()
257 static inline int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd, in pm_genpd_remove_subdomain()
258 struct generic_pm_domain *subdomain) in pm_genpd_remove_subdomain()
262 static inline int pm_genpd_init(struct generic_pm_domain *genpd, in pm_genpd_init()
267 static inline int pm_genpd_remove(struct generic_pm_domain *genpd) in pm_genpd_remove()
307 typedef struct generic_pm_domain *(*genpd_xlate_t)(struct of_phandle_args *args,
311 struct generic_pm_domain **domains;
318 struct generic_pm_domain *genpd);
327 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np);
340 struct generic_pm_domain *genpd) in of_genpd_add_provider_simple()
402 struct generic_pm_domain *of_genpd_remove_last(struct device_node *np) in of_genpd_remove_last()