Lines Matching refs:opp_table
44 struct cpufreq_frequency_table **opp_table) in dev_pm_opp_init_cpufreq_table() argument
78 *opp_table = &freq_table[0]; in dev_pm_opp_init_cpufreq_table()
96 struct cpufreq_frequency_table **opp_table) in dev_pm_opp_free_cpufreq_table() argument
98 if (!opp_table) in dev_pm_opp_free_cpufreq_table()
101 kfree(*opp_table); in dev_pm_opp_free_cpufreq_table()
102 *opp_table = NULL; in dev_pm_opp_free_cpufreq_table()
161 struct opp_table *opp_table __free(put_opp_table) = in dev_pm_opp_set_sharing_cpus()
164 if (IS_ERR(opp_table)) in dev_pm_opp_set_sharing_cpus()
165 return PTR_ERR(opp_table); in dev_pm_opp_set_sharing_cpus()
178 opp_dev = _add_opp_dev(dev, opp_table); in dev_pm_opp_set_sharing_cpus()
186 opp_table->shared_opp = OPP_TABLE_ACCESS_SHARED; in dev_pm_opp_set_sharing_cpus()
207 struct opp_table *opp_table __free(put_opp_table) = in dev_pm_opp_get_sharing_cpus()
210 if (IS_ERR(opp_table)) in dev_pm_opp_get_sharing_cpus()
211 return PTR_ERR(opp_table); in dev_pm_opp_get_sharing_cpus()
213 if (opp_table->shared_opp == OPP_TABLE_ACCESS_UNKNOWN) in dev_pm_opp_get_sharing_cpus()
218 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) { in dev_pm_opp_get_sharing_cpus()
219 guard(mutex)(&opp_table->lock); in dev_pm_opp_get_sharing_cpus()
220 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus()