STRUCT BM1880_PINMUX_FUNCTION(9)
π struct bm1880_pinmux_function (9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes, the actual kernel docs, and yes, we're gonna make it cute. this one's about struct bm1880_pinmux_function, which is literally just... a pinmux function. that's it. that's the vibe. π
πΈ NAME πΈ
struct bm1880_pinmux_function β a pinmux function π¦
like, the whole struct. one function. iconic.
β¨ SYNOPSIS β¨
here's the whole glow-up, copy-pasted with love:
struct bm1880_pinmux_function {
const char *name;
const char * const *groups;
unsigned int ngroups;
u32 mux_val;
u32 mux;
u8 mux_shift;
};
no cap, that's the entire thing. six fields. short king energy π
π«Ά Members π«Ά
okay let's meet the cast, one by one, no skipping π
nameβ the name of the pinmux function. that's its whole job. it's giving "main character introduces herself" β¨groupsβ the list of pingroups for this function. like a group chat but for pins, and everyone's invited πngroupsβ how many entries are ingroups. the headcount. the attendance list, fr fr πmux_valβ the selector for this function. it picks this function out of the lineup πmuxβ the offset of the function-specific mux. lowkey it's just telling you where to look πmux_shiftβ the shift for the function-specific selector. gotta slide those bits into place, periodt π«
π¦ SEE ALSO π¦
go check out the kernel file ./drivers/pinctrl/pinctrl-bm1880.c β that's where the magic lives π§ plus these bestie structs:
struct bm1880_pinctrl(9)struct bm1880_pctrl_group(9)struct bm1880_pinconf_data(9)
iykyk π
ngl this struct is small but it ate. every field matters. don't skip any of them or the pinmux will simply not slay π
and that's the page! brought to you from ./drivers/pinctrl, dated October 2026 ποΈ β stay pincushion-pretty out there, bestie, and remember: the kernel loves you πΈππ
π¦ 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