Lines Matching refs:kcontrol

40 int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol,  in snd_soc_info_enum_double()  argument
43 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double()
59 int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_get_enum_double() argument
62 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_enum_double()
63 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_get_enum_double()
90 int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_put_enum_double() argument
93 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_enum_double()
94 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_put_enum_double()
175 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw() argument
179 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw()
186 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_soc_info_volsw()
210 int snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_sx() argument
214 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx()
216 snd_soc_info_volsw(kcontrol, uinfo); in snd_soc_info_volsw_sx()
236 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw() argument
239 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw()
241 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw()
296 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw() argument
299 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw()
301 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw()
378 int snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_sx() argument
381 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_sx()
383 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_sx()
415 int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_sx() argument
418 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_sx()
420 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_sx()
476 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_range() argument
480 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
506 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_range() argument
510 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
511 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_range()
579 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_range() argument
582 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_range()
584 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
650 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info() argument
653 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_info()
654 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_info()
663 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument
666 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_get()
667 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_get()
700 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument
703 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_put()
704 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_put()
783 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info_ext() argument
786 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_info_ext()
795 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag, in snd_soc_bytes_tlv_callback() argument
798 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_tlv_callback()
805 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
809 ret = params->put(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
827 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_xr_sx() argument
831 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
854 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_xr_sx() argument
857 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_xr_sx()
859 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
900 int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_xr_sx() argument
903 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_xr_sx()
905 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
944 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol, in snd_soc_get_strobe() argument
947 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_strobe()
949 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_strobe()
977 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, in snd_soc_put_strobe() argument
980 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_strobe()
982 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_strobe()