Lines Matching defs:pac97
3512 struct snd_ac97 *pac97;
3514 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */
3519 usSM51 = snd_ac97_read(pac97, 0x7a) >> 14;
3520 usMS = snd_ac97_read(pac97, 0x20) >> 8;
3532 struct snd_ac97 *pac97;
3534 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */
3542 usReg = snd_ac97_read(pac97, 0x7a);
3543 snd_ac97_write_cache(pac97, 0x7a, (usReg & 0x3FFF) + (usSM51 << 14));
3544 usReg = snd_ac97_read(pac97, 0x20);
3545 snd_ac97_write_cache(pac97, 0x20, (usReg & 0xFEFF) + (usMS << 8));
3680 struct snd_ac97 *pac97 = snd_kcontrol_chip(kcontrol);
3682 mutex_lock(&pac97->page_mutex);
3684 datpag = snd_ac97_read(pac97, AC97_INT_PAGING) & AC97_PAGE_MASK;
3685 snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, 0);
3687 uaj = snd_ac97_read(pac97, 0x60) &
3690 snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, datpag);
3691 mutex_unlock(&pac97->page_mutex);