snd_hdac_re...ate_raw_once(9)
β¨ 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 π§
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_read_raw(9)snd_hdac_regmap_update_raw(9)snd_hdac_regmap_sync(9)
mwah π this cutieβs source/version is ./sound/hda/core, dated October 2026 β iconic, fr fr. πβ¨
π¦ 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