Home
last modified time | relevance | path

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

/sound/soc/atmel/
Dtse850-pcm5142.c60 static int tse850_get_mux1(struct snd_kcontrol *kctrl, in tse850_get_mux1() argument
63 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1()
72 static int tse850_put_mux1(struct snd_kcontrol *kctrl, in tse850_put_mux1() argument
75 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1()
78 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux1()
87 return snd_soc_dapm_put_enum_double(kctrl, ucontrol); in tse850_put_mux1()
90 static int tse850_get_mux2(struct snd_kcontrol *kctrl, in tse850_get_mux2() argument
93 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2()
102 static int tse850_put_mux2(struct snd_kcontrol *kctrl, in tse850_put_mux2() argument
105 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2()
[all …]
/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 …]
/sound/pci/hda/
Dpatch_cs8409.c426 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) in cs42l42_volume_info() argument
428 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_info()
429 u8 chs = get_amp_channels(kctrl); in cs42l42_volume_info()
451 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_get() argument
453 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_get()
455 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_get()
456 int chs = get_amp_channels(kctrl); in cs42l42_volume_get()
457 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_get()
510 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_put() argument
512 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_put()
[all …]
Dpatch_cs8409.h348 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo);
349 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl);
350 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl);
/sound/soc/sh/rcar/
Dcore.c1626 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
1629 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info()
1652 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
1655 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get()
1667 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1670 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1765 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local
1781 list_for_each_entry(kctrl, &card->controls, list) { in rsnd_kctrl_new()
1782 struct rsnd_kctrl_cfg *c = kctrl->private_data; in rsnd_kctrl_new()
1791 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
[all …]
Drsnd.h725 struct snd_kcontrol *kctrl; member
/sound/soc/codecs/
Dssm2305.c20 struct snd_kcontrol *kctrl, int event) in ssm2305_power_event() argument
Dcs4234.c85 static int cs4234_dac14_grp_delay_put(struct snd_kcontrol *kctrl, in cs4234_dac14_grp_delay_put() argument
88 struct snd_soc_component *component = snd_soc_kcontrol_component(kctrl); in cs4234_dac14_grp_delay_put()
110 ret = snd_soc_put_enum_double(kctrl, uctrl); in cs4234_dac14_grp_delay_put()
Dtpa6130a2.c94 struct snd_kcontrol *kctrl, int event) in tpa6130a2_power_event() argument