Home
last modified time | relevance | path

Searched refs:nvol (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/sound/pci/ice1712/
H A Dwtm.c218 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()
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
364 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put()
366 stac9460_put(ice, reg, (0x0f - nvol) | in stac9460_adc_vol_put()
374 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put()
[all …]
H A Dprodigy_hifi.c315 unsigned char nvol; in wm_set_vol() local
318 nvol = 0; 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()
332 unsigned char nvol; in wm8766_set_vol() local
335 nvol = 0; in wm8766_set_vol()
339 nvol = (nvol ? (nvol + DAC_MIN) : 0) & 0xff; in wm8766_set_vol()
603 unsigned short ovol, nvol; in wm_adc_vol_put() local
609 nvol = nvol ? (nvol + ADC_MIN) : 0; in wm_adc_vol_put()
612 if (ovol != nvol) { in wm_adc_vol_put()
[all …]
H A Daureon.c384 nvol |= ovol & ~0x1F1F; in aureon_ac97_vol_put()
386 change = (ovol != nvol); in aureon_ac97_vol_put()
424 change = (ovol != nvol); in aureon_ac97_mute_put()
461 change = (ovol != nvol); in aureon_ac97_micboost_put()
663 change = (ovol != nvol); in aureon_ac97_mmute_put()
684 unsigned char nvol; in wm_set_vol() local
687 nvol = 0; in wm_set_vol()
691 nvol += 0x1b; in wm_set_vol()
962 if (nvol > PCM_RES) in wm_pcm_vol_put()
965 nvol = (nvol ? (nvol + PCM_MIN) : 0) & 0xff; in wm_pcm_vol_put()
[all …]
H A Dphase.c268 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 …]
H A Dprodigy192.c162 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 stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put()
248 unsigned char ovol, nvol; in stac9460_adc_vol_put() local
253 nvol = ucontrol->value.integer.value[i] & 0x0f; in stac9460_adc_vol_put()
255 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put()
257 stac9460_put(ice, reg, (0x0f - nvol) | (ovol & ~0x0f)); in stac9460_adc_vol_put()
H A Dpontis.c183 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()