STRUCT INGENIC_CLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct_ingenic_clk(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct ingenic_clk, and it's literally just the private little data blob for a clock πŸ•πŸ’–. Like, the clock's diary. Her personal stash. Nobody else's business πŸŽ€.


🌸 NAME 🌸

struct ingenic_clk β€” private data for a clock πŸ’«

no cap, that's the whole vibe: it's private data, for a clock πŸ‘‘


✨ SYNOPSIS ✨

struct ingenic_clk {
    struct clk_hw hw;
    struct ingenic_cgu *cgu;
    unsigned idx;
 };

look at her. three fields. perfectly cunty. we stan a minimal struct 🫢


πŸ¦‹ Members πŸ¦‹

  • hw β€” honestly just go read Documentation/driver-api/clk.rst, that's where the whole story lives πŸ“– (fr fr, the manpage is sending you to the docs on this one, respect the redirect πŸ’…)
  • cgu β€” a pointer to the CGU data πŸ”— β€” it's giving "my whole personality is my friend group" energy, because this clock is literally pointing at her CGU bestie 🧚
  • idx β€” the index of this clock in cgu->clock_info πŸ”’ β€” like her seat number in the group chat roster, lowkey essential, highkey iconic πŸ‘‘

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/clk/ingenic/cgu.h β€” and the whole friend group showed up to the party πŸŽ‰:

  • 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)
  • ingenic_cgu_new(9)
  • ingenic_cgu_register_clocks(9)

like, the entire squad. go say hi to all of them, they're all slay 🌈⭐

side note bestie: these are all (9) manpage refs, so you can pull them up the same way you got here β€” iykyk 😌

and that's the page!! πŸ’– from ./drivers/clk/ingenic, dated October 2026, this has been your girl bringing you the struct ingenic_clk(9) lore πŸ¦‹βœ¨ periodt πŸ’…

πŸ“¦ where this page comes from