STRUCT SPEAR_MUXREG(9)
π NAME π
okay so bestie, welcome to struct spear_muxreg(9) from the Kernel API Manual β she's the SPEAr mux reg configuration, and she's small but iconic π
struct spear_muxreg β SPEAr mux reg configuration. periodt.
β¨ SYNOPSIS β¨
the literal struct goes like this, no cap:
struct spear_muxreg {
u16 reg;
u32 mask;
u32 val;
};
π Members π
regβ register offset. that's the spot.maskβ mask bits. the bits doing the masking.valβ val to be written on mask bits. literally the value that gets written on those mask bits.
π¦ SEE ALSO π¦
go read these next, bestie:
- Kernel file
./drivers/pinctrl/spear/pinctrl-spear.h struct spear_pmx_mode(9)struct spear_modemux(9)struct spear_pingroup(9)struct spear_function(9)struct spear_pinctrl_machdata(9)struct spear_pmx(9)
mwah π β signing off from the source ./drivers/pinctrl/spear, dated October 2026, for struct spear_muxreg(9) π«Άβ¨
π¦ 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