Home
last modified time | relevance | path

Searched refs:kctrl (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/sound/soc/atmel/
Dtse850-pcm5142.c66 static int tse850_get_mux1(struct snd_kcontrol *kctrl, in tse850_get_mux1() argument
69 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1()
78 static int tse850_put_mux1(struct snd_kcontrol *kctrl, in tse850_put_mux1() argument
81 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1()
84 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux1()
93 return snd_soc_dapm_put_enum_double(kctrl, ucontrol); in tse850_put_mux1()
96 static int tse850_get_mux2(struct snd_kcontrol *kctrl, in tse850_get_mux2() argument
99 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2()
108 static int tse850_put_mux2(struct snd_kcontrol *kctrl, in tse850_put_mux2() argument
111 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2()
[all …]
/Linux-v4.19/sound/soc/sh/
Dsiu_dai.c337 static int siu_dai_info_volume(struct snd_kcontrol *kctrl, in siu_dai_info_volume() argument
340 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_info_volume()
352 static int siu_dai_get_volume(struct snd_kcontrol *kctrl, in siu_dai_get_volume() argument
355 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_get_volume()
361 switch (kctrl->private_value) { in siu_dai_get_volume()
376 __func__, kctrl->private_value); in siu_dai_get_volume()
383 static int siu_dai_put_volume(struct snd_kcontrol *kctrl, in siu_dai_put_volume() argument
386 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_put_volume()
405 switch (kctrl->private_value) { in siu_dai_put_volume()
420 __func__, kctrl->private_value); in siu_dai_put_volume()
[all …]
/Linux-v4.19/sound/soc/sh/rcar/
Dcore.c1203 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
1206 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info()
1229 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
1232 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get()
1244 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1247 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1335 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local
1349 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
1350 if (!kctrl) in rsnd_kctrl_new()
1353 ret = snd_ctl_add(card, kctrl); in rsnd_kctrl_new()
[all …]
Drsnd.h636 struct snd_kcontrol *kctrl; member
/Linux-v4.19/sound/soc/codecs/
Dssm2305.c20 struct snd_kcontrol *kctrl, int event) in ssm2305_power_event() argument
Dtpa6130a2.c107 struct snd_kcontrol *kctrl, int event) in tpa6130a2_power_event() argument