geni_se_set_perf_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the geni_se_set_perf_level(9) page from the Kernel API Manual πŸ’… this one is short, sweet, and absolutely not doing too much β€” it's just here to set a performance level for GENI SE, and honestly? we love a focused queen ✨

✨ NAME ✨

geni_se_set_perf_level β€” set performance level for GENI SE. periodt πŸ’–

🌸 SYNOPSIS 🌸

here's the exact signature, bestie β€” no cap, keep it verbatim:

int geni_se_set_perf_level (struct geni_se *se , unsigned long level );

πŸŽ€ ARGUMENTS πŸŽ€

okay so two arguments, both important:

  • se β€” pointer to the struct geni_se instance. this is the SE you're working with, the main character 🫢
  • level β€” the desired performance level. that's the level you want to set, simple as that ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does: sets the performance level by directly calling dev_pm_opp_set_level on the performance device associated with the SE. it's literally a direct call β€” no extra layers, no side quests, just that call doing its thing πŸ’…

πŸ’« RETURN πŸ’«

return vibe check:

  • 0 on success β€” yay πŸŽ‰
  • a negative error code on failure β€” sad girl hours 😭

🌈 SEE ALSO 🌈

the whole crew / required reading β€” every single ref is here, preserved exactly 🫢

xoxo, your kernel bestie πŸ’– β€” source/version ./drivers/soc/qcom, dated October 2026; now go set that performance level and slay ✨

πŸ“¦ where this page comes from