Lines Matching refs:new
67 unsigned char new, old; in stac9460_dac_mute_all() local
78 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
79 change = (new != old); in stac9460_dac_mute_all()
81 stac9460_put(ice, idx, new); in stac9460_dac_mute_all()
97 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
98 change = (new != old); in stac9460_dac_mute_all()
100 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_all()
144 unsigned char new, old; in stac9460_dac_mute_put() local
151 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
153 change = (new != old); in stac9460_dac_mute_put()
155 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
156 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_put()
165 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
167 change = (new != old); in stac9460_dac_mute_put()
170 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
172 stac9460_2_put(ice, idx - 6, new); in stac9460_dac_mute_put()
284 unsigned char new, old; in stac9460_adc_mute_put() local
293 new = (~ucontrol->value.integer.value[i]<<7&0x80) | in stac9460_adc_mute_put()
295 change = (new != old); in stac9460_adc_mute_put()
297 stac9460_put(ice, reg, new); in stac9460_adc_mute_put()
303 new = (~ucontrol->value.integer.value[i]<<7&0x80) | in stac9460_adc_mute_put()
305 change = (new != old); in stac9460_adc_mute_put()
307 stac9460_2_put(ice, reg, new); in stac9460_adc_mute_put()
415 unsigned char new, old; in stac9460_mic_sw_put() local
423 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
424 change = (new != old); in stac9460_mic_sw_put()
427 stac9460_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
429 stac9460_2_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
440 unsigned char old, new; in stac9460_set_rate_val() local
447 new = 0x08; /* 256x, base rate mode */ in stac9460_set_rate_val()
449 new = 0x11; /* 256x, mid rate mode */ in stac9460_set_rate_val()
451 new = 0x12; /* 128x, high rate mode */ in stac9460_set_rate_val()
454 if (old == new) in stac9460_set_rate_val()
463 stac9460_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()
464 stac9460_2_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()