clk_hw_regis...ent_accuracy(9)
π clk_hw_regis...ent_accuracy(9) π
okay bestie, welcome to the Kernel API Manual β¨ β yes this is that one page, clk_hw_regis...ent_accuracy(9), and it's literally about registering a fixed-rate clock with the clock framework. iconic behaviour tbh π
πΈ NAME πΈ
clk_hw_register_fixed_rate_parent_accuracy β register fixed-rate clock with the clock framework π°οΈβ¨
so basically: you got a clock, its rate does not move, and you want the framework to know about it. that's the whole vibe.
π¦ SYNOPSIS π¦
clk_hw_register_fixed_rate_parent_accuracy (dev , name , parent_data ,
flags , fixed_rate );
look at her. five args, no notes. π
π ARGUMENTS π
devβ the device that is registering this clock π«Ά like, whose clock is this? this device's clock. periodt.nameβ name of this clock π·οΈ give her a name, she deserves one.parent_dataβ name of clock's parent π³ yes, the clock has a parent, it's giving family tree energy.flagsβ framework-specific flags π© the little toggles that tell the framework how to treat her.fixed_rateβ non-adjustable clock rate π key word: non-adjustable. it does not change. not now, not ever. no cap.
π SEE ALSO π
the whole friend group, fr fr β go read these too:
- Kernel file
./include/linux/clk-provider.h clkframeworkflags(9)struct clk_rate_request(9)struct clk_duty(9)struct clk_spread_spectrum(9)struct clk_ops(9)struct clk_parent_data(9)struct clk_init_data(9)struct clk_hw(9)struct clk_fixed_rate(9)clk_hw_register_fixed_rate(9)devm_clk_hw_register_fixed_rate(9)devm_clk_hw_register_fixed_rate_parent_data(9)clk_hw_register_fixed_rate_parent_hw(9)clk_hw_register_fixed_rate_parent_data(9)clk_hw_register_fixed_rate_with_accuracy(9)clk_hw_register_fixed_rate_with_accuracy_parent_hw(9)clk_hw_register_fixed_rate_with_accuracy_parent_data(9)struct clk_gate(9)clk_hw_register_gate(9)clk_hw_register_gate_parent_hw(9)clk_hw_register_gate_parent_data(9)devm_clk_hw_register_gate(9)devm_clk_hw_register_gate_parent_hw(9)devm_clk_hw_register_gate_parent_data(9)struct clk_divider(9)clk_register_divider(9)clk_hw_register_divider(9)clk_hw_register_divider_parent_hw(9)clk_hw_register_divider_parent_data(9)clk_hw_register_divider_table(9)clk_hw_register_divider_table_parent_hw(9)clk_hw_register_divider_table_parent_data(9)devm_clk_hw_register_divider(9)devm_clk_hw_register_divider_parent_hw(9)devm_clk_hw_register_divider_parent_data(9)devm_clk_hw_register_divider_table(9)struct clk_mux(9)struct clk_fixed_factor(9)devm_clk_hw_register_fixed_factor_parent_hw(9)struct clk_fractional_divider(9)struct clk_multiplier(9)clk_hw_get_dev(9)clk_hw_get_of_node(9)
bestie reminder π«Ά the parent is described as name of clock's parent and the rate is non-adjustable β don't show up expecting to change it, she said what she said π
that's the whole page, go slay your clock registration π§π this little number lives in ./include/linux, dated October 2026, and it's clk_hw_regis...ent_accuracy(9) signing off β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms