Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/opp/
Dof.c134 struct opp_table **required_opp_tables = opp_table->required_opp_tables; in _opp_table_free_required_tables() local
137 if (!required_opp_tables) in _opp_table_free_required_tables()
141 if (IS_ERR_OR_NULL(required_opp_tables[i])) in _opp_table_free_required_tables()
144 dev_pm_opp_put_opp_table(required_opp_tables[i]); in _opp_table_free_required_tables()
147 kfree(required_opp_tables); in _opp_table_free_required_tables()
150 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
182 size = sizeof(*required_opp_tables) + sizeof(*opp_table->required_devs); in _opp_table_alloc_required_tables()
183 required_opp_tables = kcalloc(count, size, GFP_KERNEL); in _opp_table_alloc_required_tables()
184 if (!required_opp_tables) in _opp_table_alloc_required_tables()
[all …]
Dcore.c240 if (unlikely(!opp->opp_table->required_opp_tables[index]->is_genpd)) { in dev_pm_opp_get_required_pstate()
2452 if (genpd_table != opp_table->required_opp_tables[index]) { in _opp_attach_genpd()
2453 dev_pm_opp_put_opp_table(opp_table->required_opp_tables[index]); in _opp_attach_genpd()
2454 opp_table->required_opp_tables[index] = genpd_table; in _opp_attach_genpd()
2494 opp_table->required_opp_tables[i]->is_genpd) { in _opp_set_required_devs()
2747 !src_table->required_opp_tables) in dev_pm_opp_xlate_required_opp()
2755 if (src_table->required_opp_tables[i] == dst_table) { in dev_pm_opp_xlate_required_opp()
2822 if (src_table->required_opp_tables[i]->np == dst_table->np) in dev_pm_opp_xlate_performance_state()
Dopp.h226 struct opp_table **required_opp_tables; member