Lines Matching refs:device
23 struct device;
76 struct device *dev;
81 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev);
90 int dev_pm_opp_get_opp_count(struct device *dev);
91 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev);
92 unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev);
93 unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev);
94 unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev);
96 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev,
100 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev,
103 struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev,
107 int dev_pm_opp_add(struct device *dev, unsigned long freq,
109 void dev_pm_opp_remove(struct device *dev, unsigned long freq);
111 int dev_pm_opp_enable(struct device *dev, unsigned long freq);
113 int dev_pm_opp_disable(struct device *dev, unsigned long freq);
115 int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb);
116 int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb);
118 struct opp_table *dev_pm_opp_set_supported_hw(struct device *dev, const u32 *versions, unsigned int…
120 struct opp_table *dev_pm_opp_set_prop_name(struct device *dev, const char *name);
122 struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigne…
124 struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name);
126 struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, int (*set_opp)(struct dev_…
128 int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq);
129 int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask);
130 int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
131 void dev_pm_opp_remove_table(struct device *dev);
134 static inline struct opp_table *dev_pm_opp_get_opp_table(struct device *dev) in dev_pm_opp_get_opp_table()
156 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count()
161 static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency()
166 static inline unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev) in dev_pm_opp_get_max_volt_latency()
171 static inline unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev) in dev_pm_opp_get_max_transition_latency()
176 static inline unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev) in dev_pm_opp_get_suspend_opp_freq()
181 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
187 static inline struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor()
193 static inline struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil()
201 static inline int dev_pm_opp_add(struct device *dev, unsigned long freq, in dev_pm_opp_add()
207 static inline void dev_pm_opp_remove(struct device *dev, unsigned long freq) in dev_pm_opp_remove()
211 static inline int dev_pm_opp_enable(struct device *dev, unsigned long freq) in dev_pm_opp_enable()
216 static inline int dev_pm_opp_disable(struct device *dev, unsigned long freq) in dev_pm_opp_disable()
221 static inline int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb) in dev_pm_opp_register_notifier()
226 static inline int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb) in dev_pm_opp_unregister_notifier()
231 static inline struct opp_table *dev_pm_opp_set_supported_hw(struct device *dev, in dev_pm_opp_set_supported_hw()
240 static inline struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, in dev_pm_opp_register_set_opp_helper()
248 static inline struct opp_table *dev_pm_opp_set_prop_name(struct device *dev, const char *name) in dev_pm_opp_set_prop_name()
255 static inline struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const na… in dev_pm_opp_set_regulators()
262 static inline struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name) in dev_pm_opp_set_clkname()
269 static inline int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq) in dev_pm_opp_set_rate()
274 static inline int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask) in dev_pm_opp_set_sharing_cpus()
279 static inline int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) in dev_pm_opp_get_sharing_cpus()
284 static inline void dev_pm_opp_remove_table(struct device *dev) in dev_pm_opp_remove_table()
295 int dev_pm_opp_of_add_table(struct device *dev);
296 int dev_pm_opp_of_add_table_indexed(struct device *dev, int index);
297 void dev_pm_opp_of_remove_table(struct device *dev);
300 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
301 struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev);
302 struct dev_pm_opp *of_dev_pm_opp_find_required_opp(struct device *dev, struct device_node *np);
305 static inline int dev_pm_opp_of_add_table(struct device *dev) in dev_pm_opp_of_add_table()
310 static inline int dev_pm_opp_of_add_table_indexed(struct device *dev, int index) in dev_pm_opp_of_add_table_indexed()
315 static inline void dev_pm_opp_of_remove_table(struct device *dev) in dev_pm_opp_of_remove_table()
328 static inline int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) in dev_pm_opp_of_get_sharing_cpus()
333 static inline struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev) in dev_pm_opp_of_get_opp_desc_node()
338 static inline struct dev_pm_opp *of_dev_pm_opp_find_required_opp(struct device *dev, struct device_… in of_dev_pm_opp_find_required_opp()