Lines Matching defs:change
263 * @reg: the register to change
268 * This function doesn't change the register cache unlike
270 * reflect the change to the suspend/resume state.
319 * @reg: the register to change
342 * @reg: the register to change
348 * Return: 1 if the value is changed, 0 if no change, or a negative
353 int change;
358 change = ac97->regs[reg] != value;
359 if (change) {
365 return change;
373 * @reg: the register to change
374 * @mask: the bit-mask to change
380 * Return: 1 if the bits are changed, 0 if no change, or a negative
385 int change;
390 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value);
392 return change;
401 int change;
406 change = old != new;
407 if (change) {
412 return change;
417 int change;
423 change = old != new;
424 if (change) {
440 return change;
679 /* change the existing EAPD control as inverted */
734 int change;
765 change = ac97->spdif_status != new;
775 change |= snd_ac97_update_bits_nolock(ac97, AC97_CSR_SPDIF, 0x3fff, ((val & 0xcfff) | (x << 12)));
780 change |= snd_ac97_update_bits_nolock(ac97, AC97_CXR_AUDIO_MISC,
784 change |= snd_ac97_update_bits_nolock(ac97,
793 change |= snd_ac97_update_bits_nolock(ac97, AC97_SPDIF, 0x3fff, val);
800 return change;
811 int change;
820 change = old != new;
822 if (change) {
825 change = snd_ac97_update_bits_nolock(ac97, reg, mask, value);
830 return change;