snd_hdac_regmap_write_raw(9)
π NAME π
snd_hdac_regmap_write_raw β bestie, this is the one that writes a pseudo register with power mgmt β¨
πΈ SYNOPSIS πΈ
int snd_hdac_regmap_write_raw (struct hdac_device *codec , unsigned int reg , unsigned int val );
π ARGUMENTS π
codecβ the codec object, aka the whole main character of this function call πregβ the pseudo register. yes bestie, pseudo, it's giving β¨specialβ¨valβ the value you're writing. like, the actual thing going in π«Ά
π¦ DESCRIPTION π¦
okay so here's the vibe check: this function returns zero if successful or a negative error code π that's literally it. zero = slay, negative = not slay. no cap, that's the whole contract π₯
β SEE ALSO β
- Kernel file
./sound/hda/core/regmap.cβ go read the source, iykyk π snd_hdac_regmap_init(9)snd_hdac_regmap_exit(9)snd_hdac_regmap_add_vendor_verb(9)snd_hdac_regmap_read_raw(9)snd_hdac_regmap_update_raw(9)snd_hdac_regmap_update_raw_once(9)snd_hdac_regmap_sync(9)
like the whole regmap friend group fr fr π
and that's the page, bestie π§ this little icon lives in ./sound/hda/core, it's dated October 2026, and it came straight outta the Kernel API Manual π mwah, go write some pseudo registers π
π¦ 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