Lines Matching refs:pac97
3543 struct snd_ac97 *pac97; in snd_ac97_vt1617a_smart51_get() local
3545 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */ in snd_ac97_vt1617a_smart51_get()
3550 usSM51 = snd_ac97_read(pac97, 0x7a) >> 14; in snd_ac97_vt1617a_smart51_get()
3551 usMS = snd_ac97_read(pac97, 0x20) >> 8; in snd_ac97_vt1617a_smart51_get()
3563 struct snd_ac97 *pac97; in snd_ac97_vt1617a_smart51_put() local
3565 pac97 = snd_kcontrol_chip(kcontrol); /* grab codec handle */ in snd_ac97_vt1617a_smart51_put()
3573 usReg = snd_ac97_read(pac97, 0x7a); in snd_ac97_vt1617a_smart51_put()
3574 snd_ac97_write_cache(pac97, 0x7a, (usReg & 0x3FFF) + (usSM51 << 14)); in snd_ac97_vt1617a_smart51_put()
3575 usReg = snd_ac97_read(pac97, 0x20); in snd_ac97_vt1617a_smart51_put()
3576 snd_ac97_write_cache(pac97, 0x20, (usReg & 0xFEFF) + (usMS << 8)); in snd_ac97_vt1617a_smart51_put()
3712 struct snd_ac97 *pac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_vt1618_UAJ_get() local
3714 mutex_lock(&pac97->page_mutex); in snd_ac97_vt1618_UAJ_get()
3716 datpag = snd_ac97_read(pac97, AC97_INT_PAGING) & AC97_PAGE_MASK; in snd_ac97_vt1618_UAJ_get()
3717 snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, 0); in snd_ac97_vt1618_UAJ_get()
3719 uaj = snd_ac97_read(pac97, 0x60) & in snd_ac97_vt1618_UAJ_get()
3722 snd_ac97_update_bits(pac97, AC97_INT_PAGING, AC97_PAGE_MASK, datpag); in snd_ac97_vt1618_UAJ_get()
3723 mutex_unlock(&pac97->page_mutex); in snd_ac97_vt1618_UAJ_get()