snd_hdac_regmap_read_raw(9)
π NAME π
snd_hdac_regmap_read_raw β bestie, this is the one that reads a pseudo register with power mgmt baked in β¨ (yes, the kernel API manual girlies are eating today)
π¦ SYNOPSIS π¦
int snd_hdac_regmap_read_raw (struct hdac_device *codec , unsigned int
reg , unsigned int *val );
π ARGUMENTS π
codecβ the codec object, aka the main character of this whole operation πregβ the pseudo register, no cap, it's a pseudo one π«Άvalβ pointer to store the read value in, so the answer has somewhere cute to live π
β¨ DESCRIPTION β¨
okay so here's the tea: it returns zero if successful, or a negative error code π that's literally the whole vibe check. zero = slay, negative = not slay (derogatory). no invented behaviour, that's it, periodt π
πΈ SEE ALSO πΈ
Kernel file ./sound/hda/core/regmap.c, plus the whole regmap friend group β they're all linked, iykyk:
snd_hdac_regmap_init(9)snd_hdac_regmap_exit(9)snd_hdac_regmap_add_vendor_verb(9)snd_hdac_regmap_write_raw(9)snd_hdac_regmap_update_raw(9)snd_hdac_regmap_update_raw_once(9)snd_hdac_regmap_sync(9)
π ok bye bestie, this page came from ./sound/hda/core, dated October 2026, and it lives in the Kernel API Manual (that's the manual name, π
folded in near the top like requested). go read some registers, ily, mwah π«Άπ
π¦ 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