Lines Matching refs:kcontrol
254 static int da7219_volsw_locked_get(struct snd_kcontrol *kcontrol, in da7219_volsw_locked_get() argument
257 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_get()
262 ret = snd_soc_get_volsw(kcontrol, ucontrol); in da7219_volsw_locked_get()
268 static int da7219_volsw_locked_put(struct snd_kcontrol *kcontrol, in da7219_volsw_locked_put() argument
271 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_volsw_locked_put()
276 ret = snd_soc_put_volsw(kcontrol, ucontrol); in da7219_volsw_locked_put()
282 static int da7219_enum_locked_get(struct snd_kcontrol *kcontrol, in da7219_enum_locked_get() argument
285 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_get()
290 ret = snd_soc_get_enum_double(kcontrol, ucontrol); in da7219_enum_locked_get()
296 static int da7219_enum_locked_put(struct snd_kcontrol *kcontrol, in da7219_enum_locked_put() argument
299 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_enum_locked_put()
304 ret = snd_soc_put_enum_double(kcontrol, ucontrol); in da7219_enum_locked_put()
376 static int da7219_mixin_gain_put(struct snd_kcontrol *kcontrol, in da7219_mixin_gain_put() argument
379 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_mixin_gain_put()
383 ret = snd_soc_put_volsw(kcontrol, ucontrol); in da7219_mixin_gain_put()
395 static int da7219_alc_sw_put(struct snd_kcontrol *kcontrol, in da7219_alc_sw_put() argument
398 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_alc_sw_put()
410 return snd_soc_put_volsw(kcontrol, ucontrol); in da7219_alc_sw_put()
414 static int da7219_tonegen_freq_get(struct snd_kcontrol *kcontrol, in da7219_tonegen_freq_get() argument
417 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_get()
420 (struct soc_mixer_control *) kcontrol->private_value; in da7219_tonegen_freq_get()
441 static int da7219_tonegen_freq_put(struct snd_kcontrol *kcontrol, in da7219_tonegen_freq_put() argument
444 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in da7219_tonegen_freq_put()
447 (struct soc_mixer_control *) kcontrol->private_value; in da7219_tonegen_freq_put()
768 struct snd_kcontrol *kcontrol, int event) in da7219_dai_event() argument