Lines Matching refs:required_opp_tables
138 struct opp_table **required_opp_tables = opp_table->required_opp_tables; in _opp_table_free_required_tables() local
141 if (!required_opp_tables) in _opp_table_free_required_tables()
145 if (IS_ERR_OR_NULL(required_opp_tables[i])) in _opp_table_free_required_tables()
148 dev_pm_opp_put_opp_table(required_opp_tables[i]); in _opp_table_free_required_tables()
151 kfree(required_opp_tables); in _opp_table_free_required_tables()
154 opp_table->required_opp_tables = NULL; in _opp_table_free_required_tables()
165 struct opp_table **required_opp_tables; in _opp_table_alloc_required_tables() local
180 required_opp_tables = kcalloc(count, sizeof(*required_opp_tables), in _opp_table_alloc_required_tables()
182 if (!required_opp_tables) in _opp_table_alloc_required_tables()
185 opp_table->required_opp_tables = required_opp_tables; in _opp_table_alloc_required_tables()
193 required_opp_tables[i] = _find_table_of_opp_np(required_np); in _opp_table_alloc_required_tables()
196 if (IS_ERR(required_opp_tables[i])) in _opp_table_alloc_required_tables()
204 if (!required_opp_tables[i]->is_genpd) { in _opp_table_alloc_required_tables()
308 required_table = opp_table->required_opp_tables[i]; in _of_opp_alloc_required_opps()