Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/
Dsonicvibes.c630 int vol, oleft, oright, mleft, mright; in snd_sonicvibes_interrupt() local
638 oright = mright = snd_sonicvibes_in1(sonic, SV_IREG_RIGHT_ANALOG); in snd_sonicvibes_interrupt()
640 oright &= 0x1f; in snd_sonicvibes_interrupt()
646 oright += vol; in snd_sonicvibes_interrupt()
647 if (oright < 0) in snd_sonicvibes_interrupt()
648 oright = 0; in snd_sonicvibes_interrupt()
649 if (oright > 0x1f) in snd_sonicvibes_interrupt()
650 oright = 0x1f; in snd_sonicvibes_interrupt()
656 oright |= mright & 0x80; in snd_sonicvibes_interrupt()
658 snd_sonicvibes_out1(sonic, SV_IREG_RIGHT_ANALOG, oright); in snd_sonicvibes_interrupt()
Dcmipci.c2043 int left, right, oleft, oright; in snd_cmipci_put_volume() local
2064 oright = snd_cmipci_mixer_read(cm, reg.right_reg); in snd_cmipci_put_volume()
2066 oright = left; in snd_cmipci_put_volume()
2067 right |= oright & ~(reg.mask << reg.right_shift); in snd_cmipci_put_volume()
2068 change |= right != oright; in snd_cmipci_put_volume()
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb_mixer.c138 unsigned char left, right, oleft, oright; in snd_sbmixer_put_double() local
151 oright = snd_sbmixer_read(sb, right_reg); in snd_sbmixer_put_double()
153 right = (oright & ~(mask << right_shift)) | right; in snd_sbmixer_put_double()
154 change = left != oleft || right != oright; in snd_sbmixer_put_double()