STRUCT CLK_INIT_DATA(9)
π struct clk_init_data(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for struct clk_init_data, and it's giving "shared clipboard for clock people" energy β¨
πΈ NAME πΈ
struct clk_init_data β holds init data that's common to all clocks and is shared between the clock provider and the common clock framework. literally the communal group-chat info for clocks π
π¦ SYNOPSIS π¦
struct clk_init_data {
const char *name;
const struct clk_ops *ops;
const char * const *parent_names;
const struct clk_parent_data *parent_data;
const struct clk_hw **parent_hws;
u8 num_parents;
unsigned long flags;
};
π Members π
nameβ clock name πopsβ operations this clock supports π οΈparent_namesβ array of string names for all possible parents π€parent_dataβ array of parent data for all possible parents (when some parents are external to the clk controller) πparent_hwsβ array of pointers to all possible parents (when all parents are internal to the clk controller) πnum_parentsβ number of possible parents π’flagsβ framework-level hints and quirks π©
π SEE ALSO π
the whole ref squad, no cap:
- 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_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)
okay bestie, that's the whole page! π the footer vibe is source/version ./include/linux, date October 2026, and the page itself is struct clk_init_data(9) β byeee, go read your clock framework docs π
β¨
π¦ 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