STRUCT MTK_SPEC_PINMUX_SET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mtk_spec_pinmux_set(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” today's main character is struct mtk_spec_pinmux_set(9) and honestly? she's small, she's specific, she slays. ✨


🌸 NAME 🌸

struct mtk_spec_pinmux_set β€” that's her, that's the whole name, the manpage literally left the description blank so we're just gonna sit here and appreciate her for exactly who she is 🫢 (no cap, the original really does give you nothing else here).


✨ SYNOPSIS ✨

the whole glow-up, verbatim, do not touch a single character:

struct mtk_spec_pinmux_set {
    unsigned short pin;
    unsigned short offset;
    unsigned char bit;
 };

three members, one struct, zero notes πŸ’€ she's compact and she knows it.


πŸŽ€ Members πŸŽ€

  • pin β€” the pin number. iconic. that's the pin you're talking about πŸ’…
  • offset β€” the offset of the extra setting register. yes bestie, extra β€” we're not in the main register, we're in the bonus level πŸ¦‹
  • bit β€” the bit of the extra setting register. one single bit, living her best life 🌟

πŸ‘‘ Description πŸ‘‘

  • For special pins' mode setting ✨

like, that's it, that's the vibe β€” these are the special pins and this struct is how their mode gets set. periodt. πŸ”₯


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pinctrl/mediatek/pinctrl-mt2701.c β€” go read it, iykyk πŸ“–πŸ’–

fr fr reminder: this is a kernel API page, so if you're poking at pinmux registers, be cute but be careful 🧚 β€” the source of truth is always that file above.

okay that's the whole page, love u, go set some special pin modes πŸ’œ

β€” xoxo, your girl, signing off for the <pink>Kernel API Manual</pink>, brought to you by <lavender>./drivers/pinctrl/mediatek</lavender>, dated <mint>October 2026` β€” catch you in the next group chat πŸŒΈπŸŽ€πŸ’«

πŸ“¦ where this page comes from