• Home
  • Raw
  • Download

Lines Matching refs:dev

124 	bool (*suspend_ok)(struct device *dev);
128 int (*start)(struct device *dev);
129 int (*stop)(struct device *dev);
156 struct device dev; member
185 struct device *dev, bool enable);
187 struct device *dev);
189 struct device *dev);
191 struct device *dev);
241 struct device *dev; member
264 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data() argument
266 return to_gpd_data(dev->power.subsys_data->domain_data); in dev_gpd_data()
269 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
270 int pm_genpd_remove_device(struct device *dev);
278 struct device *dev_to_genpd_dev(struct device *dev);
279 int dev_pm_genpd_set_performance_state(struct device *dev, unsigned int state);
280 int dev_pm_genpd_add_notifier(struct device *dev, struct notifier_block *nb);
281 int dev_pm_genpd_remove_notifier(struct device *dev);
282 void dev_pm_genpd_set_next_wakeup(struct device *dev, ktime_t next);
283 ktime_t dev_pm_genpd_get_next_hrtimer(struct device *dev);
284 void dev_pm_genpd_synced_poweroff(struct device *dev);
285 int dev_pm_genpd_set_hwmode(struct device *dev, bool enable);
286 bool dev_pm_genpd_get_hwmode(struct device *dev);
287 int dev_pm_genpd_rpm_always_on(struct device *dev, bool on);
296 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data() argument
301 struct device *dev) in pm_genpd_add_device() argument
305 static inline int pm_genpd_remove_device(struct device *dev) in pm_genpd_remove_device() argument
329 static inline struct device *dev_to_genpd_dev(struct device *dev) in dev_to_genpd_dev() argument
334 static inline int dev_pm_genpd_set_performance_state(struct device *dev, in dev_pm_genpd_set_performance_state() argument
340 static inline int dev_pm_genpd_add_notifier(struct device *dev, in dev_pm_genpd_add_notifier() argument
346 static inline int dev_pm_genpd_remove_notifier(struct device *dev) in dev_pm_genpd_remove_notifier() argument
351 static inline void dev_pm_genpd_set_next_wakeup(struct device *dev, ktime_t next) in dev_pm_genpd_set_next_wakeup() argument
354 static inline ktime_t dev_pm_genpd_get_next_hrtimer(struct device *dev) in dev_pm_genpd_get_next_hrtimer() argument
358 static inline void dev_pm_genpd_synced_poweroff(struct device *dev) in dev_pm_genpd_synced_poweroff() argument
361 static inline int dev_pm_genpd_set_hwmode(struct device *dev, bool enable) in dev_pm_genpd_set_hwmode() argument
366 static inline bool dev_pm_genpd_get_hwmode(struct device *dev) in dev_pm_genpd_get_hwmode() argument
371 static inline int dev_pm_genpd_rpm_always_on(struct device *dev, bool on) in dev_pm_genpd_rpm_always_on() argument
381 void dev_pm_genpd_suspend(struct device *dev);
382 void dev_pm_genpd_resume(struct device *dev);
384 static inline void dev_pm_genpd_suspend(struct device *dev) {} in dev_pm_genpd_suspend() argument
385 static inline void dev_pm_genpd_resume(struct device *dev) {} in dev_pm_genpd_resume() argument
406 int of_genpd_add_device(const struct of_phandle_args *args, struct device *dev);
415 int genpd_dev_pm_attach(struct device *dev);
416 struct device *genpd_dev_pm_attach_by_id(struct device *dev,
418 struct device *genpd_dev_pm_attach_by_name(struct device *dev,
436 struct device *dev) in of_genpd_add_device() argument
459 static inline int genpd_dev_pm_attach(struct device *dev) in genpd_dev_pm_attach() argument
464 static inline struct device *genpd_dev_pm_attach_by_id(struct device *dev, in genpd_dev_pm_attach_by_id() argument
470 static inline struct device *genpd_dev_pm_attach_by_name(struct device *dev, in genpd_dev_pm_attach_by_name() argument
484 int dev_pm_domain_attach(struct device *dev, bool power_on);
485 struct device *dev_pm_domain_attach_by_id(struct device *dev,
487 struct device *dev_pm_domain_attach_by_name(struct device *dev,
489 int dev_pm_domain_attach_list(struct device *dev,
492 int devm_pm_domain_attach_list(struct device *dev,
495 void dev_pm_domain_detach(struct device *dev, bool power_off);
497 int dev_pm_domain_start(struct device *dev);
498 void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd);
499 int dev_pm_domain_set_performance_state(struct device *dev, unsigned int state);
501 static inline int dev_pm_domain_attach(struct device *dev, bool power_on) in dev_pm_domain_attach() argument
505 static inline struct device *dev_pm_domain_attach_by_id(struct device *dev, in dev_pm_domain_attach_by_id() argument
510 static inline struct device *dev_pm_domain_attach_by_name(struct device *dev, in dev_pm_domain_attach_by_name() argument
515 static inline int dev_pm_domain_attach_list(struct device *dev, in dev_pm_domain_attach_list() argument
522 static inline int devm_pm_domain_attach_list(struct device *dev, in devm_pm_domain_attach_list() argument
529 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} in dev_pm_domain_detach() argument
531 static inline int dev_pm_domain_start(struct device *dev) in dev_pm_domain_start() argument
535 static inline void dev_pm_domain_set(struct device *dev, in dev_pm_domain_set() argument
537 static inline int dev_pm_domain_set_performance_state(struct device *dev, in dev_pm_domain_set_performance_state() argument