STRUCT BM1880_PINMUX_FUNCTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 in groups. 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