STRUCT CLOCK_PARENT(9)
π struct clock_parent(9) β Clock parent
okay so this is a page straight out of the Kernel API Manual bestie, and it's a little struct that just holds onto the deets about who a clock's parent is. tiny struct, big main character energy πΈ
β¨ NAME β¨
struct clock_parent β Clock parent π«Ά
π SYNOPSIS π
struct clock_parent {
char name[MAX_NAME_LEN];
int id;
u32 flag;
};
no cap, that's the whole thing. three little fields and she's done π
π Members π
okay so let's go through the members one by one, because they all matter:
nameβ the parent's name, stored in achararray ofMAX_NAME_LEN. it's giving "hi my name is" π¦idβ the parent clock's ID. her little number, her identifier, her whole vibe check β¨flagβ the parent's flags. yes plural concept, yes au32, iconic π
π₯ SEE ALSO π₯
like, go read these next, they're all in the kernel file ./drivers/clk/zynqmp/clkc.c and they're lowkey all connected:
struct zynqmp_clock(9)zynqmp_is_valid_clock(9)zynqmp_get_clock_name(9)zynqmp_get_clock_type(9)zynqmp_pm_clock_get_num_clocks(9)zynqmp_pm_clock_get_name(9)zynqmp_pm_clock_get_topology(9)zynqmp_clk_register_fixed_factor(9)zynqmp_pm_clock_get_parents(9)zynqmp_pm_clock_get_attributes(9)__zynqmp_clock_get_topology(9)zynqmp_clock_get_topology(9)__zynqmp_clock_get_parents(9)zynqmp_clock_get_parents(9)zynqmp_get_parent_list(9)zynqmp_register_clk_topology(9)zynqmp_register_clocks(9)zynqmp_get_clock_info(9)zynqmp_clk_setup(9)
that's the whole friend group fr fr, don't skip any of them π«Άπ
ngl this struct is literally just a name tag, a number, and some flags for a clock's parent. simple, slay, periodt. π
okay bestie that's the page!! this one lives in ./drivers/clk/zynqmp, dated October 2026, and the header/footer both say struct clock_parent(9) because she contains multitudes ππβ¨
π¦ 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