Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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-6.6.21/sound/pci/hda/
Dpatch_cs8409.c459 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) in cs42l42_volume_info() argument
461 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_info()
462 u8 chs = get_amp_channels(kctrl); in cs42l42_volume_info()
484 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_get() argument
486 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_get()
488 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_get()
489 int chs = get_amp_channels(kctrl); in cs42l42_volume_get()
490 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_get()
543 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_put() argument
545 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_put()
[all …]
Dpatch_cs8409.h352 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo);
353 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl);
354 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl);
/linux-6.6.21/sound/soc/sh/rcar/
Dcore.c1704 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
1707 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info()
1730 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
1733 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get()
1745 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1748 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1843 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local
1859 list_for_each_entry(kctrl, &card->controls, list) { in rsnd_kctrl_new()
1860 struct rsnd_kctrl_cfg *c = kctrl->private_data; in rsnd_kctrl_new()
1869 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
[all …]
Drsnd.h738 struct snd_kcontrol *kctrl; member
/linux-6.6.21/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
/linux-6.6.21/mm/
Dhighmem.c157 struct kmap_ctrl *kctrl = &current->kmap_ctrl; in __kmap_to_page() local
169 for (i = 0; i < kctrl->idx; i++) { in __kmap_to_page()
177 return pte_page(kctrl->pteval[i]); in __kmap_to_page()