Lines Matching defs:kcontrol

31  * @kcontrol: mixer control
39 int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol,
42 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
51 * @kcontrol: mixer control
58 int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol,
61 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
62 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
82 * @kcontrol: mixer control
89 int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol,
92 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
93 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
166 * @kcontrol: mixer control
174 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol,
178 (struct soc_mixer_control *)kcontrol->private_value;
188 vol_string = strstr(kcontrol->id.name, " Volume");
207 * @kcontrol: mixer control
218 int snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol,
222 (struct soc_mixer_control *)kcontrol->private_value;
230 if (max == 1 && !strstr(kcontrol->id.name, " Volume"))
245 * @kcontrol: mixer control
253 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol,
256 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
258 (struct soc_mixer_control *)kcontrol->private_value;
305 * @kcontrol: mixer control
313 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol,
316 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
318 (struct soc_mixer_control *)kcontrol->private_value;
387 * @kcontrol: mixer control
395 int snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol,
398 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
400 (struct soc_mixer_control *)kcontrol->private_value;
425 * @kcontrol: mixer control
432 int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol,
435 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
437 (struct soc_mixer_control *)kcontrol->private_value;
492 * @kcontrol: mixer control
500 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol,
504 (struct soc_mixer_control *)kcontrol->private_value;
523 * @kcontrol: mixer control
530 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol,
534 (struct soc_mixer_control *)kcontrol->private_value;
535 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
596 * @kcontrol: mixer control
603 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol,
606 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
608 (struct soc_mixer_control *)kcontrol->private_value;
673 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol,
676 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
677 struct soc_bytes *params = (void *)kcontrol->private_value;
686 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol,
689 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
690 struct soc_bytes *params = (void *)kcontrol->private_value;
723 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol,
726 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
727 struct soc_bytes *params = (void *)kcontrol->private_value;
806 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol,
809 struct soc_bytes_ext *params = (void *)kcontrol->private_value;
818 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag,
821 struct soc_bytes_ext *params = (void *)kcontrol->private_value;
828 ret = params->get(kcontrol, tlv, count);
832 ret = params->put(kcontrol, tlv, count);
841 * @kcontrol: mreg control
850 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol,
854 (struct soc_mreg_control *)kcontrol->private_value;
866 * @kcontrol: mreg control
877 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol,
880 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
882 (struct soc_mreg_control *)kcontrol->private_value;
911 * @kcontrol: mreg control
922 int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol,
925 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
927 (struct soc_mreg_control *)kcontrol->private_value;
961 * @kcontrol: mixer control
968 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol,
971 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
973 (struct soc_mixer_control *)kcontrol->private_value;
993 * @kcontrol: mixer control
1001 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol,
1004 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol);
1006 (struct soc_mixer_control *)kcontrol->private_value;