Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/atmel/
Dtse850-pcm5142.c58 static int tse850_get_mux1(struct snd_kcontrol *kctrl, in tse850_get_mux1() argument
61 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1()
70 static int tse850_put_mux1(struct snd_kcontrol *kctrl, in tse850_put_mux1() argument
73 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1()
76 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux1()
85 return snd_soc_dapm_put_enum_double(kctrl, ucontrol); in tse850_put_mux1()
88 static int tse850_get_mux2(struct snd_kcontrol *kctrl, in tse850_get_mux2() argument
91 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2()
100 static int tse850_put_mux2(struct snd_kcontrol *kctrl, in tse850_put_mux2() argument
103 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2()
[all …]
/linux-6.12.1/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.12.1/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.12.1/sound/soc/sh/rcar/
Dcore.c1690 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
1693 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info()
1716 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
1719 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get()
1731 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1734 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1829 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local
1845 list_for_each_entry(kctrl, &card->controls, list) { in rsnd_kctrl_new()
1846 struct rsnd_kctrl_cfg *c = kctrl->private_data; in rsnd_kctrl_new()
1855 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
[all …]
Drsnd.h725 struct snd_kcontrol *kctrl; member
/linux-6.12.1/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.12.1/mm/
Dhighmem.c168 struct kmap_ctrl *kctrl = &current->kmap_ctrl; in __kmap_to_page() local
180 for (i = 0; i < kctrl->idx; i++) { in __kmap_to_page()
188 return pte_page(kctrl->pteval[i]); in __kmap_to_page()