STRUCT SPRD_DIV_INTERNAL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sprd_div_internal(9)

okay so bestie, welcome to the Kernel API Manual β€” this one's about struct sprd_div_internal, which is literally just "Internal divider description." That's the whole NAME. Short, sweet, iconic. πŸŽ€


✨ SYNOPSIS ✨

struct sprd_div_internal {
    s32 offset;
    u8 shift;
    u8 width;
 };

like, that's the whole struct. three fields. she's minimal, she's clean, she's giving less-is-more. πŸ¦‹


🌸 Members 🌸

  • shift β€” the bit offset of the divider inside its register. like where in the register does this lil divider start living, y'know? πŸ’…
  • width β€” the width of the divider field in its register. how many bits she takes up. periodt.

πŸ’– Description πŸ’–

so this structure represents a single divider, no cap. and the whole vibe is that it's meant to be embedded in other structures β€” specifically the ones representing the various clock classes. so it's not a main character on its own, she's more of a supporting actress who gets cast into everyone else's struct. nested-struct energy. 🫢✨


πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/clk/sprd/div.h β€” go read it, iykyk πŸ’œ

real talk: offset is in the struct but the manpage doesn't give it a Member description, so don't come for me β€” i'm just telling you what the page says. πŸ™ˆ

k bye bestie, this one's from ./drivers/clk/sprd, dated October 2026 β€” go forth and divide, diva πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from