Searched refs:nvol (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/sound/pci/ice1712/ |
D | wtm.c | 218 unsigned char tmp, ovol, nvol; in stac9460_dac_vol_put() local 223 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put() 226 change = (ovol != nvol); in stac9460_dac_vol_put() 228 stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put() 229 stac9460_2_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put() 234 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put() 240 change = (ovol != nvol); in stac9460_dac_vol_put() 243 stac9460_put(ice, idx, (0x7f - nvol) | in stac9460_dac_vol_put() 246 stac9460_2_put(ice, idx-6, (0x7f - nvol) | in stac9460_dac_vol_put() 355 unsigned char ovol, nvol; in stac9460_adc_vol_put() local [all …]
|
D | prodigy_hifi.c | 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() [all …]
|
D | aureon.c | 375 unsigned short ovol, nvol; in aureon_ac97_vol_put() local 381 nvol = (0x1F - ucontrol->value.integer.value[0]) & 0x001F; in aureon_ac97_vol_put() 383 nvol |= ((0x1F - ucontrol->value.integer.value[1]) << 8) & 0x1F00; in aureon_ac97_vol_put() 384 nvol |= ovol & ~0x1F1F; in aureon_ac97_vol_put() 386 change = (ovol != nvol); in aureon_ac97_vol_put() 388 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_vol_put() 416 unsigned short ovol, nvol; in aureon_ac97_mute_put() local 422 nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x8000) | (ovol & ~0x8000); in aureon_ac97_mute_put() 424 change = (ovol != nvol); in aureon_ac97_mute_put() 426 aureon_ac97_write(ice, kcontrol->private_value & 0x7F, nvol); in aureon_ac97_mute_put() [all …]
|
D | phase.c | 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() [all …]
|
D | prodigy192.c | 162 unsigned char tmp, ovol, nvol; in stac9460_dac_vol_put() local 169 nvol = ucontrol->value.integer.value[0]; in stac9460_dac_vol_put() 172 change = (ovol != nvol); in stac9460_dac_vol_put() 174 ovol = (0x7f - nvol) | (tmp & 0x80); in stac9460_dac_vol_put() 179 stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put() 253 unsigned char ovol, nvol; in stac9460_adc_vol_put() local 258 nvol = ucontrol->value.integer.value[i] & 0x0f; in stac9460_adc_vol_put() 260 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put() 262 stac9460_put(ice, reg, (0x0f - nvol) | (ovol & ~0x0f)); in stac9460_adc_vol_put()
|
D | pontis.c | 183 unsigned short ovol, nvol; in wm_adc_vol_put() local 188 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put() 189 nvol = nvol ? (nvol + ADC_MIN) : 0; in wm_adc_vol_put() 192 if (ovol != nvol) { in wm_adc_vol_put() 193 wm_put(ice, idx, nvol); in wm_adc_vol_put()
|