snd_hda_codec_set_gpio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_hda_codec_set_gpio β€” like, the whole page

okay so bestie, welcome to the snd_hda_codec_set_gpio(9) page πŸ’– yes that's the manual name, we're not copying the header line, we're just saying hi to it. This one is short and sweet and it does exactly one thing, and it does it fabulously ✨


✨ NAME ✨

snd_hda_codec_set_gpio β€” set up GPIO bits for AFG πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void snd_hda_codec_set_gpio (struct hda_codec *codec , unsigned int mask
, unsigned int dir , unsigned int data , unsigned int delay );

like, five arguments, no return value, main character energy only 🌈


🌸 ARGUMENTS 🌸

  • codec β€” the HDA codec πŸ’… that's the whole vibe, it's the thing you're poking
  • mask β€” GPIO bitmask 🎯 which bits we're even talking about
  • dir β€” GPIO direction bits 🧭 the direction, as bits bestie
  • data β€” GPIO data bits πŸ“ the actual data, also bits
  • delay β€” the delay in msec before writing GPIO data bits ⏳ yes msec, yes before the write, no cap

πŸ‘‘ SEE ALSO πŸ‘‘

okay so the cross-reference list here is literally enormous and I'm not skipping a single one, we stan completeness 🫢

  • Kernel file: ./sound/hda/common/codec.c πŸ“

and now, the full roll call, in order, no cuts:


and that's the whole page, bestie, no filler, all signal πŸ’€βœ¨

cute little sign-off: this one lives in ./sound/hda/common and it's dated October 2026 β€” see you in the next (9) page, muah πŸ˜˜πŸ‘‘πŸ’œ
πŸ“¦ where this page comes from