Lines Matching refs:nval
211 unsigned char oval, nval; in aureon_universe_inmux_put() local
214 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
215 if (nval >= 3) in aureon_universe_inmux_put()
219 change = (oval != nval); in aureon_universe_inmux_put()
221 aureon_pca9554_write(ice, PCA9554_OUT, nval); in aureon_universe_inmux_put()
222 spec->pca9554_out = nval; in aureon_universe_inmux_put()
716 unsigned short nval, oval; in wm_pcm_mute_put() local
721 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
722 change = (oval != nval); in wm_pcm_mute_put()
724 wm_put(ice, WM_MUTE, nval); in wm_pcm_mute_put()
1111 unsigned short oval, nval; in wm_adc_mux_put() local
1116 nval = oval & ~0x77; in wm_adc_mux_put()
1117 nval |= ucontrol->value.enumerated.item[0] & 7; in wm_adc_mux_put()
1118 nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; in wm_adc_mux_put()
1119 change = (oval != nval); in wm_adc_mux_put()
1121 wm_put(ice, WM_ADC_MUX, nval); in wm_adc_mux_put()
1162 unsigned short oval, nval; in aureon_cs8415_mux_put() local
1167 nval = oval & ~0x07; in aureon_cs8415_mux_put()
1168 nval |= ucontrol->value.enumerated.item[0] & 7; in aureon_cs8415_mux_put()
1169 change = (oval != nval); in aureon_cs8415_mux_put()
1171 aureon_cs8415_put(ice, CS8415_CTRL2, nval); in aureon_cs8415_mux_put()
1212 unsigned char oval, nval; in aureon_cs8415_mute_put() local
1217 nval = oval & ~0x20; in aureon_cs8415_mute_put()
1219 nval = oval | 0x20; in aureon_cs8415_mute_put()
1220 change = (oval != nval); in aureon_cs8415_mute_put()
1222 aureon_cs8415_put(ice, CS8415_CTRL1, nval); in aureon_cs8415_mute_put()