Home
last modified time | relevance | path

Searched refs:required_opp_tables (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/opp/
Dof.c130 struct opp_table **required_opp_tables = opp_table->required_opp_tables; in _opp_table_free_required_tables() local
133 if (!required_opp_tables) in _opp_table_free_required_tables()
137 if (IS_ERR_OR_NULL(required_opp_tables[i])) in _opp_table_free_required_tables()
140 dev_pm_opp_put_opp_table(required_opp_tables[i]); in _opp_table_free_required_tables()
143 kfree(required_opp_tables); in _opp_table_free_required_tables()
146 opp_table->required_opp_tables = NULL; in _opp_table_free_required_tables()
157 struct opp_table **required_opp_tables; in _opp_table_alloc_required_tables() local
172 required_opp_tables = kcalloc(count, sizeof(*required_opp_tables), in _opp_table_alloc_required_tables()
174 if (!required_opp_tables) in _opp_table_alloc_required_tables()
177 opp_table->required_opp_tables = required_opp_tables; in _opp_table_alloc_required_tables()
[all …]
Dopp.h189 struct opp_table **required_opp_tables; member
Dcore.c805 struct opp_table **required_opp_tables = opp_table->required_opp_tables; in _set_required_opps() local
809 if (!required_opp_tables) in _set_required_opps()
2137 if (src_table->required_opp_tables[i]->np == dst_table->np) in dev_pm_opp_xlate_performance_state()