clk_hw_regis..._parent_data(9)
π 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_datain 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:
clk framework flags(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_with_accuracy(9)clk_hw_register_fixed_rate_with_accuracy_parent_hw(9)clk_hw_register_fixed_rate_with_accuracy_parent_data(9)clk_hw_register_fixed_rate_parent_accuracy(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)
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
- 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