zynqmp_clk_setup(9)
β¨ zynqmp_clk_setup(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for zynqmp_clk_setup β yes that's a mouthful, no I will not be shortening it, we respect the function name in this house π
πΈ NAME πΈ
zynqmp_clk_setup β literally the function that sets up the clock framework and registers the clocks. both. at once. she's an overachiever fr fr π
π¦ SYNOPSIS π¦
int zynqmp_clk_setup (struct device_node *np );
that's it. that's the whole vibe check. one argument, returns an int, slays β¨
π ARGUMENTS π
npβ the device node. yeah, thestruct device_node *one. that's your whole input, bestie, make it count π«Ά
β RETURN β
0on success π- anything else = an error code π (so like, check it. please. i'm begging)
π SEE ALSO π
bestie there is a whole squad of related functions, and i'm listing every single one because none of them are getting left out, periodt π₯
Kernel file ./drivers/clk/zynqmp/clkc.c, plus:
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_get_parent_list(9)zynqmp_register_clk_topology(9)zynqmp_register_clocks(9)zynqmp_get_clock_info(9)
lowkey that's a lot of clock functions. they're all clock girlies. it's giving a whole clique π§
and that's the page!! brought to you by the kernel file living at ./drivers/clk/zynqmp, dated October 2026 β mwah, go set up some clocks 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