| /linux/sound/soc/atmel/ |
| H A D | tse850-pcm5142.c | 58 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_to_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_to_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_to_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_to_dapm(kctrl); in tse850_put_mux2() [all …]
|
| /linux/sound/soc/renesas/ |
| H A D | siu_dai.c | 337 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/sound/hda/codecs/cirrus/ |
| H A D | cs8409.c | 457 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) in cs42l42_volume_info() argument 459 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_info() 460 u8 chs = get_amp_channels(kctrl); in cs42l42_volume_info() 482 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_get() argument 484 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_get() 486 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_get() 487 int chs = get_amp_channels(kctrl); in cs42l42_volume_get() 488 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_get() 541 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_put() argument 543 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_put() [all …]
|
| H A D | cs8409.h | 363 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo); 364 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl); 365 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl);
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | core.c | 1686 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument 1689 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info() 1712 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument 1715 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get() 1727 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument 1730 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put() 1811 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local 1827 list_for_each_entry(kctrl, &card->controls, list) { in rsnd_kctrl_new() 1828 struct rsnd_kctrl_cfg *c = kctrl->private_data; in rsnd_kctrl_new() 1837 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new() [all …]
|
| H A D | rsnd.h | 725 struct snd_kcontrol *kctrl; member
|
| /linux/sound/soc/codecs/ |
| H A D | fs210x.c | 917 static int fs210x_get_drvdata_from_kctrl(struct snd_kcontrol *kctrl, in fs210x_get_drvdata_from_kctrl() argument 922 if (!kctrl) { in fs210x_get_drvdata_from_kctrl() 927 cmpnt = snd_kcontrol_chip(kctrl); in fs210x_get_drvdata_from_kctrl() 1170 const struct snd_kcontrol_new *kctrl; in fs210x_add_mixer_controls() local 1178 kctrl = fs2105s_vol_control; in fs210x_add_mixer_controls() 1181 kctrl = fs210x_vol_control; in fs210x_add_mixer_controls() 1185 ret = snd_soc_add_component_controls(cmpnt, kctrl, count); in fs210x_add_mixer_controls() 1196 kctrl = fs210x_scene_control; in fs210x_add_mixer_controls() 1199 return snd_soc_add_component_controls(cmpnt, kctrl, count); in fs210x_add_mixer_controls()
|
| H A D | ssm2305.c | 20 struct snd_kcontrol *kctrl, int event) in ssm2305_power_event() argument
|
| H A D | cs4234.c | 85 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_kcontrol_chip(kctrl); in cs4234_dac14_grp_delay_put() 110 ret = snd_soc_put_enum_double(kctrl, uctrl); in cs4234_dac14_grp_delay_put()
|
| H A D | tpa6130a2.c | 89 struct snd_kcontrol *kctrl, int event) in tpa6130a2_power_event() argument
|
| /linux/mm/ |
| H A D | highmem.c | 168 struct kmap_ctrl *kctrl = ¤t->kmap_ctrl; in __kmap_to_page() local 180 for (i = 0; i < kctrl->idx; i++) { in __kmap_to_page() 183 pte_t pteval = kctrl->pteval[i]; in __kmap_to_page()
|