Lines Matching refs:nvol
268 unsigned char nvol; in wm_set_vol() local
271 nvol = 0; in wm_set_vol()
273 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()
276 wm_put(ice, index, nvol); in wm_set_vol()
277 wm_put_nocache(ice, index, 0x180 | nvol); in wm_set_vol()
653 unsigned short ovol, nvol; in wm_pcm_vol_put() local
656 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
657 if (nvol > PCM_RES) in wm_pcm_vol_put()
660 nvol = (nvol ? (nvol + PCM_MIN) : 0) & 0xff; in wm_pcm_vol_put()
662 if (ovol != nvol) { in wm_pcm_vol_put()
663 wm_put(ice, WM_DAC_DIG_MASTER_ATTEN, nvol); /* prelatch */ in wm_pcm_vol_put()
665 wm_put_nocache(ice, WM_DAC_DIG_MASTER_ATTEN, nvol | 0x100); in wm_pcm_vol_put()