STRUCT CLK_SPREAD_SPECTRUM(9)
πΈ NAME πΈ
Bestie, welcome to struct clk_spread_spectrum(9) β straight from the Kernel API Manual. This is the structure that encodes the spread spectrum of a clock, and honestly it's giving small struct, big spread-spectrum energy. π
β¨ SYNOPSIS β¨
Okay so here's the struct in all her main-character glory:
struct clk_spread_spectrum {
u32 modfreq_hz;
u32 spread_bp;
enum clk_ssc_method method;
};
π Members π
modfreq_hzβ the modulation frequency. Au32, obviously. βspread_bpβ the modulation percent, measured in permyriad. Yes bestie, permyriad β that's the unit in the original, don't come for me. πmethodβ the modulation method, and her type isenum clk_ssc_method. Iconic. π
π SEE ALSO π
The whole kernel-clock friend group, no cap:
- Kernel file
./include/linux/clk-provider.h clk framework flags(9)struct clk_rate_request(9)struct clk_duty(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)
kisses and clock vibes from ./include/linux β this was the October 2026 edition of the struct clk_spread_spectrum(9) page. 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