STRUCT CLK_DUTY(9)
β¨ NAME β¨
struct clk_duty β the lil struct that encodes the duty cycle ratio of a clock π
(yes bestie, we're talking struct clk_duty(9) from the Kernel API Manual, buckle up π)
π¦ SYNOPSIS π¦
struct clk_duty {
unsigned int num;
unsigned int den;
};
okay so it's literally two unsigned ints in a trench coat and that's the whole struct, no cap π«Ά
π MEMBERS π
numβ the numerator of the duty cycle ratio. top of the fraction, main character energy πdenβ the denominator of the duty cycle ratio. bottom of the fraction, doing the quiet supporting work πΈ
fr fr that's it. two members. no hidden fields, no surprises, we love a minimalist icon β¨
π SEE ALSO π
okay this part is a whole friend group, so let's do a headcount so nobody gets left out of the group chat π
the kernel file it lives in: ./include/linux/clk-provider.h π§
and then, in the order the original gives them:
clk framework flags(9)struct clk_rate_request(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_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β¦ every single one is here, i counted, we don't ghost a manpage reference in this house π₯
and that's the whole vibe check bestie π this page came from the kernel file ./include/linux, dated October 2026, and the manual page itself is struct clk_duty(9) β go forth and clock responsibly, 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