snd_hda_codec_amp_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ snd_hda_codec_amp_update β€” Kernel API Manual energy πŸŽ€

okay so this is the snd_hda_codec_amp_update(9) page from the Kernel API Manual, and bestie it's short but it still ate. no cap, every detail is staying. πŸ’…

🌸 NAME 🌸

snd_hda_codec_amp_update β€” update the AMP mono value. periodt. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

it's giving:

int snd_hda_codec_amp_update (struct hda_codec *codec , hda_nid_t nid ,
       int ch , int dir , int idx , int mask , int val );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” HD-audio codec.
  • nid β€” NID to read the AMP value.
  • ch β€” channel to update (0 or 1).
  • dir β€” #HDA_INPUT or #HDA_OUTPUT.
  • idx β€” the index value (only for input direction).
  • mask β€” bit mask to set.
  • val β€” the bits value to set.

πŸ’– DESCRIPTION πŸ’–

Update the AMP values for the given channel, direction and index. that's the whole vibe check, and yes it's literally that. 🫢

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./sound/hda/common/codec.c β€” and then the whole bestie lineup is right here:


xoxo πŸ’– β€” source/version corner: ./sound/hda/common, dated October 2026. stay slay, kernel bestie. πŸ‘‘

πŸ“¦ where this page comes from