STRUCT CLK_PARENT_DATA(9)
π NAME π
okay bestie, welcome to the struct clk_parent_data(9) page from the Kernel API Manual. It's literally: struct clk_parent_data β clk parent information. That's the whole assignment: keeping track of a clk's parent info. π
β¨ SYNOPSIS β¨
Here's the struct in all its main-character glory:
struct clk_parent_data {
const struct clk_hw *hw;
const char *fw_name;
const char *name;
int index;
};
No cap, that's the exact shape. π
π«Ά Members π«Ά
hwβ parentclk_hwpointer (used for clk providers with internal clks). It's the ride-or-die pointer for providers with internal clks.fw_nameβ parent name local to provider registering clk. It's the name that lives with the provider doing the registering.nameβ globally unique parent name (used as a fallback). Your backup name, but make it globally unique, bestie.indexβ parent index local to provider registering clk (iffw_nameabsent). Iffw_nameisn't there, this index steps in.
π SEE ALSO π
The whole posse is here, no one left out:
- 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_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)
mwah π this page came from ./include/linux, its date stamp is October 2026, and the title on the tin is still struct clk_parent_data(9) β bye bestie, go make those clocks behave! πβ¨
π¦ 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