Lines Matching refs:dev_pm_opp
21 struct dev_pm_opp;
50 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,
54 struct dev_pm_opp *opp, void *data, bool scaling_down);
109 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp);
111 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, struct dev_pm_opp_supply *supplies);
113 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp);
115 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index);
117 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp);
119 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp,
122 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp);
130 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev,
134 struct dev_pm_opp *
138 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev,
141 struct dev_pm_opp *dev_pm_opp_find_freq_floor_indexed(struct device *dev,
144 struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev,
147 struct dev_pm_opp *dev_pm_opp_find_freq_ceil_indexed(struct device *dev,
150 struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev,
153 struct dev_pm_opp *dev_pm_opp_find_level_ceil(struct device *dev,
156 struct dev_pm_opp *dev_pm_opp_find_level_floor(struct device *dev,
159 struct dev_pm_opp *dev_pm_opp_find_bw_ceil(struct device *dev,
162 struct dev_pm_opp *dev_pm_opp_find_bw_floor(struct device *dev,
165 void dev_pm_opp_put(struct dev_pm_opp *opp);
187 struct opp_table *opp_table, struct dev_pm_opp *opp, void *data,
190 struct dev_pm_opp *dev_pm_opp_xlate_required_opp(struct opp_table *src_table, struct opp_table *dst…
193 int dev_pm_opp_set_opp(struct device *dev, struct dev_pm_opp *opp);
212 static inline unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage()
217 static inline int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, struct dev_pm_opp_supply *supplie… in dev_pm_opp_get_supplies()
222 static inline unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp) in dev_pm_opp_get_power()
227 static inline unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index) in dev_pm_opp_get_freq_indexed()
232 static inline unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp) in dev_pm_opp_get_level()
238 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp, in dev_pm_opp_get_required_pstate()
244 static inline bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo()
274 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
280 static inline struct dev_pm_opp *
287 static inline struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor()
293 static inline struct dev_pm_opp *
299 static inline struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil()
305 static inline struct dev_pm_opp *
311 static inline struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact()
317 static inline struct dev_pm_opp *dev_pm_opp_find_level_ceil(struct device *dev, in dev_pm_opp_find_level_ceil()
323 static inline struct dev_pm_opp *dev_pm_opp_find_level_floor(struct device *dev, in dev_pm_opp_find_level_floor()
329 static inline struct dev_pm_opp *dev_pm_opp_find_bw_ceil(struct device *dev, in dev_pm_opp_find_bw_ceil()
335 static inline struct dev_pm_opp *dev_pm_opp_find_bw_floor(struct device *dev, in dev_pm_opp_find_bw_floor()
341 static inline void dev_pm_opp_put(struct dev_pm_opp *opp) {} in dev_pm_opp_put()
398 struct opp_table *opp_table, struct dev_pm_opp *opp, void *data, in dev_pm_opp_config_clks_simple()
404 static inline struct dev_pm_opp *dev_pm_opp_xlate_required_opp(struct opp_table *src_table, in dev_pm_opp_xlate_required_opp()
405 struct opp_table *dst_table, struct dev_pm_opp *src_opp) in dev_pm_opp_xlate_required_opp()
420 static inline int dev_pm_opp_set_opp(struct device *dev, struct dev_pm_opp *opp) in dev_pm_opp_set_opp()
475 struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp);
530 static inline struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp) in dev_pm_opp_get_of_node()
723 static inline unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp) in dev_pm_opp_get_freq()