devm_clk_hw...r_fixed_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

devm_clk_hw_register_fixed_rate β€” okay bestie, this one registers a fixed-rate clock with the clock framework ✨ and the "devm" part means it's all managed for you, no cap πŸŽ€

This is a page from the Kernel API Manual, and yes the header literally reads devm_clk_hw...r_fixed_rate(9) β€” truncated with the little dots because it's that long, iykyk 😭


🌸 SYNOPSIS 🌸

devm_clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device that's registering this clock. it's giving "who's the parent in this relationship" energy πŸ‘‘
  • name β€” the name of this clock, her whole identity fr πŸ’…
  • parent_name β€” the name of the clock's parent. yes she has a mother 🌈
  • flags β€” framework-specific flags. the little toggles, the vibe settings, the✨customization✨
  • fixed_rate β€” the non-adjustable clock rate. as in, she does not change. iconic, unbothered, locked in πŸ”₯
πŸ’€ quick vibe check: fixed_rate is non-adjustable β€” that's literally the whole point of the function. don't come for her asking for a different rate, bestie.

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./include/linux/clk-provider.h β€” go read her, she's the source of truth 🫢

And then the clk framework flags and the whole extended fam, because this function has many cousins and they all deserve their moment:

like, that's a whole group chat of clock functions and honestly? every single one of them ate πŸ’…βœ¨


anyway that's the page, bestie β€” she's short, she's sweet, she registers a clock that does not move, and she cleans up after herself thanks to devm. periodt πŸ§šβ€β™€οΈ

sign-off szn: this lil beauty lives in ./include/linux, dropped October 2026, and she's page devm_clk_hw...r_fixed_rate(9) of the Kernel API Manual β€” mwah, go build something cute with her πŸ’œπŸŽ€

πŸ“¦ where this page comes from