Lines Matching refs:kcontrol
19 struct snd_kcontrol *kcontrol, in update_mute_led() argument
26 mask = 1U << snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in update_mute_led()
68 int snd_sof_volume_get(struct snd_kcontrol *kcontrol, in snd_sof_volume_get() argument
72 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get()
86 int snd_sof_volume_put(struct snd_kcontrol *kcontrol, in snd_sof_volume_put() argument
90 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put()
117 int snd_sof_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sof_volume_info() argument
119 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info()
128 if (platform_max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_sof_volume_info()
139 int snd_sof_switch_get(struct snd_kcontrol *kcontrol, in snd_sof_switch_get() argument
143 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get()
155 int snd_sof_switch_put(struct snd_kcontrol *kcontrol, in snd_sof_switch_put() argument
159 (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_put()
176 update_mute_led(scontrol, kcontrol, ucontrol); in snd_sof_switch_put()
189 int snd_sof_enum_get(struct snd_kcontrol *kcontrol, in snd_sof_enum_get() argument
193 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_get()
205 int snd_sof_enum_put(struct snd_kcontrol *kcontrol, in snd_sof_enum_put() argument
209 (struct soc_enum *)kcontrol->private_value; in snd_sof_enum_put()
236 int snd_sof_bytes_get(struct snd_kcontrol *kcontrol, in snd_sof_bytes_get() argument
240 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_get()
270 int snd_sof_bytes_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_put() argument
274 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_put()
312 int snd_sof_bytes_ext_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_ext_put() argument
317 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_put()
392 int snd_sof_bytes_ext_volatile_get(struct snd_kcontrol *kcontrol, unsigned int __user *binary_data, in snd_sof_bytes_ext_volatile_get() argument
395 struct soc_bytes_ext *be = (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_volatile_get()
464 int snd_sof_bytes_ext_get(struct snd_kcontrol *kcontrol, in snd_sof_bytes_ext_get() argument
469 (struct soc_bytes_ext *)kcontrol->private_value; in snd_sof_bytes_ext_get()