Lines Matching refs:value

312 static int snd_es1688_trigger(struct snd_es1688 *chip, int cmd, unsigned char value)  in snd_es1688_trigger()  argument
317 value = 0x00; in snd_es1688_trigger()
322 chip->trigger_value = value; in snd_es1688_trigger()
324 if ((val < 0) || (val & 0x0f) == value) { in snd_es1688_trigger()
329 printk(KERN_DEBUG "trigger: val = 0x%x, value = 0x%x\n", val, value); in snd_es1688_trigger()
333 snd_es1688_write(chip, 0xb8, (val & 0xf0) | value); in snd_es1688_trigger()
731 ucontrol->value.enumerated.item[0] = snd_es1688_mixer_read(chip, ES1688_REC_DEV) & 7; in snd_es1688_get_mux()
742 if (ucontrol->value.enumerated.item[0] > 8) in snd_es1688_put_mux()
746 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); in snd_es1688_put_mux()
766 uinfo->value.integer.min = 0; in snd_es1688_info_single()
767 uinfo->value.integer.max = mask; in snd_es1688_info_single()
781 ucontrol->value.integer.value[0] = (snd_es1688_mixer_read(chip, reg) >> shift) & mask; in snd_es1688_get_single()
784 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1688_get_single()
799 nval = (ucontrol->value.integer.value[0] & mask); in snd_es1688_put_single()
825 uinfo->value.integer.min = 0; in snd_es1688_info_double()
826 uinfo->value.integer.max = mask; in snd_es1688_info_double()
855 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1688_get_double()
856 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1688_get_double()
858 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1688_get_double()
859 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_es1688_get_double()
877 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1688_put_double()
878 val2 = ucontrol->value.integer.value[1] & mask; in snd_es1688_put_double()