devfreq_get_freq_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME ✨

devfreq_get_freq_level β€” okay so this is the little function that goes and looks things up in the freq_table for a given frequency πŸŽ€ it's giving "glorified index finder" and honestly? iconic.


🌸 SYNOPSIS 🌸

int devfreq_get_freq_level (struct devfreq *devfreq , unsigned long freq
);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • devfreq β€” the devfreq instance, bestie. the actual device-frequency object you're working with πŸ’–
  • freq β€” the target frequency you're hunting for πŸ” that's the number you want a level for.

πŸ‘‘ SEE ALSO πŸ‘‘

This function lives in the kernel file ./drivers/devfreq/devfreq.c β€” that's the main character's home 🏠 and here's the whole friend group it runs with, fr fr:


and that's the whole page, bestie, no notes πŸ’…βœ¨ this one came straight out of the kernel API manual, sourced from ./drivers/devfreq, dated October 2026 β€” go forth and look up those frequencies, iykyk 🫢🌈

πŸ“¦ where this page comes from