update_devfreq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_devfreq(9) β€” like, the Kernel API Manual but make it make sense πŸŽ€

okay so bestie, welcome to update_devfreq from the Kernel API Manual β€” this is the little function that looks at your device again and sets its frequency. Re-evaluate + configure, that's the whole vibe check. ✨


🌸 NAME 🌸

update_devfreq β€” reevaluate the device and configure frequency. like, go look at the device again and set the freq accordingly. that's it, that's the job. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int update_devfreq (struct devfreq *devfreq );

⭐ ARGUMENTS ⭐

  • devfreq β€” the devfreq instance. the actual device object you're passing in, the main character of this whole operation πŸ‘‘

πŸ”₯ NOTE πŸ”₯

⚠️ bestie. lock devfreq->lock before calling update_devfreq. no cap, do it first. πŸ”’

Also important: this function is exported for governors β€” so it's out here living its public life for the governor code to use. πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/devfreq/devfreq.c 😌 and like, the entire devfreq extended universe, fr fr:


that's the whole page bestie, ate and left no crumbs 🫢

this lil masterpiece lives in ./drivers/devfreq, dated October 2026 β€” go off, kernel docs, periodt πŸ’œπŸ§š

πŸ“¦ where this page comes from