Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/opp/
Dof.c138 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()
[all …]
Dopp.h185 struct opp_table **required_opp_tables; member
Dcore.c749 struct opp_table **required_opp_tables = opp_table->required_opp_tables; in _set_required_opps() local
754 if (!required_opp_tables) in _set_required_opps()
820 if (opp_table->required_opp_tables) { in dev_pm_opp_set_rate()
1970 if (src_table->required_opp_tables[i]->np == dst_table->np) in dev_pm_opp_xlate_performance_state()