ingenic_cgu_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 in clock_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