Lines Matching full:device
21 struct device;
34 * @u_amp: Maximum current drawn by the device in microamperes
76 * @dev: Pointer to the struct device
87 struct device *dev;
92 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev);
93 struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index);
104 int dev_pm_opp_get_opp_count(struct device *dev);
105 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev);
106 unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev);
107 unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev);
108 unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev);
110 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev,
113 struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev,
116 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev,
118 struct dev_pm_opp *dev_pm_opp_find_freq_ceil_by_volt(struct device *dev,
121 struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev,
125 int dev_pm_opp_add(struct device *dev, unsigned long freq,
127 void dev_pm_opp_remove(struct device *dev, unsigned long freq);
128 void dev_pm_opp_remove_all_dynamic(struct device *dev);
130 int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq,
134 int dev_pm_opp_enable(struct device *dev, unsigned long freq);
136 int dev_pm_opp_disable(struct device *dev, unsigned long freq);
138 int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb);
139 int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb);
141 struct opp_table *dev_pm_opp_set_supported_hw(struct device *dev, const u32 *versions, unsigned int…
143 struct opp_table *dev_pm_opp_set_prop_name(struct device *dev, const char *name);
145 struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigne…
147 struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name);
149 struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, int (*set_opp)(struct dev_…
151 struct opp_table *dev_pm_opp_attach_genpd(struct device *dev, const char **names, struct device ***…
154 int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq);
155 int dev_pm_opp_set_bw(struct device *dev, struct dev_pm_opp *opp);
156 int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask);
157 int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
158 void dev_pm_opp_remove_table(struct device *dev);
161 static inline struct opp_table *dev_pm_opp_get_opp_table(struct device *dev) in dev_pm_opp_get_opp_table()
166 static inline struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index) in dev_pm_opp_get_opp_table_indexed()
193 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count()
198 static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency()
203 static inline unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev) in dev_pm_opp_get_max_volt_latency()
208 static inline unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev) in dev_pm_opp_get_max_transition_latency()
213 static inline unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev) in dev_pm_opp_get_suspend_opp_freq()
218 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
224 static inline struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact()
230 static inline struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, in dev_pm_opp_find_freq_floor()
236 static inline struct dev_pm_opp *dev_pm_opp_find_freq_ceil_by_volt(struct device *dev, in dev_pm_opp_find_freq_ceil_by_volt()
242 static inline struct dev_pm_opp *dev_pm_opp_find_freq_ceil(struct device *dev, in dev_pm_opp_find_freq_ceil()
250 static inline int dev_pm_opp_add(struct device *dev, unsigned long freq, in dev_pm_opp_add()
256 static inline void dev_pm_opp_remove(struct device *dev, unsigned long freq) in dev_pm_opp_remove()
260 static inline void dev_pm_opp_remove_all_dynamic(struct device *dev) in dev_pm_opp_remove_all_dynamic()
265 dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq, in dev_pm_opp_adjust_voltage()
272 static inline int dev_pm_opp_enable(struct device *dev, unsigned long freq) in dev_pm_opp_enable()
277 static inline int dev_pm_opp_disable(struct device *dev, unsigned long freq) in dev_pm_opp_disable()
282 static inline int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb) in dev_pm_opp_register_notifier()
287 static inline int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb) in dev_pm_opp_unregister_notifier()
292 static inline struct opp_table *dev_pm_opp_set_supported_hw(struct device *dev, in dev_pm_opp_set_supported_hw()
301 static inline struct opp_table *dev_pm_opp_register_set_opp_helper(struct device *dev, in dev_pm_opp_register_set_opp_helper()
309 static inline struct opp_table *dev_pm_opp_set_prop_name(struct device *dev, const char *name) in dev_pm_opp_set_prop_name()
316 static inline struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const na… in dev_pm_opp_set_regulators()
323 static inline struct opp_table *dev_pm_opp_set_clkname(struct device *dev, const char * name) in dev_pm_opp_set_clkname()
330 …ine struct opp_table *dev_pm_opp_attach_genpd(struct device *dev, const char **names, struct devic… in dev_pm_opp_attach_genpd()
342 static inline int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq) in dev_pm_opp_set_rate()
347 static inline int dev_pm_opp_set_bw(struct device *dev, struct dev_pm_opp *opp) in dev_pm_opp_set_bw()
352 static inline int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, const struct cpumask *cpumask) in dev_pm_opp_set_sharing_cpus()
357 static inline int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) in dev_pm_opp_get_sharing_cpus()
362 static inline void dev_pm_opp_remove_table(struct device *dev) in dev_pm_opp_remove_table()
373 int dev_pm_opp_of_add_table(struct device *dev);
374 int dev_pm_opp_of_add_table_indexed(struct device *dev, int index);
375 void dev_pm_opp_of_remove_table(struct device *dev);
378 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
379 struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev);
382 int dev_pm_opp_of_find_icc_paths(struct device *dev, struct opp_table *opp_table);
383 int dev_pm_opp_of_register_em(struct device *dev, struct cpumask *cpus);
384 static inline void dev_pm_opp_of_unregister_em(struct device *dev) in dev_pm_opp_of_unregister_em()
389 static inline int dev_pm_opp_of_add_table(struct device *dev) in dev_pm_opp_of_add_table()
394 static inline int dev_pm_opp_of_add_table_indexed(struct device *dev, int index) in dev_pm_opp_of_add_table_indexed()
399 static inline void dev_pm_opp_of_remove_table(struct device *dev) in dev_pm_opp_of_remove_table()
412 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()
417 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()
427 static inline int dev_pm_opp_of_register_em(struct device *dev, in dev_pm_opp_of_register_em()
433 static inline void dev_pm_opp_of_unregister_em(struct device *dev) in dev_pm_opp_of_unregister_em()
442 static inline int dev_pm_opp_of_find_icc_paths(struct device *dev, struct opp_table *opp_table) in dev_pm_opp_of_find_icc_paths()