Home
last modified time | relevance | path

Searched refs:pac97 (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/sound/pci/ac97/
Dac97_patch.c3553 struct snd_ac97 *pac97; in snd_ac97_vt1617a_smart51_get() local
3555 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */ in snd_ac97_vt1617a_smart51_get()
3560 usSM51 = snd_ac97_read(pac97, 0x7a) >> 14; in snd_ac97_vt1617a_smart51_get()
3561 usMS = snd_ac97_read(pac97, 0x20) >> 8; in snd_ac97_vt1617a_smart51_get()
3573 struct snd_ac97 *pac97; in snd_ac97_vt1617a_smart51_put() local
3575 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */ in snd_ac97_vt1617a_smart51_put()
3583 usReg = snd_ac97_read(pac97, 0x7a); in snd_ac97_vt1617a_smart51_put()
3584 snd_ac97_write_cache(pac97, 0x7a, (usReg & 0x3FFF) + (usSM51 << 14)); in snd_ac97_vt1617a_smart51_put()
3585 usReg = snd_ac97_read(pac97, 0x20); in snd_ac97_vt1617a_smart51_put()
3586 snd_ac97_write_cache(pac97, 0x20, (usReg & 0xFEFF) + (usMS << 8)); in snd_ac97_vt1617a_smart51_put()
[all …]