Lines Matching refs:nval
225 unsigned char oval, nval; in aureon_universe_inmux_put() local
228 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
229 if (nval >= 3) in aureon_universe_inmux_put()
233 change = (oval != nval); in aureon_universe_inmux_put()
235 aureon_pca9554_write(ice, PCA9554_OUT, nval); in aureon_universe_inmux_put()
236 spec->pca9554_out = nval; in aureon_universe_inmux_put()
730 unsigned short nval, oval; in wm_pcm_mute_put() local
735 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
736 change = (oval != nval); in wm_pcm_mute_put()
738 wm_put(ice, WM_MUTE, nval); in wm_pcm_mute_put()
1125 unsigned short oval, nval; in wm_adc_mux_put() local
1130 nval = oval & ~0x77; in wm_adc_mux_put()
1131 nval |= ucontrol->value.enumerated.item[0] & 7; in wm_adc_mux_put()
1132 nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; in wm_adc_mux_put()
1133 change = (oval != nval); in wm_adc_mux_put()
1135 wm_put(ice, WM_ADC_MUX, nval); in wm_adc_mux_put()
1176 unsigned short oval, nval; in aureon_cs8415_mux_put() local
1181 nval = oval & ~0x07; in aureon_cs8415_mux_put()
1182 nval |= ucontrol->value.enumerated.item[0] & 7; in aureon_cs8415_mux_put()
1183 change = (oval != nval); in aureon_cs8415_mux_put()
1185 aureon_cs8415_put(ice, CS8415_CTRL2, nval); in aureon_cs8415_mux_put()
1226 unsigned char oval, nval; in aureon_cs8415_mute_put() local
1231 nval = oval & ~0x20; in aureon_cs8415_mute_put()
1233 nval = oval | 0x20; in aureon_cs8415_mute_put()
1234 change = (oval != nval); in aureon_cs8415_mute_put()
1236 aureon_cs8415_put(ice, CS8415_CTRL1, nval); in aureon_cs8415_mute_put()