of_get_requ...rmance_state(9)
πΈ NAME πΈ
Okay so this page is of_get_required_opp_performance_state(9) from the Kernel API Manual, and the name is doing exactly what it says on the tin: search for a required OPP and return its performance state. Iconic. π
β¨ SYNOPSIS β¨
int of_get_required_opp_performance_state (struct device_node *np , int
index );
π ARGUMENTS π
npβ the Node that contains the"required-opps"property. That's the one we're digging through, bestie. π«Άindexβ the index of the phandle to parse. Yes,indextells us which phandle we're looking at. β¨
π¦ DESCRIPTION π¦
It returns the performance state of the OPP pointed out by the "required-opps" property at index in np. That's the whole plot, no side quests. π
π RETURN π
Zero or positive performance state on success, otherwise negative value on errors. So: success = zero or positive, errors = negative. Ngl, very straightforward. π
π SEE ALSO π
Kernel file ./drivers/opp/of.c, plus these besties:
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_remove_table(9)dev_pm_opp_of_cpumask_add_table(9)dev_pm_opp_of_get_sharing_cpus(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)
That's the whole page, bestie π«Ά β source/version ./drivers/opp, date October 2026, and the footer signs it of_get_requ...rmance_state(9). Catch you in the next manpage! πβ¨
π¦ 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