Home
last modified time | relevance | path

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

/Linux-v6.6/sound/pci/ac97/
Dac97_codec.c498 int page_save = -1; in snd_ac97_page_save() local
504 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in snd_ac97_page_save()
507 return page_save; in snd_ac97_page_save()
510 static void snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) in snd_ac97_page_restore() argument
512 if (page_save >= 0) { in snd_ac97_page_restore()
513 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save); in snd_ac97_page_restore()
542 int page_save; in snd_ac97_get_volsw() local
544 page_save = snd_ac97_page_save(ac97, reg, kcontrol); in snd_ac97_get_volsw()
553 snd_ac97_page_restore(ac97, page_save); in snd_ac97_get_volsw()
566 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()