Lines Matching refs:kcontrol

117  * @kcontrol: control pointer
126 static int tas2781_digital_getvol(struct snd_kcontrol *kcontrol,
129 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
132 (struct soc_mixer_control *)kcontrol->private_value;
137 static int tas2781_digital_putvol(struct snd_kcontrol *kcontrol,
140 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
143 (struct soc_mixer_control *)kcontrol->private_value;
148 static int tas2781_amp_getvol(struct snd_kcontrol *kcontrol,
151 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
154 (struct soc_mixer_control *)kcontrol->private_value;
159 static int tas2781_amp_putvol(struct snd_kcontrol *kcontrol,
162 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
166 (struct soc_mixer_control *)kcontrol->private_value;
171 static int tasdev_force_fwload_get(struct snd_kcontrol *kcontrol,
175 snd_soc_kcontrol_component(kcontrol);
186 static int tasdev_force_fwload_put(struct snd_kcontrol *kcontrol,
190 snd_soc_kcontrol_component(kcontrol);
207 static int tasdev_cali_data_get(struct snd_kcontrol *kcontrol,
210 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
213 (struct soc_bytes_ext *) kcontrol->private_value;
417 static int tas2781_calib_start_put(struct snd_kcontrol *kcontrol,
420 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
423 (struct soc_bytes_ext *) kcontrol->private_value;
485 static int tas2563_calib_start_put(struct snd_kcontrol *kcontrol,
489 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
553 static int tasdev_calib_stop_put(struct snd_kcontrol *kcontrol,
556 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
568 static int tasdev_cali_data_put(struct snd_kcontrol *kcontrol,
571 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
574 (struct soc_bytes_ext *) kcontrol->private_value;
611 static int tas2781_latch_reg_get(struct snd_kcontrol *kcontrol,
614 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
618 (struct soc_bytes_ext *) kcontrol->private_value;
644 static int tasdev_tf_data_get(struct snd_kcontrol *kcontrol,
647 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
650 (struct soc_bytes_ext *) kcontrol->private_value;
664 static int tasdev_re_data_get(struct snd_kcontrol *kcontrol,
667 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
670 (struct soc_bytes_ext *) kcontrol->private_value;
683 static int tasdev_r0_data_get(struct snd_kcontrol *kcontrol,
686 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
690 (struct soc_bytes_ext *) kcontrol->private_value;
706 static int tasdev_XMA1_data_get(struct snd_kcontrol *kcontrol,
709 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
712 (struct soc_bytes_ext *) kcontrol->private_value;
721 static int tasdev_XMA2_data_get(struct snd_kcontrol *kcontrol,
724 struct snd_soc_component *comp = snd_soc_kcontrol_component(kcontrol);
727 (struct soc_bytes_ext *) kcontrol->private_value;
737 struct snd_kcontrol *kcontrol,
744 struct snd_kcontrol *kcontrol,
748 (struct soc_mixer_control *)kcontrol->private_value;
749 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
788 struct snd_kcontrol *kcontrol,
792 (struct soc_mixer_control *)kcontrol->private_value;
793 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
878 static int tasdevice_set_profile_id(struct snd_kcontrol *kcontrol,
881 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
895 static int tasdevice_info_active_num(struct snd_kcontrol *kcontrol,
898 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
909 static int tasdevice_info_chip_id(struct snd_kcontrol *kcontrol,
920 static int tasdevice_info_programs(struct snd_kcontrol *kcontrol,
923 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
936 struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
939 snd_soc_kcontrol_component(kcontrol);
951 static int tasdevice_info_profile(struct snd_kcontrol *kcontrol,
954 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
965 static int tasdevice_get_profile_id(struct snd_kcontrol *kcontrol,
968 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
976 static int tasdevice_get_chip_id(struct snd_kcontrol *kcontrol,
979 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1022 static int tasdevice_program_get(struct snd_kcontrol *kcontrol,
1025 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1033 static int tasdevice_program_put(struct snd_kcontrol *kcontrol,
1036 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1049 static int tasdevice_configuration_get(struct snd_kcontrol *kcontrol,
1053 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1062 struct snd_kcontrol *kcontrol,
1065 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1078 static int tasdevice_active_num_get(struct snd_kcontrol *kcontrol,
1081 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1097 static int tasdevice_active_num_put(struct snd_kcontrol *kcontrol,
1100 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol);
1120 /* Alloc kcontrol via devm_kzalloc, which don't manually
1121 * free the kcontrol
1243 * Alloc kcontrol via devm_kzalloc(), which don't manually
1244 * free the kcontrol
1367 * If no dsp-related kcontrol created, the dsp resource will be freed.
1408 /* If DSP FW fail, DSP kcontrol won't be created. */
1417 struct snd_kcontrol *kcontrol, int event)