STRUCT SPEAR_PINGROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct spear_pingroup β€” SPEAr pin group configurations πŸ’–

okay so real talk, bestie β€” we're deep in the Kernel API Manual today, and this one's a struct from the SPEAr pin controller world. it's giving "small struct, big responsibilities" and honestly? iconic. let's get into it πŸŽ€


✨ NAME ✨

struct spear_pingroup β€” SPEAr pin group configurations. that's it, that's the vibe πŸ’…


🌸 SYNOPSIS 🌸

struct spear_pingroup {
    const char *name;
    const unsigned *pins;
    unsigned npins;
    struct spear_modemux *modemuxs;
    unsigned nmodemuxs;
 };

look at her. five members. no notes. 🫢


πŸ¦‹ Members πŸ¦‹

  • name β€” the name of the pin group. yes bestie, she has a name and you will be using it πŸ’–
  • pins β€” an array containing pin numbers. the actual lineup, the cast of characters 🌈
  • npins β€” size of the pins array. gotta know how many icons are on this roster πŸ‘‘
  • modemuxs β€” array of modemux configurations for this pin group. the whole mux situation, laid out ⭐
  • nmodemuxs β€” size of the modemuxs array. count 'em, don't lose track πŸ™ˆ

πŸ’œ Description πŸ’œ

so, what is she? this is a representation of a group of pins in the SPEAr pin controller β€” like, a little squad of pins that get treated as a unit 🧚

and here's the important part: each group allows some parameter or parameters to be configured. that's the whole point, periodt. the group is the thing you configure, and the configuration is the "parameters" ⭐


πŸ“ SEE ALSO πŸ“

you know we're linking the whole cinematic universe, bestie β€” Kernel file ./drivers/pinctrl/spear/pinctrl-spear.h, plus:

  • struct spear_pmx_mode(9)
  • struct spear_muxreg(9)
  • struct spear_modemux(9)
  • struct spear_function(9)
  • struct spear_pinctrl_machdata(9)
  • struct spear_pmx(9)

go read them all, i'll wait πŸ’…βœ¨


and that's the page! πŸŽ€ this one comes straight from ./drivers/pinctrl/spear, dated October 2026 β€” so yes, she's a Scorpio (or a Libra, depending on the day, don't @ me) and she said "no cap, go configure those pin groups." bye bestie, mwah πŸ˜­πŸ’–

πŸ“¦ where this page comes from