zynqmp_get_parent_list(9)
π zynqmp_get_parent_list(9)
okay so this is a page from the Kernel API Manual, and bestie, we're about to get so cozy with clock parents πβ¨ Grab a strawberry drink π and let's go.
πΈ NAME πΈ
zynqmp_get_parent_list β literally just creates a list of the parents' names π like a little guest list but for clocks, no cap.
β¨ SYNOPSIS β¨
int zynqmp_get_parent_list (struct device_node *np , u32 clk_id ,
const char **parent_list , u32 *num_parents );
that's the whole signature, copied exactly, because we do not play with function prototypes in this house π
π¦ ARGUMENTS π¦
npβ the Device node, aka the starting point of the whole vibe check πclk_idβ Clock index, so like, which clock we're talking about π«parent_listβ List of parent's name π the actual guest list of names, bestienum_parentsβ Total number of parents, so you know how many people showed up to the party π₯
π«Ά RETURN π«Ά
0 on success β slay π
β else error+reason, because even in kernel land we need to know why something's giving chaos π
π SEE ALSO π
Kernel file ./drivers/clk/zynqmp/clkc.c and honestly the whole friend group:
struct clock_parent(9)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_register_clk_topology(9)zynqmp_register_clocks(9)zynqmp_get_clock_info(9)zynqmp_clk_setup(9)
like, the entire clock lore is in there, iykyk π§
and that's the page, bestie! go forth and list some parents π«
that's a wrap, mwah π β this cutie lives in ./drivers/clk/zynqmp and it's dated October 2026 β so yeah, she's from the future, main character energy fr fr ππ
π¦ 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