dev_pm_opp_get_supplies(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dev_pm_opp_get_supplies ✨

okay so bestie, welcome to the dev_pm_opp_get_supplies(9) page πŸ’– this is a Kernel API Manual moment, and we are about to get your opp's supply info looking cute and correct πŸŽ€


🌸 NAME 🌸

dev_pm_opp_get_supplies β€” literally just gets the supply information corresponding to an opp 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int dev_pm_opp_get_supplies (struct dev_pm_opp *opp , struct
dev_pm_opp_supply *supplies );

like, that's the whole vibe ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • opp β€” the opp you want the voltage for, bestie πŸ’… this is the one we're pulling info from
  • supplies β€” the placeholder where the supply information gets copied to πŸ“

πŸ‘‘ RETURN πŸ‘‘

so here's the tea β˜• if it fails you get a negative error number. if it works you get 0, after supplies has been set. periodt πŸ’œ


🌈 DESCRIPTION 🌈

this one is lowkey iconic because it works for devices with any number of power supplies ✨

⚠️ bestie, heads up: the caller must make sure the supplies array has space for each regulator. no cap, don't skip this part 😭

πŸ’€ SEE ALSO πŸ’€

the whole friend group 🫢:


and that's the whole page, bestie πŸ’… this little beauty lives in ./drivers/opp and it's dated October 2026 β€” signed, sealed, delivered with love from the Kernel API Manual, mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from