Lines Matching defs:change
262 * @reg: the register to change
267 * This function doesn't change the register cache unlike
269 * reflect the change to the suspend/resume state.
318 * @reg: the register to change
341 * @reg: the register to change
347 * Return: 1 if the value is changed, 0 if no change, or a negative
352 int change;
357 change = ac97->regs[reg] != value;
358 if (change) {
364 return change;
372 * @reg: the register to change
373 * @mask: the bit-mask to change
379 * Return: 1 if the bits are changed, 0 if no change, or a negative
384 int change;
389 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value);
391 return change;
400 int change;
405 change = old != new;
406 if (change) {
411 return change;
416 int change;
422 change = old != new;
423 if (change) {
439 return change;
678 /* change the existing EAPD control as inverted */
733 int change;
764 change = ac97->spdif_status != new;
774 change |= snd_ac97_update_bits_nolock(ac97, AC97_CSR_SPDIF, 0x3fff, ((val & 0xcfff) | (x << 12)));
779 change |= snd_ac97_update_bits_nolock(ac97, AC97_CXR_AUDIO_MISC,
783 change |= snd_ac97_update_bits_nolock(ac97,
792 change |= snd_ac97_update_bits_nolock(ac97, AC97_SPDIF, 0x3fff, val);
799 return change;
810 int change;
819 change = old != new;
821 if (change) {
824 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value);
829 return change;