STRUCT SPRD_DIV_INTERNAL(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms