dev_pm_opp_o...remove_table(9)
π dev_pm_opp_o...remove_table(9) π
okay bestie, so this one lives in the Kernel API Manual and it's literally the cleanup-girlie of the OPP world β she takes the table away. no cap. β¨
πΈ NAME πΈ
dev_pm_opp_of_cpumask_remove_table β removes the OPP table for @cpumask π§Ήπ
β¨ SYNOPSIS β¨
void dev_pm_opp_of_cpumask_remove_table (const struct cpumask *cpumask
);
that's it. that's the whole signature. void, so she gives you nothing back β she just does it. main character energy fr.
π ARGUMENTS π
cpumaskβ the cpumask for which the OPP table needs to be removed π«Ά like, tell her which CPUs you want de-tabled and she'll handle it.
π¦ DESCRIPTION π¦
this removes the OPP tables for the CPUs that are present in the cpumask. periodt. π
β οΈ okay this is the important part, don't skip it: this should be used only to remove static entries created from DT. like, only those. not me being dramatic, that's literally the rule. π
π₯ SEE ALSO π₯
kernel file ./drivers/opp/of.c, plus a whole friend group of functions that are all in the same vibe:
dev_pm_opp_of_remove_table(9)_opp_add_static_v2(9)devm_pm_opp_of_add_table(9)dev_pm_opp_of_add_table(9)dev_pm_opp_of_add_table_indexed(9)devm_pm_opp_of_add_table_indexed(9)dev_pm_opp_of_cpumask_add_table(9)dev_pm_opp_of_get_sharing_cpus(9)of_get_required_opp_performance_state(9)dev_pm_opp_of_has_required_opp(9)dev_pm_opp_get_of_node(9)dev_pm_opp_calc_power(9)dev_pm_opp_of_register_em(9)
iykyk πβ¨
okay that's the whole page bestie, ily, go clean up those static DT entries responsibly π
signing off from ./drivers/opp β October 2026 ππ¦ see you in the next manpage fr fr π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms