Lines Matching refs:oldreg

444 	u32 oldreg, newreg;  in spdif_bit_switch_put()  local
448 oldreg = oxygen_read32(chip, OXYGEN_SPDIF_CONTROL); in spdif_bit_switch_put()
450 newreg = oldreg | bit; in spdif_bit_switch_put()
452 newreg = oldreg & ~bit; in spdif_bit_switch_put()
453 changed = newreg != oldreg; in spdif_bit_switch_put()
488 u8 oldreg, newreg; in monitor_put() local
492 oldreg = oxygen_read8(chip, OXYGEN_ADC_MONITOR); in monitor_put()
494 newreg = oldreg | bit; in monitor_put()
496 newreg = oldreg & ~bit; in monitor_put()
497 changed = newreg != oldreg; in monitor_put()
550 u16 oldreg, newreg; in ac97_switch_put() local
554 oldreg = oxygen_read_ac97(chip, codec, index); in ac97_switch_put()
555 newreg = oldreg; in ac97_switch_put()
560 change = newreg != oldreg; in ac97_switch_put()
626 u16 oldreg, newreg; in ac97_volume_put() local
630 oldreg = oxygen_read_ac97(chip, codec, index); in ac97_volume_put()
632 newreg = oldreg & ~0x1f; in ac97_volume_put()
635 newreg = oldreg & ~0x1f1f; in ac97_volume_put()
639 change = newreg != oldreg; in ac97_volume_put()
670 u16 oldreg, newreg; in mic_fmic_source_put() local
674 oldreg = oxygen_read_ac97(chip, 0, CM9780_JACK); in mic_fmic_source_put()
676 newreg = oldreg | CM9780_FMIC2MIC; in mic_fmic_source_put()
678 newreg = oldreg & ~CM9780_FMIC2MIC; in mic_fmic_source_put()
679 change = newreg != oldreg; in mic_fmic_source_put()
714 u16 oldreg, newreg; in ac97_fp_rec_volume_put() local
718 oldreg = oxygen_read_ac97(chip, 1, AC97_REC_GAIN); in ac97_fp_rec_volume_put()
719 newreg = oldreg & ~0x0707; in ac97_fp_rec_volume_put()
722 change = newreg != oldreg; in ac97_fp_rec_volume_put()