STRUCT SAMSUNG_MUX_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mux clock struct realness: Kernel API Manual πŸ’…

okay bestie, welcome to the Kernel API Manual page for struct samsung_mux_clock(9) β€” this is the whole info sheet for a Samsung mux clock, and it's giving β€œsmall struct, big main character energy.” πŸ’–

🌸 NAME 🌸

struct samsung_mux_clock β€” information about mux clock ✨

✨ SYNOPSIS ✨

struct samsung_mux_clock {
    unsigned int            id;
    const char              *name;
    const char              *const *parent_names;
    u8 num_parents;
    unsigned long           flags;
    unsigned long           offset;
    u8 shift;
    u8 width;
    u8 mux_flags;
 };

🧚 Members 🧚

  • id β€” platform specific id of the clock. slay, a whole ID just for the platform. πŸ†”
  • name β€” name of this mux clock. literally the name it goes by. πŸ’…
  • parent_names β€” array of pointer to parent clock names. yes, that's the exact wording, bestie; it's pointing at parent clock names. 🫢
  • num_parents β€” number of parents listed in parent_names. count ’em. πŸ”’
  • flags β€” optional flags for basic clock. optional, so no pressure, but iconic when present. πŸŽ€
  • offset β€” offset of the register for configuring the mux. this is where the mux register lives. πŸ“
  • shift β€” starting bit location of the mux control bit-field in reg. start bit, periodt. ⭐
  • width β€” width of the mux control bit-field in reg. how many bits wide the bit-field is. πŸ“
  • mux_flags β€” flags for mux-type clock. different flag slot, mux-specific vibes. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/clk/samsung/clk.h β€” and these besties:

  • struct samsung_clk_provider(9)
  • struct samsung_clock_alias(9)
  • struct samsung_fixed_rate_clock(9)
  • struct samsung_fixed_factor_clock(9)
  • struct samsung_div_clock(9)
  • struct samsung_gate_clock(9)
  • struct samsung_clk_reg_dump(9)
  • struct samsung_pll_clock(9)
  • struct samsung_cmu_info(9)

sign-off: mwah πŸ’‹ this page came from source/version ./drivers/clk/samsung, dated October 2026 β€” struct samsung_mux_clock(9), out. 🌈

πŸ“¦ where this page comes from