zynqmp_clock_get_topology(9)
π zynqmp_clock_get_topology(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're literally reading kernel docs together, this is our bonding era π«Ά
β¨ NAME β¨
zynqmp_clock_get_topology β grab the topology of a clock straight from the firmware using PM_API. that's it, that's the whole vibe π«
πΈ SYNOPSIS πΈ
int zynqmp_clock_get_topology (u32 clk_id , struct clock_topology
*topology , u32 *num_nodes );
like look at her. three args, one int return, she's giving minimal icon behavior π
π ARGUMENTS π
clk_idβ the clock index, aka which clock we're talking about πtopologyβ the clock topology itself, the whole ~structure~ of the thing β¨num_nodesβ the number of nodes, she's counting π§
π RETURN π
0 on success β slay, everything worked π
anything else = error plus the reason. so if it's not 0, read the reason, don't just panic, iykyk π
π¦ SEE ALSO π¦
the kernel file, right here bestie: ./drivers/clk/zynqmp/clkc.c
and then 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_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 nineteen of them. nineteen!! the friend group is HUGE and we love that for them ππ
ngl the original page is short but she ate. no notes. go read the SEE ALSO links, bestie, that's where the lore is πβ¨
that's the whole page, main character energy from start to finish π and for the receipts: this one lives in ./drivers/clk/zynqmp, dated October 2026. mwah, bye bestie ππ¦πΈ
π¦ 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