Lines Matching defs:info
489 const struct tumbler_mono_vol *info)
498 vol = mix->mono_vol[info->index];
499 if (vol >= info->max)
500 vol = info->max - 1;
501 vol = info->table[vol];
502 for (i = 0; i < info->bytes; i++)
503 block[i] = (vol >> ((info->bytes - i - 1) * 8)) & 0xff;
504 if (i2c_smbus_write_i2c_block_data(mix->i2c.client, info->reg,
505 info->bytes, block) < 0) {
507 info->index);
516 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
521 uinfo->value.integer.max = info->max - 1;
528 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
534 ucontrol->value.integer.value[0] = mix->mono_vol[info->index];
541 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
551 if (vol >= info->max)
553 change = mix->mono_vol[info->index] != vol;
555 mix->mono_vol[info->index] = vol;
556 tumbler_set_mono_volume(mix, info);
607 .info = tumbler_info_mono, \
616 .info = tumbler_info_mono, \
829 .info = snapper_info_mix, \
842 .info = tumbler_info_master_volume,
848 .info = snd_pmac_boolean_stereo_info,
857 .info = tumbler_info_drc_value,
866 .info = tumbler_info_master_volume,
872 .info = snd_pmac_boolean_stereo_info,
884 .info = tumbler_info_drc_value,
890 .info = snapper_info_capture_source,
899 .info = snd_pmac_boolean_mono_info,
907 .info = snd_pmac_boolean_mono_info,
915 .info = snd_pmac_boolean_mono_info,
923 .info = snd_pmac_boolean_mono_info,