snd_hdac_re...ate_raw_once(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, meet snd_hdac_regmap_update_raw_once β€” straight out of the Kernel API Manual, and its whole personality is β€œinitialize the register value only once.” πŸ’…βœ¨


🌸 SYNOPSIS 🌸

int snd_hdac_regmap_update_raw_once (struct hdac_device *codec ,
unsigned int reg , unsigned int mask , unsigned int val );

πŸŽ€ ARGUMENTS πŸŽ€

  • codec β€” the codec object, aka the lil device bestie we’re working with 🫢
  • reg β€” pseudo register. yes ma’am, that’s the register spot ✨
  • mask β€” bit mask to update πŸ”₯
  • val β€” value to update πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so here’s the vibe: this function performs the update of the register bits only once, when the register hasn’t been initialized yet. it’s giving one-time setup main character energy, no cap. πŸ‘‘

it’s used in the HD-audio legacy driver β€” periodt. πŸ’…

returns zero if successful, or a negative error code. that’s the whole mood. 😭🌿


🌈 SEE ALSO 🌈

kernel file: ./sound/hda/core/regmap.c β€” yes, that’s the spot, iykyk 🧚


mwah πŸ’‹ this cutie’s source/version is ./sound/hda/core, dated October 2026 β€” iconic, fr fr. πŸŽ€βœ¨

πŸ“¦ where this page comes from