STRUCT DEV_PM_OPP_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the struct dev_pm_opp_data(9) page in the Kernel API Manual ✨ this one is short and sweet: it's literally the data to use to initialize an OPP. no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dev_pm_opp_data {
    bool turbo;
    unsigned int level;
    unsigned long freq;
    unsigned long u_volt;
};

πŸ’… Members πŸ’…

okay so there are four little fields here, and every single one is doing its job. let's go πŸŽ€

  • turbo β€” flag to indicate whether the OPP is to be marked turbo or not. πŸš€
  • level β€” the performance level for the OPP. Set level to OPP_LEVEL_UNSET if the level field isn't used. 🎚️
  • freq β€” the clock rate in Hz for the OPP. ⏰
  • u_volt β€” the voltage in uV for the OPP. ⚑

πŸ”₯ SEE ALSO πŸ”₯

if you're in your research era, the kernel file ./include/linux/pm_opp.h is right there, and these structs are your next reads πŸ‘‘:

  • Kernel file ./include/linux/pm_opp.h
  • struct dev_pm_opp_supply(9)
  • struct dev_pm_opp_config(9)
  • struct dev_pm_opp_key(9)

mwah πŸ’‹ β€” this cute little page comes from ./include/linux, dated October 2026, and it's part of the Kernel API Manual. bye bestie, go init those OPPs responsibly 🫢✨

πŸ“¦ where this page comes from