• Home
  • Raw
  • Download

Lines Matching refs:device

44 	struct device **pd_devs;
119 bool (*suspend_ok)(struct device *dev);
123 int (*start)(struct device *dev);
124 int (*stop)(struct device *dev);
152 struct device dev;
182 struct device *dev);
184 struct device *dev);
231 struct device *dev;
252 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
257 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
258 int pm_genpd_remove_device(struct device *dev);
266 int dev_pm_genpd_set_performance_state(struct device *dev, unsigned int state);
267 int dev_pm_genpd_add_notifier(struct device *dev, struct notifier_block *nb);
268 int dev_pm_genpd_remove_notifier(struct device *dev);
269 void dev_pm_genpd_set_next_wakeup(struct device *dev, ktime_t next);
270 ktime_t dev_pm_genpd_get_next_hrtimer(struct device *dev);
271 void dev_pm_genpd_synced_poweroff(struct device *dev);
280 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
285 struct device *dev) in pm_genpd_add_device()
289 static inline int pm_genpd_remove_device(struct device *dev) in pm_genpd_remove_device()
313 static inline int dev_pm_genpd_set_performance_state(struct device *dev, in dev_pm_genpd_set_performance_state()
319 static inline int dev_pm_genpd_add_notifier(struct device *dev, in dev_pm_genpd_add_notifier()
325 static inline int dev_pm_genpd_remove_notifier(struct device *dev) in dev_pm_genpd_remove_notifier()
330 static inline void dev_pm_genpd_set_next_wakeup(struct device *dev, ktime_t next) in dev_pm_genpd_set_next_wakeup()
333 static inline ktime_t dev_pm_genpd_get_next_hrtimer(struct device *dev) in dev_pm_genpd_get_next_hrtimer()
337 static inline void dev_pm_genpd_synced_poweroff(struct device *dev) in dev_pm_genpd_synced_poweroff()
345 void dev_pm_genpd_suspend(struct device *dev);
346 void dev_pm_genpd_resume(struct device *dev);
348 static inline void dev_pm_genpd_suspend(struct device *dev) {} in dev_pm_genpd_suspend()
349 static inline void dev_pm_genpd_resume(struct device *dev) {} in dev_pm_genpd_resume()
370 int of_genpd_add_device(struct of_phandle_args *args, struct device *dev);
378 unsigned int pm_genpd_opp_to_performance_state(struct device *genpd_dev,
381 int genpd_dev_pm_attach(struct device *dev);
382 struct device *genpd_dev_pm_attach_by_id(struct device *dev,
384 struct device *genpd_dev_pm_attach_by_name(struct device *dev,
402 struct device *dev) in of_genpd_add_device()
426 pm_genpd_opp_to_performance_state(struct device *genpd_dev, in pm_genpd_opp_to_performance_state()
432 static inline int genpd_dev_pm_attach(struct device *dev) in genpd_dev_pm_attach()
437 static inline struct device *genpd_dev_pm_attach_by_id(struct device *dev, in genpd_dev_pm_attach_by_id()
443 static inline struct device *genpd_dev_pm_attach_by_name(struct device *dev, in genpd_dev_pm_attach_by_name()
457 int dev_pm_domain_attach(struct device *dev, bool power_on);
458 struct device *dev_pm_domain_attach_by_id(struct device *dev,
460 struct device *dev_pm_domain_attach_by_name(struct device *dev,
462 int dev_pm_domain_attach_list(struct device *dev,
465 void dev_pm_domain_detach(struct device *dev, bool power_off);
467 int dev_pm_domain_start(struct device *dev);
468 void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd);
469 int dev_pm_domain_set_performance_state(struct device *dev, unsigned int state);
471 static inline int dev_pm_domain_attach(struct device *dev, bool power_on) in dev_pm_domain_attach()
475 static inline struct device *dev_pm_domain_attach_by_id(struct device *dev, in dev_pm_domain_attach_by_id()
480 static inline struct device *dev_pm_domain_attach_by_name(struct device *dev, in dev_pm_domain_attach_by_name()
485 static inline int dev_pm_domain_attach_list(struct device *dev, in dev_pm_domain_attach_list()
491 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} in dev_pm_domain_detach()
493 static inline int dev_pm_domain_start(struct device *dev) in dev_pm_domain_start()
497 static inline void dev_pm_domain_set(struct device *dev, in dev_pm_domain_set()
499 static inline int dev_pm_domain_set_performance_state(struct device *dev, in dev_pm_domain_set_performance_state()