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()
358 int snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_sx() argument
361 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_sx()
363 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_sx()
395 int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_sx() argument
398 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_sx()
400 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_sx()
442 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_range() argument
446 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
472 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_range() argument
476 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
477 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_range()
524 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_range() argument
527 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_range()
529 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
595 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info() argument
598 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_info()
599 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_info()
608 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument
611 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_get()
612 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_get()
645 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument
648 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_put()
649 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_put()
728 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info_ext() argument
731 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_info_ext()
740 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag, in snd_soc_bytes_tlv_callback() argument
743 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_tlv_callback()
750 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
754 ret = params->put(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
772 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_xr_sx() argument
776 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
799 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_xr_sx() argument
802 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_xr_sx()
804 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
845 int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_xr_sx() argument
848 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_xr_sx()
850 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
887 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol, in snd_soc_get_strobe() argument
890 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_strobe()
892 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_strobe()
920 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, in snd_soc_put_strobe() argument
923 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_strobe()
925 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_strobe()