Lines Matching refs:nval
128 unsigned short oval, nval; in wm_dac_vol_put() local
133 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put()
134 nval = (nval ? (nval + DAC_MIN) : 0) & 0xff; in wm_dac_vol_put()
137 if (oval != nval) { in wm_dac_vol_put()
138 wm_put(ice, idx, nval); in wm_dac_vol_put()
139 wm_put_nocache(ice, idx, nval | 0x100); in wm_dac_vol_put()
221 unsigned short oval, nval; in wm_adc_mux_put() local
225 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put()
227 nval |= (1 << bit); in wm_adc_mux_put()
229 nval &= ~(1 << bit); in wm_adc_mux_put()
230 change = nval != oval; in wm_adc_mux_put()
232 wm_put(ice, WM_ADC_MUX, nval); in wm_adc_mux_put()
511 unsigned int val, nval; in pontis_gpio_data_put() local
517 nval = ucontrol->value.integer.value[0] & 0xffff; in pontis_gpio_data_put()
518 if (val != nval) { in pontis_gpio_data_put()
519 snd_ice1712_gpio_write(ice, nval); in pontis_gpio_data_put()