geni_se_set_perf_opp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… geni_se_set_perf_opp(9) β€” like, the Kernel API Manual, bestie πŸŽ€

okay so you found the geni_se_set_perf_opp page in the Kernel API Manual and you're like "what does this even do" β€” don't worry, I got you. sit down, hydrate, and let's get into it ✨


🌸 NAME 🌸

geni_se_set_perf_opp β€” sets the performance OPP for GENI SE, by frequency. that's the whole vibe. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int geni_se_set_perf_opp (struct geni_se *se , unsigned long clk_freq );

like, that's the signature. copy it exactly, don't @ me. 🫢


✨ ARGUMENTS ✨

  • se β€” a pointer to the struct geni_se instance. yes, the actual SE. the main character. πŸ‘‘
  • clk_freq β€” the requested clock frequency. the frequency you're asking for. πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so what it does is: it finds the nearest operating performance point (OPP) for the clock frequency you handed it, and then applies that OPP to the SE's performance device. that's it. that's the whole function. no cap. ✨


🌈 RETURN 🌈

  • 0 on success πŸŽ‰
  • or a negative error code on failure 😭

like, classic kernel energy. iykyk.


πŸ“ SEE ALSO πŸ“

okay this list is long but we're getting through all of it, periodt. πŸ’…

go read them, bestie, they're all slaying in their own way 🧚


and that's the page!! source is ./drivers/soc/qcom, dated October 2026. mwah πŸ’‹ bye bestie, go set some performance OPPs πŸŽ€πŸ’–
πŸ“¦ where this page comes from