Lines Matching refs:new
96 unsigned char new, old;
99 new = (~mute << 7 & 0x80) | (old & ~0x80);
100 change = (new != old);
102 /*printk ("Volume register 0x%02x: 0x%02x\n", idx, new);*/
103 stac9460_put(ice, idx, new);
221 unsigned char new, old;
228 new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80);
229 change = (new != old);
231 stac9460_put(ice, reg, new);
315 unsigned char new, old;
318 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80);
319 change = (new != old);
321 stac9460_put(ice, STAC946X_GENERAL_PURPOSE, new);
329 unsigned char old, new;
337 new = 0x08; /* 256x, base rate mode */
339 new = 0x11; /* 256x, mid rate mode */
341 new = 0x12; /* 128x, high rate mode */
343 if (old == new)
352 /*printk(KERN_DEBUG "Rate change: %d, new MC: 0x%02x\n", rate, new);*/
353 stac9460_put(ice, STAC946X_MASTER_CLOCKING, new);
595 unsigned char new, old, itemvalue;
602 new = (itemvalue & AK4114_IPS0) | (old & ~AK4114_IPS0);
603 change = (new != old);
605 prodigy192_ak4114_write(ice, AK4114_REG_IO1, new);