STRUCT SPRD_MUX_SSEL(9)
β¨ struct sprd_mux_ssel β like, the whole vibe π
okay so this is a page from the Kernel API Manual and bestie, it's a tiny one but it's important β it's literally the struct that tells a mux clock which source-select bits to look at in its register. no cap. π
πΈ NAME πΈ
struct sprd_mux_ssel β mux clock's source select bits in its register β¨
π¦ SYNOPSIS π¦
struct sprd_mux_ssel {
u8 shift;
u8 width;
const u8 *table;
};
like, that's the whole thing. three little fields. main character energy honestly π
π Members π
shiftβ the bit offset of the divider in its register. like, where does this field even start, you know? that'sshift. πwidthβ the width of the divider field in its register. so how many bits wide is the thing we're pointing at. slay. πtableβ okay so this one's for some mux clocks where not all sources are used on some special chips π«Ά. this field matches the value of the mux clock's register against the sources that are actually used for this mux clock. lowkey the most interesting member ngl π₯
π SEE ALSO π
- Kernel file
./drivers/clk/sprd/mux.hβ go read it, iykyk πβ¨
that's the tea, bestie π this page is from ./drivers/clk/sprd, October 2026, and it's struct sprd_mux_ssel(9) β periodt. ππ§ββοΈ
π¦ 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