snd_hda_jack_tbl_get_mst(9)
π NAME π
snd_hda_jack_tbl_get_mst β okay so this is the one that queries the jack-table entry for the given NID, and honestly? iconic behavior π
This lil baby lives in the Kernel API Manual, which is where all the serious low-level lore is kept. iykyk π
β¨ SYNOPSIS β¨
struct hda_jack_tbl * snd_hda_jack_tbl_get_mst (struct hda_codec *codec
, hda_nid_t nid , int dev_id );
like. look at her. returning a struct hda_jack_tbl * and everything ππ«Ά
πΈ ARGUMENTS πΈ
codecβ the HDA codec, bestie. that's the whole audio chip vibe right there πnidβ the pin NID to refer to π― (yes, pin, as in pin NID, not the pinterest kind, stay focused)dev_idβ the pin device entry id, the little number that tells you which device entry we're talking about β¨
π¦ SEE ALSO π¦
okay this is the friend group, and they're all in the kernel file ./sound/hda/common/jack.c β go say hi to all of them π:
is_jack_detectable(9)snd_hda_jack_tbl_get_from_tag(9)snd_hda_jack_tbl_new(9)snd_hda_jack_set_dirty_all(9)snd_hda_jack_pin_sense(9)snd_hda_jack_detect_state_mst(9)snd_hda_jack_detect_enable_callback_mst(9)snd_hda_jack_detect_enable(9)snd_hda_jack_set_gating_jack(9)snd_hda_jack_bind_keymap(9)snd_hda_jack_set_button_state(9)snd_hda_jack_report_sync(9)snd_hda_jack_add_kctl_mst(9)snd_hda_jack_add_kctls(9)snd_hda_jack_unsol_event(9)snd_hda_jack_poll_all(9)
ngl if you ever forget one of these, they're all chillin' in ./sound/hda/common together, no cap π
and that's the whole page, bestie β 10/10 no notes π β¨
this lil legend came from the ./sound/hda/common source tree, dated October 2026 β mwah, slay, periodt πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms