Lines Matching refs:value
184 static void __snd_opl3sa2_write(struct snd_opl3sa2 *chip, unsigned char reg, unsigned char value) in __snd_opl3sa2_write() argument
190 outb(value, chip->port + 1); in __snd_opl3sa2_write()
191 chip->ctlregs[reg] = value; in __snd_opl3sa2_write()
195 static void snd_opl3sa2_write(struct snd_opl3sa2 *chip, unsigned char reg, unsigned char value) in snd_opl3sa2_write() argument
199 __snd_opl3sa2_write(chip, reg, value); in snd_opl3sa2_write()
349 ucontrol->value.integer.value[0] = (chip->ctlregs[reg] >> shift) & mask; in snd_opl3sa2_get_single()
352 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_opl3sa2_get_single()
367 val = (ucontrol->value.integer.value[0] & mask); in snd_opl3sa2_put_single()
406 ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; in snd_opl3sa2_get_double()
407 ucontrol->value.integer.value[1] = (chip->ctlregs[right_reg] >> shift_right) & mask; in snd_opl3sa2_get_double()
410 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_opl3sa2_get_double()
411 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_opl3sa2_get_double()
429 val1 = ucontrol->value.integer.value[0] & mask; in snd_opl3sa2_put_double()
430 val2 = ucontrol->value.integer.value[1] & mask; in snd_opl3sa2_put_double()