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()
93 int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_put_enum_double() argument
96 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_enum_double()
97 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_put_enum_double()
181 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw() argument
185 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw()
192 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_soc_info_volsw()
216 int snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_sx() argument
220 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_sx()
222 snd_soc_info_volsw(kcontrol, uinfo); in snd_soc_info_volsw_sx()
242 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw() argument
245 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw()
247 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw()
302 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw() argument
305 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw()
307 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw()
364 int snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_sx() argument
367 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_sx()
369 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_sx()
408 int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_sx() argument
411 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_sx()
413 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_sx()
455 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_range() argument
459 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
485 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_range() argument
489 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
490 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_range()
537 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_range() argument
540 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_range()
542 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
622 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info() argument
625 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_info()
626 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_info()
635 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument
638 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_get()
639 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_get()
672 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument
675 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_put()
676 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_put()
755 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info_ext() argument
758 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_info_ext()
767 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag, in snd_soc_bytes_tlv_callback() argument
770 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_tlv_callback()
777 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
781 ret = params->put(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
799 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_xr_sx() argument
803 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
826 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_xr_sx() argument
829 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_xr_sx()
831 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_get_xr_sx()
875 int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_put_xr_sx() argument
878 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_xr_sx()
880 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_put_xr_sx()
917 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol, in snd_soc_get_strobe() argument
920 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_strobe()
922 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_strobe()
954 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, in snd_soc_put_strobe() argument
957 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_strobe()
959 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_strobe()