Searched refs:volL (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/sound/pci/ |
H A D | cs4281.c | 988 int volL, volR; in snd_cs4281_get_volume() local 990 volL = CS_VOL_MASK - (snd_cs4281_peekBA0(chip, regL) & CS_VOL_MASK); in snd_cs4281_get_volume() 993 ucontrol->value.integer.value[0] = volL; in snd_cs4281_get_volume() 1005 int volL, volR; in snd_cs4281_put_volume() local 1007 volL = CS_VOL_MASK - (snd_cs4281_peekBA0(chip, regL) & CS_VOL_MASK); in snd_cs4281_put_volume() 1010 if (ucontrol->value.integer.value[0] != volL) { in snd_cs4281_put_volume() 1011 volL = CS_VOL_MASK - (ucontrol->value.integer.value[0] & CS_VOL_MASK); in snd_cs4281_put_volume() 1012 snd_cs4281_pokeBA0(chip, regL, volL); in snd_cs4281_put_volume()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | cs4281.c | 987 int volL, volR; in snd_cs4281_get_volume() local 989 volL = CS_VOL_MASK - (snd_cs4281_peekBA0(chip, regL) & CS_VOL_MASK); in snd_cs4281_get_volume() 992 ucontrol->value.integer.value[0] = volL; in snd_cs4281_get_volume() 1004 int volL, volR; in snd_cs4281_put_volume() local 1006 volL = CS_VOL_MASK - (snd_cs4281_peekBA0(chip, regL) & CS_VOL_MASK); in snd_cs4281_put_volume() 1009 if (ucontrol->value.integer.value[0] != volL) { in snd_cs4281_put_volume() 1010 volL = CS_VOL_MASK - (ucontrol->value.integer.value[0] & CS_VOL_MASK); in snd_cs4281_put_volume() 1011 snd_cs4281_pokeBA0(chip, regL, volL); in snd_cs4281_put_volume()
|
Completed in 7 milliseconds