STRUCT DEV_PM_OPP_DATA(9)
πΈ 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. SetleveltoOPP_LEVEL_UNSETif thelevelfield 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
- 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