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