STRUCT SG2042_MUX_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sg2042_mux_clock(9) β€” the Kernel API Manual, bestie edition ✨

Okay so this is the manual page for struct sg2042_mux_clock from the Kernel API Manual β€” it's literally the mux clock struct and she is everything. Let's get into it πŸŽ€


✨ NAME ✨

struct sg2042_mux_clock β€” Mux clock, periodt πŸ‘‘


🌸 SYNOPSIS 🌸

Like, here's the whole vibe, character for character, no cap:

struct sg2042_mux_clock {
    struct clk_hw hw;
    unsigned int id;
    u32 offset_select;
    u8 shift;
    u8 width;
    struct notifier_block clk_nb;
    u8 original_index;
 };

It's giving very structured, very demure πŸ¦‹


🫢 Members 🫢

These are the fields, and yes we're going through all of them because every single one eats πŸ’…

  • hw β€” the clk_hw for initialization. She's the main character energy of the whole struct tbh ✨
  • id β€” used to map clk_onecell_data. Lowkey just doing her mapping job, iconic 🌈
  • offset_select β€” offset of mux selection registers. And listen, NOTE: MUX registers are ALL in CLOCK! All of them. Every single one. Fr fr, don't go looking elsewhere πŸ’€
  • shift β€” shift of "Clock Select" in the mux selection register. Just a lil shift, doing lil shift things πŸŽ€
  • width β€” width of "Clock Select" in the mux selection register. How wide is she? This wide πŸ‘‘
  • clk_nb β€” used for notification. She's the notifier block, she's on call, she's ready 🧚
  • original_index β€” set by notifier callback. Not by you, bestie β€” the callback does it. Respect the process 😭

🌟 SEE ALSO 🌟

  • Kernel file ./drivers/clk/sophgo/clk-sg2042-clkgen.c
  • struct sg2042_divider_clock(9) πŸ’œ
  • struct sg2042_gate_clock(9) πŸ”₯

iykyk β€” go read those next, they're also slay ✨


Okay that's the whole page, bestie 🫢 This came to you from ./drivers/clk/sophgo, dated October 2026, and it's giving source-and-version realness. Byeee πŸ’–πŸŒΈ

πŸ“¦ where this page comes from