Lines Matching refs:new
95 unsigned char new, old; in stac9460_dac_mute() local
98 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute()
99 change = (new != old); in stac9460_dac_mute()
102 stac9460_put(ice, idx, new); in stac9460_dac_mute()
220 unsigned char new, old; in stac9460_adc_mute_put() local
227 new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80); in stac9460_adc_mute_put()
228 change = (new != old); in stac9460_adc_mute_put()
230 stac9460_put(ice, reg, new); in stac9460_adc_mute_put()
306 unsigned char new, old; in stac9460_mic_sw_put() local
309 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put()
310 change = (new != old); in stac9460_mic_sw_put()
312 stac9460_put(ice, STAC946X_GENERAL_PURPOSE, new); in stac9460_mic_sw_put()
320 unsigned char old, new; in stac9460_set_rate_val() local
328 new = 0x08; /* 256x, base rate mode */ in stac9460_set_rate_val()
330 new = 0x11; /* 256x, mid rate mode */ in stac9460_set_rate_val()
332 new = 0x12; /* 128x, high rate mode */ in stac9460_set_rate_val()
334 if (old == new) in stac9460_set_rate_val()
344 stac9460_put(ice, STAC946X_MASTER_CLOCKING, new); in stac9460_set_rate_val()
580 unsigned char new, old, itemvalue; in ak4114_input_sw_put() local
587 new = (itemvalue & AK4114_IPS0) | (old & ~AK4114_IPS0); in ak4114_input_sw_put()
588 change = (new != old); in ak4114_input_sw_put()
590 prodigy192_ak4114_write(ice, AK4114_REG_IO1, new); in ak4114_input_sw_put()