snd_hda_query_pin_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ snd_hda_query_pin_caps ✨

okay so bestie, welcome to the snd_hda_query_pin_caps(9) page β€” she lives in the Kernel API Manual and honestly she's a whole vibe. tiny function, big main character energy πŸ’…


🌸 NAME 🌸

snd_hda_query_pin_caps β€” literally just: Query PIN capabilities πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

u32 snd_hda_query_pin_caps (struct hda_codec *codec , hda_nid_t nid );

πŸ’– ARGUMENTS πŸ’–

  • codec β€” the HD-auio codec πŸ‘€ (no fr that's what the page says, i'm not gonna gaslight you β€” it's the codec, it's HD, we move)
  • nid β€” the NID you wanna query πŸ”

🌈 DESCRIPTION 🌈

So what she does: she queries the PIN capabilities for the given widget, and hands you back the capability bits she got. that's it. that's the whole job. icon behavior only πŸ‘‘

And here's the part that's lowkey the best feature: when the cap bits have already been read, she does not read again β€” she just returns the cached value. no double-reading, no drama, no cap. it's giving efficiency πŸ’…βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘

all three of those are her besties, go say hi 🫢


k bye bestie, this page is from ./sound/hda/common, dated October 2026, and it's filed under snd_hda_query_pin_caps(9) β€” mwah, slay, see you in the kernel πŸ’œπŸŽ€πŸ§š

πŸ“¦ where this page comes from