Lines Matching refs:info
485 const struct tumbler_mono_vol *info)
494 vol = mix->mono_vol[info->index];
495 if (vol >= info->max)
496 vol = info->max - 1;
497 vol = info->table[vol];
498 for (i = 0; i < info->bytes; i++)
499 block[i] = (vol >> ((info->bytes - i - 1) * 8)) & 0xff;
500 if (i2c_smbus_write_i2c_block_data(mix->i2c.client, info->reg,
501 info->bytes, block) < 0) {
503 info->index);
512 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
517 uinfo->value.integer.max = info->max - 1;
524 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
529 ucontrol->value.integer.value[0] = mix->mono_vol[info->index];
536 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value;
545 if (vol >= info->max)
547 change = mix->mono_vol[info->index] != vol;
549 mix->mono_vol[info->index] = vol;
550 tumbler_set_mono_volume(mix, info);
601 .info = tumbler_info_mono, \
610 .info = tumbler_info_mono, \
819 .info = snapper_info_mix, \
832 .info = tumbler_info_master_volume,
838 .info = snd_pmac_boolean_stereo_info,
847 .info = tumbler_info_drc_value,
856 .info = tumbler_info_master_volume,
862 .info = snd_pmac_boolean_stereo_info,
874 .info = tumbler_info_drc_value,
880 .info = snapper_info_capture_source,
889 .info = snd_pmac_boolean_mono_info,
897 .info = snd_pmac_boolean_mono_info,
905 .info = snd_pmac_boolean_mono_info,
913 .info = snd_pmac_boolean_mono_info,