Lines Matching refs:nvol
315 unsigned char nvol; in wm_set_vol() local
318 nvol = 0; in wm_set_vol()
320 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm_set_vol()
322 nvol = (nvol ? (nvol + DAC_MIN) : 0) & 0xff; in wm_set_vol()
325 wm_put(ice, index, nvol); in wm_set_vol()
326 wm_put_nocache(ice, index, 0x100 | nvol); in wm_set_vol()
332 unsigned char nvol; in wm8766_set_vol() local
335 nvol = 0; in wm8766_set_vol()
337 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm8766_set_vol()
339 nvol = (nvol ? (nvol + DAC_MIN) : 0) & 0xff; in wm8766_set_vol()
342 wm8766_spi_write(ice, index, (0x0100 | nvol)); in wm8766_set_vol()
603 unsigned short ovol, nvol; in wm_adc_vol_put() local
608 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
609 nvol = nvol ? (nvol + ADC_MIN) : 0; in wm_adc_vol_put()
612 if (ovol != nvol) { in wm_adc_vol_put()
613 wm_put(ice, idx, nvol); in wm_adc_vol_put()