Lines Matching defs:value
128 /* ignore the error value if ignore_ctl_error flag is set */
299 * retrieve a mixer value
334 "cannot get ctl value: req = %#x, wValue = %#x, wIndex = %#x, type = %d\n",
376 "cannot get ctl value: req = %#x, wValue = %#x, wIndex = %#x, type = %d\n",
417 int validx, int *value)
419 return get_ctl_value(cval, UAC_GET_CUR, validx, value);
424 int channel, int *value)
428 value);
432 int channel, int index, int *value)
437 *value = cval->cache_val[index];
440 err = get_cur_mix_raw(cval, channel, value);
444 "cannot get current value for control %d ch %d: err = %d\n",
449 cval->cache_val[index] = *value;
454 * set a mixer value
504 usb_audio_dbg(chip, "cannot set ctl value: req = %#x, wValue = %#x, wIndex = %#x, type = %d, data = %#x/%#x\n",
514 int validx, int value)
516 return snd_usb_mixer_set_ctl_value(cval, UAC_SET_CUR, validx, value);
520 int index, int value)
536 value);
540 cval->cache_val[index] = value;
1151 * I hope that the min value is -15360 for newer firmware --jk
1217 /* forcibly initialize the current mixer value; if GET_CUR fails, set to
1229 "%d:%d: failed to get current value for ch %d (%d)\n",
1294 * to the lower aligned value.
1387 uinfo->value.integer.min = 0;
1388 uinfo->value.integer.max = 1;
1401 uinfo->value.integer.min = 0;
1402 uinfo->value.integer.max =
1408 /* get the current value from feature/mixer unit */
1415 ucontrol->value.integer.value[0] = cval->min;
1425 ucontrol->value.integer.value[cnt] = val;
1435 ucontrol->value.integer.value[0] = val;
1440 /* put the current value to feature/mixer unit */
1456 val = ucontrol->value.integer.value[cnt];
1469 val = ucontrol->value.integer.value[0];
1479 /* get the boolean value from the master channel of a UAC control */
1490 ucontrol->value.integer.value[0] = val;
1559 ucontrol->value.integer.value[0] = val;
1581 * A control which shows the boolean value from reading a UAC control on
1868 /* get connector value to "wake up" the USB audio */
2307 ucontrol->value.integer.value[0] = cval->min;
2311 ucontrol->value.integer.value[0] = val;
2325 val = ucontrol->value.integer.value[0];
2669 ucontrol->value.enumerated.item[0] = 0;
2673 ucontrol->value.enumerated.item[0] = val;
2687 val = ucontrol->value.enumerated.item[0];
3345 /* invalidate cache, so the value is read from the device */
3405 int attribute, int value, int index)
3409 __u8 control = (value >> 8) & 0xff;
3410 __u8 channel = value & 0xff;
3442 /* invalidate cache, so the value is read from the device */