snd_ac97_write(9)
π snd_ac97_write(9) β Kernel API Manual π
okay so bestie, welcome to the snd_ac97_write(9) page. Itβs giving tiny register write, big kernel energy. π
β¨
πΈ NAME πΈ
snd_ac97_write β write a value on the given register
β¨ SYNOPSIS β¨
void snd_ac97_write (struct snd_ac97 *ac97 , unsigned short reg ,
unsigned short value );
π¦ ARGUMENTS π¦
ac97β theac97instance. Thatβs your codec bestie. π«Άregβ the register to change. The exact spot youβre poking. β¨valueβ the value to set. The new content, no cap. π
π DESCRIPTION π
So snd_ac97_write writes a value on the given register. Periodt. π
This will invoke the write callback directly after the register check β like, check first, callback immediately after. Thatβs the flow. β¨
This function doesnβt change the register cache, unlike #snd_ca97_write_cache. So use this only when you donβt want to reflect the change to the suspend/resume state. Thatβs the whole caveat, bestie β if you do want that reflection, this is not your girl. π
π₯ SEE ALSO π₯
Kernel file ./sound/pci/ac97/ac97_codec.c β and the whole friend group:
snd_ac97_read(9)snd_ac97_write_cache(9)snd_ac97_update(9)snd_ac97_update_bits(9)snd_ac97_get_short_name(9)snd_ac97_bus(9)snd_ac97_mixer(9)snd_ac97_update_power(9)snd_ac97_suspend(9)snd_ac97_resume(9)snd_ac97_tune_hardware(9)
π«Ά cute sign-off: source/version./sound/pci/ac97, dateOctober 2026, pagesnd_ac97_write(9). bye bestie, go write that register responsibly πβ¨
π¦ 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