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()
444 int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_range() argument
448 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_info_volsw_range()
474 int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw_range() argument
478 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_range()
479 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_volsw_range()
526 int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw_range() argument
529 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_volsw_range()
531 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_range()
596 int snd_soc_bytes_info(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info() argument
599 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_info()
600 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_info()
609 int snd_soc_bytes_get(struct snd_kcontrol *kcontrol, in snd_soc_bytes_get() argument
612 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_get()
613 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_get()
646 int snd_soc_bytes_put(struct snd_kcontrol *kcontrol, in snd_soc_bytes_put() argument
649 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_bytes_put()
650 struct soc_bytes *params = (void *)kcontrol->private_value; in snd_soc_bytes_put()
729 int snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, in snd_soc_bytes_info_ext() argument
732 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_info_ext()
741 int snd_soc_bytes_tlv_callback(struct snd_kcontrol *kcontrol, int op_flag, in snd_soc_bytes_tlv_callback() argument
744 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in snd_soc_bytes_tlv_callback()
751 ret = params->get(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
755 ret = params->put(kcontrol, tlv, count); in snd_soc_bytes_tlv_callback()
773 int snd_soc_info_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_xr_sx() argument
777 (struct soc_mreg_control *)kcontrol->private_value; in snd_soc_info_xr_sx()
800 int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, in snd_soc_get_xr_sx() argument
803 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_xr_sx()
805 (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()
886 int snd_soc_get_strobe(struct snd_kcontrol *kcontrol, in snd_soc_get_strobe() argument
889 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_get_strobe()
891 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_strobe()
919 int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, in snd_soc_put_strobe() argument
922 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in snd_soc_put_strobe()
924 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_strobe()