STRUCT SPEAR_FUNCTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct spear_function(9) πŸ’…

okay so bestie, this one is straight from the Kernel API Manual, and it’s literally the page for struct spear_function β€” the SPEAr pinctrl mux function. it’s a tiny struct with main character energy, and we’re gonna go through every single field. no cap. ✨


🌸 NAME 🌸

struct spear_function β€” SPEAr pinctrl mux function πŸŽ€


πŸŽ€ SYNOPSIS πŸŽ€

here’s the struct in all its iconic glory, copied exactly:

       struct spear_function {
           const char *name;
           const char *const *groups;
           unsigned ngroups;
        };

πŸ¦‹ Members πŸ¦‹

  • name β€” the name of the function, exported to pinctrl core. lowkey the label that tells everyone who’s who. πŸ’–
  • groups β€” an array of pin groups that may select this function. it’s giving β€œpick me” energy for pin groups, fr fr. 🌈
  • ngroups β€” the number of entries in groups. literally just the count, bestie. πŸ”₯

🫢 SEE ALSO 🫢

Kernel file ./drivers/pinctrl/spear/pinctrl-spear.h struct spear_pmx_mode(9), struct spear_muxreg(9), struct spear_modemux(9), struct spear_pingroup(9), struct spear_pinctrl_machdata(9), struct spear_pmx(9)

mwah πŸ’– source/version: ./drivers/pinctrl/spear Β· date: October 2026 Β· page: struct spear_function(9) β€” periodt. πŸ‘‘

πŸ“¦ where this page comes from