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()
483 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_range() argument
487 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
513 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_range() argument
517 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
518 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_range()
586 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_range() argument
589 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_range()
591 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
656 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info() argument
659 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_info()
660 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_info()
669 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument
672 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_get()
673 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_get()
706 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument
709 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_put()
710 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_put()
789 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info_ext() argument
792 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_info_ext()
801 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag, in snd_soc_bytes_tlv_callback() argument
804 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_tlv_callback()
811 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
815 ret = params->put(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
833 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_xr_sx() argument
837 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
860 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_xr_sx() argument
863 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_xr_sx()
865 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
905 int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_xr_sx() argument
908 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_xr_sx()
910 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
951 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol, in snd_soc_get_strobe() argument
954 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_strobe()
956 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_strobe()
984 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, in snd_soc_put_strobe() argument
987 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_strobe()
989 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_strobe()