of_get_requ...rmance_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, index tells 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:


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