Lines Matching refs:new

81 	unsigned char new, old;  in stac9460_dac_mute_all()  local
92 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
93 change = (new != old); in stac9460_dac_mute_all()
95 stac9460_put(ice, idx, new); in stac9460_dac_mute_all()
111 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all()
112 change = (new != old); in stac9460_dac_mute_all()
114 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_all()
158 unsigned char new, old; in stac9460_dac_mute_put() local
165 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
167 change = (new != old); in stac9460_dac_mute_put()
169 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
170 stac9460_2_put(ice, idx, new); in stac9460_dac_mute_put()
179 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
181 change = (new != old); in stac9460_dac_mute_put()
184 stac9460_put(ice, idx, new); in stac9460_dac_mute_put()
186 stac9460_2_put(ice, idx - 6, new); in stac9460_dac_mute_put()
298 unsigned char new, old; in stac9460_adc_mute_put() local
307 new = (~ucontrol->value.integer.value[i]<<7&0x80) | in stac9460_adc_mute_put()
309 change = (new != old); in stac9460_adc_mute_put()
311 stac9460_put(ice, reg, new); in stac9460_adc_mute_put()
317 new = (~ucontrol->value.integer.value[i]<<7&0x80) | in stac9460_adc_mute_put()
319 change = (new != old); in stac9460_adc_mute_put()
321 stac9460_2_put(ice, reg, new); in stac9460_adc_mute_put()
429 unsigned char new, old; in stac9460_mic_sw_put() local
437 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
438 change = (new != old); in stac9460_mic_sw_put()
441 stac9460_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
443 stac9460_2_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
454 unsigned char old, new; in stac9460_set_rate_val() local
461 new = 0x08; /* 256x, base rate mode */ in stac9460_set_rate_val()
463 new = 0x11; /* 256x, mid rate mode */ in stac9460_set_rate_val()
465 new = 0x12; /* 128x, high rate mode */ in stac9460_set_rate_val()
468 if (old == new) in stac9460_set_rate_val()
477 stac9460_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()
478 stac9460_2_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()