Lines Matching refs:nvol
282 unsigned char nvol; in wm_set_vol() local
285 nvol = 0; in wm_set_vol()
287 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()
290 wm_put(ice, index, nvol); in wm_set_vol()
291 wm_put_nocache(ice, index, 0x180 | nvol); in wm_set_vol()
667 unsigned short ovol, nvol; in wm_pcm_vol_put() local
670 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
671 if (nvol > PCM_RES) in wm_pcm_vol_put()
674 nvol = (nvol ? (nvol + PCM_MIN) : 0) & 0xff; in wm_pcm_vol_put()
676 if (ovol != nvol) { in wm_pcm_vol_put()
677 wm_put(ice, WM_DAC_DIG_MASTER_ATTEN, nvol); /* prelatch */ in wm_pcm_vol_put()
679 wm_put_nocache(ice, WM_DAC_DIG_MASTER_ATTEN, nvol | 0x100); in wm_pcm_vol_put()