snd_hdac_regmap_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_hdac_regmap_update(9) β€” like, the Kernel API Manual edition πŸŽ€

okay bestie, buckle up, we're reading a manpage and honestly? it's a short one but it eats. this is snd_hdac_regmap_update from the Kernel API Manual, and it's giving "tiny function, big purpose" energy ✨


🌸 NAME 🌸

snd_hdac_regmap_update β€” update a verb value, but make it cached πŸ’…

like, you're updating the verb and the regmap is keeping track, no cap.


✨ SYNOPSIS ✨

int snd_hdac_regmap_update (struct hdac_device *codec , hda_nid_t nid ,
unsigned int verb , unsigned int mask , unsigned int val );

so she takes five things and returns an int, periodt. πŸ”₯


🫢 ARGUMENTS 🫢

  • codec β€” the HD-audio codec, aka the main character of this whole situation πŸ‘‘
  • nid β€” the codec NID (yes, literally that, that's the whole description, we love a concise queen)
  • verb β€” the verb that's getting updated πŸ¦‹
  • mask β€” the bit mask for the update, so we only touch the bits we're supposed to πŸ™ˆ
  • val β€” the value you're updating it to, slay

πŸ’– DESCRIPTION πŸ’–

okay so real talk: this is for updating a verb value with caching, that's the whole vibe check πŸ’«

and here's the one thing you gotta remember, bestie, highlighted in dramatic font because the manpage said it, not me:

for updating an amp value, use snd_hdac_regmap_update_amp instead!! 😭 like don't come for this function for amp stuff, it's not her job, snd_hdac_regmap_update_amp is the one you want.

⭐ RETURN ⭐

  • 0 if it worked out β€” success, we love to see it πŸŽ‰
  • a negative error code if it didn't β€” not the vibe, but at least you know πŸ’€

🌈 SEE ALSO 🌈

the whole friend group fr fr πŸ§šπŸ’œ go read their pages too, iykyk


πŸ“ cute lil sign-off: this page lives in ./include/sound and the version is dated October 2026 β€” so like, from the future, iconic. mwah, study safe bestie πŸ’…πŸŽ€
πŸ“¦ where this page comes from