ingenic_cgu_new(9)
hey bestie! welcome to the ingenic_cgu_new(9) page from the Kernel API Manual β we're making a new CGU and it's giving main character energy π
β¨
π NAME π
ingenic_cgu_new β create a new CGU instance. periodt.
β¨ SYNOPSIS β¨
struct ingenic_cgu * ingenic_cgu_new (const struct ingenic_cgu_clk_info
*clock_info , unsigned num_clocks , struct device_node *np );
π«Ά ARGUMENTS π«Ά
clock_infoβ an array of clock information structures, and it describes the clocks that are implemented by the CGU. literally the blueprint, bestie π§num_clocksβ the number of entries inclock_info. yes, you gotta tell it how many πnpβ the device tree node which causes this CGU to be probed. that's the one that starts the whole thing π₯
π RETURN π
a pointer to the CGU instance if initialisation is successful π otherwise NULL. not me hoping for success π
π SEE ALSO π
- Kernel file
./drivers/clk/ingenic/cgu.hβ the kernel file right here, go look π struct ingenic_cgu_pll_info(9)struct ingenic_cgu_mux_info(9)struct ingenic_cgu_div_info(9)struct ingenic_cgu_fixdiv_info(9)struct ingenic_cgu_gate_info(9)struct ingenic_cgu_custom_info(9)struct ingenic_cgu_clk_info(9)struct ingenic_cgu(9)struct ingenic_clk(9)ingenic_cgu_register_clocks(9)
okay that's the whole page, bestie π«Ά this one came from source/version ./drivers/clk/ingenic, dated October 2026, and it's ingenic_cgu_new(9) β slay and bye π
π¦ 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