Lines Matching refs:opp_table
27 * @opp_table: Cpufreq table returned back to caller
44 struct cpufreq_frequency_table **opp_table)
78 *opp_table = &freq_table[0];
91 * @opp_table: table to free
96 struct cpufreq_frequency_table **opp_table)
98 if (!opp_table)
101 kfree(*opp_table);
102 *opp_table = NULL;
157 struct opp_table *opp_table __free(put_opp_table);
162 opp_table = _find_opp_table(cpu_dev);
163 if (IS_ERR(opp_table))
164 return PTR_ERR(opp_table);
177 opp_dev = _add_opp_dev(dev, opp_table);
185 opp_table->shared_opp = OPP_TABLE_ACCESS_SHARED;
204 struct opp_table *opp_table __free(put_opp_table);
207 opp_table = _find_opp_table(cpu_dev);
208 if (IS_ERR(opp_table))
209 return PTR_ERR(opp_table);
211 if (opp_table->shared_opp == OPP_TABLE_ACCESS_UNKNOWN)
216 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) {
217 guard(mutex)(&opp_table->lock);
218 list_for_each_entry(opp_dev, &opp_table->dev_list, node)