Lines Matching refs:new
81 unsigned char new, old; in stac9460_dac_mute() local
84 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute()
85 change = (new != old); in stac9460_dac_mute()
88 stac9460_put(ice, idx, new); in stac9460_dac_mute()
206 unsigned char new, old; in stac9460_adc_mute_put() local
213 new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80); in stac9460_adc_mute_put()
214 change = (new != old); in stac9460_adc_mute_put()
216 stac9460_put(ice, reg, new); in stac9460_adc_mute_put()
292 unsigned char new, old; in stac9460_mic_sw_put() local
295 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
296 change = (new != old); in stac9460_mic_sw_put()
298 stac9460_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
306 unsigned char old, new; in stac9460_set_rate_val() local
314 new = 0x08; /* 256x, base rate mode */ in stac9460_set_rate_val()
316 new = 0x11; /* 256x, mid rate mode */ in stac9460_set_rate_val()
318 new = 0x12; /* 128x, high rate mode */ in stac9460_set_rate_val()
320 if (old == new) in stac9460_set_rate_val()
330 stac9460_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()
566 unsigned char new, old, itemvalue; in ak4114_input_sw_put() local
573 new = (itemvalue & AK4114_IPS0) | (old & ~AK4114_IPS0); in ak4114_input_sw_put()
574 change = (new != old); in ak4114_input_sw_put()
576 prodigy192_ak4114_write(ice, AK4114_REG_IO1, new); in ak4114_input_sw_put()