snd_hdac_regmap_read_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


🌈 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