Lines Matching refs:change

368 	int change;  in snd_ac97_update()  local
373 change = ac97->regs[reg] != value; in snd_ac97_update()
374 if (change) { in snd_ac97_update()
380 return change; in snd_ac97_update()
400 int change; in snd_ac97_update_bits() local
405 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value); in snd_ac97_update_bits()
407 return change; in snd_ac97_update_bits()
416 int change; in snd_ac97_update_bits_nolock() local
421 change = old != new; in snd_ac97_update_bits_nolock()
422 if (change) { in snd_ac97_update_bits_nolock()
427 return change; in snd_ac97_update_bits_nolock()
432 int change; in snd_ac97_ad18xx_update_pcm_bits() local
438 change = old != new; in snd_ac97_ad18xx_update_pcm_bits()
439 if (change) { in snd_ac97_ad18xx_update_pcm_bits()
455 return change; in snd_ac97_ad18xx_update_pcm_bits()
754 int change; in snd_ac97_spdif_default_put() local
785 change = ac97->spdif_status != new; in snd_ac97_spdif_default_put()
795 change |= snd_ac97_update_bits_nolock(ac97, AC97_CSR_SPDIF, 0x3fff, ((val & 0xcfff) | (x << 12))); in snd_ac97_spdif_default_put()
800 change |= snd_ac97_update_bits_nolock(ac97, AC97_CXR_AUDIO_MISC, in snd_ac97_spdif_default_put()
804 change |= snd_ac97_update_bits_nolock(ac97, in snd_ac97_spdif_default_put()
813 change |= snd_ac97_update_bits_nolock(ac97, AC97_SPDIF, 0x3fff, val); in snd_ac97_spdif_default_put()
820 return change; in snd_ac97_spdif_default_put()
831 int change; in snd_ac97_put_spsa() local
840 change = old != new; in snd_ac97_put_spsa()
842 if (change) { in snd_ac97_put_spsa()
845 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value); in snd_ac97_put_spsa()
850 return change; in snd_ac97_put_spsa()