devm_clk_hw...te_parent_hw(9)
π NAME π
ok so bestie, this page is called devm_clk_hw...te_parent_hw(9) β yes that's the title, it's giving "abbreviated to fit" energy, and it lives in the Kernel API Manual β¨ β and what it actually does is devm_clk_hw_register_gate_parent_hw π β register a gate clock with the clock framework. That's it, that's the whole gig π
πΈ SYNOPSIS πΈ
devm_clk_hw_register_gate_parent_hw (dev , name , parent_hw , flags ,
reg , bit_idx , clk_gate_flags , lock );
copy it exactly, bestie, no freestyling π
β¨ ARGUMENTS β¨
okay so here's the whole cast, main character energy for every single one π
devβ the device that's registering this clock π«Άnameβ the name of this clock, its whole identity frparent_hwβ pointer to the parent clk, the family it comes from πflagsβ framework-specific flags for this clock π©regβ the register address that controls gating of this clock πbit_idxβ which bit in the register controls gating of this clock, like which switch is the switch π₯clk_gate_flagsβ gate-specific flags for this clock, yes it gets its own set of flags, iconic πlockβ the shared register lock for this clock, keeping everything from getting messy π
π SEE ALSO π
the friend group, the whole group chat, no cap β every single one of these is invited π§:
- Kernel file
./include/linux/clk-provider.h - 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_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)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_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)
and that's the whole page, bestie π¦ you ate π
cute lil sign-off before you go: this one's sourced from ./include/linux, dated October 2026, and the title up top is devm_clk_hw...te_parent_hw(9) all over again because manpages love a bookend π ily, go register some gate clocks π«Άβ
π¦ 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