clk_hw_regis..._parent_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_hw_regis..._parent_data β€” a Kernel API Manual moment πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ and no bc this page is literally about one (1) very specific function and i need you to stay with me k? 🫢


🌸 NAME 🌸

clk_hw_register_fixed_rate_parent_data β€” register a fixed-rate clock with the clock framework πŸ’–

like. that's it. that's the whole vibe. it registers a fixed-rate clock, and the parent gets passed in as data. iconic. πŸ‘‘


✨ SYNOPSIS ✨

clk_hw_register_fixed_rate_parent_data (dev , name , parent_data , flags
, fixed_rate );

five args, in that order, no cap. don't shuffle them, i'm begging 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device that is registering this clock. like who's the main character filing the paperwork πŸ’…
  • name β€” the name of this clock. give her a good one, she deserves it πŸŽ€
  • parent_data β€” the parent clk data. this is the whole reason we're here, the _parent_data in the name is not decorative bestie ✨
  • flags β€” framework-specific flags. cute little framework-specific flags, yes ma'am 🌈
  • fixed_rate β€” a non-adjustable clock rate. non-adjustable!! she is what she is, periodt πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

okay this part is a LOT but i'm not skipping a single one, every single reference is coming with us 🌸 go drink some water and then come back, i'll wait πŸ“

Kernel file ./include/linux/clk-provider.h, plus:

like i said. all of them. every last one. ate and left no crumbs πŸ”₯


ngl this whole page is short but she's doing exactly one job and doing it well, and honestly? respect. 🫢

and that's the tea bestie πŸ’œ this lil beauty lives over in ./include/linux and the version stamp says October 2026 β€” so like, future icon behavior honestly ⭐ mwah, go register some fixed-rate clocks, i'm obsessed with you πŸŒˆπŸ’–

πŸ“¦ where this page comes from