Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/
H A Dvia82xx.c236 #define VIA_DXS_MAX_VOLUME 31 /* max. volume (attenuation) of reg 0x32/33 */ macro
1251 VIA_DXS_MAX_VOLUME - (dxs_init_volume & 31); in snd_via8233_playback_open()
1253 VIA_DXS_MAX_VOLUME - (dxs_init_volume & 31); in snd_via8233_playback_open()
1676 uinfo->value.integer.max = VIA_DXS_MAX_VOLUME; in snd_via8233_dxs_volume_info()
1686 ucontrol->value.integer.value[0] = VIA_DXS_MAX_VOLUME - chip->playback_volume[idx][0]; in snd_via8233_dxs_volume_get()
1687 ucontrol->value.integer.value[1] = VIA_DXS_MAX_VOLUME - chip->playback_volume[idx][1]; in snd_via8233_dxs_volume_get()
1695 ucontrol->value.integer.value[0] = VIA_DXS_MAX_VOLUME - chip->playback_volume_c[0]; in snd_via8233_pcmdxs_volume_get()
1696 ucontrol->value.integer.value[1] = VIA_DXS_MAX_VOLUME - chip->playback_volume_c[1]; in snd_via8233_pcmdxs_volume_get()
1711 if (val > VIA_DXS_MAX_VOLUME) in snd_via8233_dxs_volume_put()
1712 val = VIA_DXS_MAX_VOLUME; in snd_via8233_dxs_volume_put()
[all …]