zynqmp_get_parent_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, bestie
  • num_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:

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