Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/ac97/
Dac97_codec.c499 int page_save = -1; in snd_ac97_page_save() local
505 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in snd_ac97_page_save()
508 return page_save; in snd_ac97_page_save()
511 static void snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) in snd_ac97_page_restore() argument
513 if (page_save >= 0) { in snd_ac97_page_restore()
514 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save); in snd_ac97_page_restore()
543 int page_save; in snd_ac97_get_volsw() local
545 page_save = snd_ac97_page_save(ac97, reg, kcontrol); in snd_ac97_get_volsw()
554 snd_ac97_page_restore(ac97, page_save); in snd_ac97_get_volsw()
567 int err, page_save; in snd_ac97_put_volsw() local
[all …]
Dac97_patch.c57 unsigned short page_save; in ac97_update_bits_page() local
61 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in ac97_update_bits_page()
64 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save); in ac97_update_bits_page()