/linux-master/sound/soc/mediatek/mt8186/ |
H A D | mt8186-dai-tdm.c | 100 struct snd_kcontrol *kcontrol, 127 struct snd_kcontrol *kcontrol, 272 static int mt8186_tdm_hd_get(struct snd_kcontrol *kcontrol, argument 275 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); 278 int dai_id = get_tdm_id_by_name(kcontrol->id.name); 286 static int mt8186_tdm_hd_set(struct snd_kcontrol *kcontrol, argument 289 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); 292 int dai_id = get_tdm_id_by_name(kcontrol->id.name); 294 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; 302 dev_dbg(afe->dev, "%s(), kcontrol nam 99 mtk_tdm_en_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 126 mtk_tdm_mck_en_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument [all...] |
H A D | mt8186-dai-adda.c | 156 struct snd_kcontrol *kcontrol, 197 struct snd_kcontrol *kcontrol, 219 struct snd_kcontrol *kcontrol, 299 struct snd_kcontrol *kcontrol, 324 static int mt8186_adda_dmic_get(struct snd_kcontrol *kcontrol, argument 327 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); 336 static int mt8186_adda_dmic_set(struct snd_kcontrol *kcontrol, argument 339 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); 346 dev_dbg(afe->dev, "%s(), kcontrol name %s, dmic_on %d\n", 347 __func__, kcontrol 155 mtk_adda_ul_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 196 mtk_adda_pad_top_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 218 mtk_adda_mtkaif_cfg_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 298 mtk_adda_dl_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument [all...] |
/linux-master/drivers/media/pci/solo6x10/ |
H A D | solo6x10-g723.c | 243 static int snd_solo_capture_volume_info(struct snd_kcontrol *kcontrol, argument 255 static int snd_solo_capture_volume_get(struct snd_kcontrol *kcontrol, argument 258 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); 266 static int snd_solo_capture_volume_put(struct snd_kcontrol *kcontrol, argument 269 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol);
|
/linux-master/sound/soc/codecs/ |
H A D | lpass-va-macro.c | 500 struct snd_kcontrol *kcontrol, int event) 515 static int va_macro_put_dec_enum(struct snd_kcontrol *kcontrol, argument 519 snd_soc_dapm_kcontrol_widget(kcontrol); 522 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; 552 return snd_soc_dapm_put_enum_double(kcontrol, ucontrol); 555 static int va_macro_tx_mixer_get(struct snd_kcontrol *kcontrol, argument 559 snd_soc_dapm_kcontrol_widget(kcontrol); 563 (struct soc_mixer_control *)kcontrol->private_value; 576 static int va_macro_tx_mixer_put(struct snd_kcontrol *kcontrol, argument 580 snd_soc_dapm_kcontrol_widget(kcontrol); 499 va_macro_mclk_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 715 va_macro_enable_dmic(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 733 va_macro_enable_dec(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 818 va_macro_dec_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 831 va_macro_dec_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | mt6359.c | 367 static int mt6359_put_volsw(struct snd_kcontrol *kcontrol, argument 371 snd_soc_kcontrol_component(kcontrol); 374 (struct soc_mixer_control *)kcontrol->private_value; 405 ret = snd_soc_put_volsw(kcontrol, ucontrol); 463 __func__, kcontrol->id.name, mc->reg, reg, index); 468 static int mt6359_get_playback_volsw(struct snd_kcontrol *kcontrol, argument 472 snd_soc_kcontrol_component(kcontrol); 475 (struct soc_mixer_control *)kcontrol->private_value; 817 struct snd_kcontrol *kcontrol, 1043 struct snd_kcontrol *kcontrol, 816 mt_sgen_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1042 mt_hp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1072 mt_rcv_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1156 mt_lo_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1267 mt_adc_clk_gen_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1307 mt_dcc_clk_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1342 mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1396 mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1429 mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1480 mt_mtkaif_tx_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1503 mt_ul_src_dmic_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1536 mt_ul_src_34_dmic_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1564 mt_adc_l_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1588 mt_adc_r_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1612 mt_adc_3_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1636 mt_pga_l_mux_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1649 mt_pga_r_mux_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1662 mt_pga_3_mux_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1675 mt_pga_l_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1733 mt_pga_r_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1792 mt_pga_3_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1849 mt_delay_250_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1865 mt_delay_100_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1881 mt_hp_pull_down_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1902 mt_hp_mute_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1925 mt_hp_damp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1945 mt_esd_resist_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 1972 mt_sdm_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 2006 mt_sdm_3rd_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 2036 mt_ncp_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument [all...] |
H A D | pcm6240.c | 598 static int pcmdev_get_volsw(struct snd_kcontrol *kcontrol, argument 601 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 605 (struct pcmdevice_mixer_control *)kcontrol->private_value; 652 static int pcmdevice_get_volsw(struct snd_kcontrol *kcontrol, argument 655 return pcmdev_get_volsw(kcontrol, ucontrol, PCMDEV_GENERIC_VOL_CTRL); 658 static int pcm1690_get_volsw(struct snd_kcontrol *kcontrol, argument 661 return pcmdev_get_volsw(kcontrol, ucontrol, PCMDEV_PCM1690_VOL_CTRL); 664 static int pcm1690_get_finevolsw(struct snd_kcontrol *kcontrol, argument 667 return pcmdev_get_volsw(kcontrol, ucontrol, 671 static int pcmdev_put_volsw(struct snd_kcontrol *kcontrol, argument 714 pcmdevice_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 720 pcm1690_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 726 pcm1690_put_finevolsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1143 pcmdevice_info_profile( struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1160 pcmdevice_get_profile_id( struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1174 pcmdevice_set_profile_id( struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1196 pcmdevice_info_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument [all...] |
H A D | wm9712.c | 215 static int wm9712_hp_mixer_put(struct snd_kcontrol *kcontrol, argument 218 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kcontrol); 223 (struct soc_mixer_control *)kcontrol->private_value; 241 update.kcontrol = kcontrol; 250 snd_soc_dapm_mixer_update_power(dapm, kcontrol, val, 259 static int wm9712_hp_mixer_get(struct snd_kcontrol *kcontrol, argument 262 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kcontrol); 266 (struct soc_mixer_control *)kcontrol->private_value;
|
H A D | da7213.c | 213 static int da7213_volsw_locked_get(struct snd_kcontrol *kcontrol, argument 216 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 221 ret = snd_soc_get_volsw(kcontrol, ucontrol); 227 static int da7213_volsw_locked_put(struct snd_kcontrol *kcontrol, argument 230 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 235 ret = snd_soc_put_volsw(kcontrol, ucontrol); 241 static int da7213_enum_locked_get(struct snd_kcontrol *kcontrol, argument 244 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 249 ret = snd_soc_get_enum_double(kcontrol, ucontrol); 255 static int da7213_enum_locked_put(struct snd_kcontrol *kcontrol, argument 419 da7213_put_mixin_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 435 da7213_put_alc_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 456 da7213_tonegen_freq_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 483 da7213_tonegen_freq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 897 da7213_dai_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument [all...] |
H A D | twl6040.c | 223 struct snd_kcontrol *kcontrol, int event) 250 struct snd_kcontrol *kcontrol, int event) 323 static int twl6040_soc_dapm_put_vibra_enum(struct snd_kcontrol *kcontrol, argument 326 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); 327 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; 335 return snd_soc_dapm_put_enum_double(kcontrol, ucontrol); 472 static int twl6040_headset_power_get_enum(struct snd_kcontrol *kcontrol, argument 475 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 483 static int twl6040_headset_power_put_enum(struct snd_kcontrol *kcontrol, argument 486 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 222 twl6040_hs_dac_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 249 twl6040_ep_drv_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 500 twl6040_pll_get_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 511 twl6040_pll_put_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | 88pm860x-codec.c | 267 static int snd_soc_get_volsw_2r_st(struct snd_kcontrol *kcontrol, argument 271 (struct soc_mixer_control *)kcontrol->private_value; 272 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 291 static int snd_soc_put_volsw_2r_st(struct snd_kcontrol *kcontrol, argument 295 (struct soc_mixer_control *)kcontrol->private_value; 296 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 324 static int snd_soc_get_volsw_2r_out(struct snd_kcontrol *kcontrol, argument 328 (struct soc_mixer_control *)kcontrol->private_value; 329 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); 344 static int snd_soc_put_volsw_2r_out(struct snd_kcontrol *kcontrol, argument 379 pm860x_rsync_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 396 pm860x_dac_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument [all...] |
H A D | tlv320aic32x4.c | 57 struct snd_kcontrol *kcontrol, int event) 79 struct snd_kcontrol *kcontrol, int event) 104 static int aic32x4_get_mfp1_gpio(struct snd_kcontrol *kcontrol, argument 107 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 117 static int aic32x4_set_mfp2_gpio(struct snd_kcontrol *kcontrol, argument 120 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 145 static int aic32x4_get_mfp3_gpio(struct snd_kcontrol *kcontrol, argument 148 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 158 static int aic32x4_set_mfp4_gpio(struct snd_kcontrol *kcontrol, argument 161 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); 56 aic32x4_reset_adc(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 78 mic_bias_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 186 aic32x4_get_mfp5_gpio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 198 aic32x4_set_mfp5_gpio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | cs35l45.c | 89 struct snd_kcontrol *kcontrol, int event) 116 struct snd_kcontrol *kcontrol, int event) 127 return wm_adsp_early_event(w, kcontrol, event); 135 return wm_adsp_event(w, kcontrol, event); 141 ret = wm_adsp_event(w, kcontrol, event); 146 return wm_adsp_early_event(w, kcontrol, event); 153 struct snd_kcontrol *kcontrol, int event) 176 struct snd_kcontrol *kcontrol; local 187 kcontrol = snd_soc_card_get_kcontrol_locked(component->card, name); 188 if (!kcontrol) { 88 cs35l45_global_en_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 115 cs35l45_dsp_preload_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 152 cs35l45_dsp_audio_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 205 cs35l45_amplifier_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 218 cs35l45_amplifier_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | twl4030.c | 560 struct snd_kcontrol *kcontrol, int event) \ 615 struct snd_kcontrol *kcontrol, int event) 631 struct snd_kcontrol *kcontrol, int event) 647 struct snd_kcontrol *kcontrol, int event) 656 struct snd_kcontrol *kcontrol, int event) 672 struct snd_kcontrol *kcontrol, int event) 763 struct snd_kcontrol *kcontrol, int event) 788 struct snd_kcontrol *kcontrol, int event) 813 struct snd_kcontrol *kcontrol, int event) 834 static int snd_soc_get_volsw_twl4030(struct snd_kcontrol *kcontrol, argument 614 handsfreelpga_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 630 handsfreerpga_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 646 vibramux_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 655 apll_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 671 aif_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 762 headsetlpga_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 787 headsetrpga_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 812 digimic_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event) argument 863 snd_soc_put_volsw_twl4030(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 892 snd_soc_get_volsw_r2_twl4030(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 919 snd_soc_put_volsw_r2_twl4030(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 962 snd_soc_put_twl4030_opmode_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/mips/ |
H A D | sgio2audio.c | 143 static int sgio2audio_gain_info(struct snd_kcontrol *kcontrol, argument 146 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); 152 (int)kcontrol->private_value); 156 static int sgio2audio_gain_get(struct snd_kcontrol *kcontrol, argument 159 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); 162 vol = ad1843_get_gain(&chip->ad1843, (int)kcontrol->private_value); 170 static int sgio2audio_gain_put(struct snd_kcontrol *kcontrol, argument 173 struct snd_sgio2audio *chip = snd_kcontrol_chip(kcontrol); 176 oldvol = ad1843_get_gain(&chip->ad1843, kcontrol->private_value); 180 newvol = ad1843_set_gain(&chip->ad1843, kcontrol 186 sgio2audio_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 195 sgio2audio_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 204 sgio2audio_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/hda/ |
H A D | patch_analog.c | 439 static int ad1983_auto_smux_enum_info(struct snd_kcontrol *kcontrol, argument 442 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 449 return snd_hda_enum_helper_info(kcontrol, uinfo, 2, texts2); 451 return snd_hda_enum_helper_info(kcontrol, uinfo, 3, texts3); 456 static int ad1983_auto_smux_enum_get(struct snd_kcontrol *kcontrol, argument 459 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 466 static int ad1983_auto_smux_enum_put(struct snd_kcontrol *kcontrol, argument 469 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 719 static int ad1988_auto_smux_enum_info(struct snd_kcontrol *kcontrol, argument 722 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 734 ad1988_auto_smux_enum_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 744 ad1988_auto_smux_enum_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | patch_via.c | 213 static int via_pin_power_ctl_info(struct snd_kcontrol *kcontrol, argument 216 return snd_hda_enum_bool_helper_info(kcontrol, uinfo); 219 static int via_pin_power_ctl_get(struct snd_kcontrol *kcontrol, argument 222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 229 static int via_pin_power_ctl_put(struct snd_kcontrol *kcontrol, argument 232 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 448 static int vt1708_jack_detect_get(struct snd_kcontrol *kcontrol, argument 451 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 460 static int vt1708_jack_detect_put(struct snd_kcontrol *kcontrol, argument 463 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 872 vt1716s_dmic_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 882 vt1716s_dmic_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 896 vt1716s_dmic_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | patch_ca0132.c | 4244 static int tuning_ctl_get(struct snd_kcontrol *kcontrol, argument 4247 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 4249 hda_nid_t nid = get_amp_nid(kcontrol); 4257 static int voice_focus_ctl_info(struct snd_kcontrol *kcontrol, argument 4260 int chs = get_amp_channels(kcontrol); 4270 static int voice_focus_ctl_put(struct snd_kcontrol *kcontrol, argument 4273 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); 4275 hda_nid_t nid = get_amp_nid(kcontrol); 4292 static int mic_svm_ctl_info(struct snd_kcontrol *kcontrol, argument 4295 int chs = get_amp_channels(kcontrol); 4305 mic_svm_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 4327 equalizer_ctl_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 4340 equalizer_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5532 ca0132_vnode_switch_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5655 ca0132_alt_xbass_xover_slider_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5671 ca0132_alt_slider_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5688 ca0132_alt_xbass_xover_slider_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5700 ca0132_alt_effect_slider_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5714 ca0132_alt_xbass_xover_slider_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5744 ca0132_alt_effect_slider_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5775 ca0132_alt_mic_boost_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5791 ca0132_alt_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5801 ca0132_alt_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5827 ae5_headphone_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5845 ae5_headphone_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5855 ae5_headphone_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5882 ae5_sound_filter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5898 ae5_sound_filter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5908 ae5_sound_filter_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5935 ca0132_alt_input_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 5948 ca0132_alt_input_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5958 ca0132_alt_input_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 5987 ca0132_alt_output_select_get_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6000 ca0132_alt_output_select_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6010 ca0132_alt_output_select_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6036 ca0132_alt_speaker_channel_cfg_get_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6051 ca0132_alt_speaker_channel_cfg_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6061 ca0132_alt_speaker_channel_cfg_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6091 ca0132_alt_svm_setting_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6104 ca0132_alt_svm_setting_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6114 ca0132_alt_svm_setting_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6153 ca0132_alt_eq_preset_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6168 ca0132_alt_eq_preset_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6178 ca0132_alt_eq_preset_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6210 ca0132_voicefx_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6225 ca0132_voicefx_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6235 ca0132_voicefx_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6270 ca0132_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6322 ca0132_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6456 ca0132_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 6494 ca0132_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6515 ca0132_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6562 ca0132_alt_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 6602 ca0132_volume_tlv(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *tlv) argument [all...] |
/linux-master/sound/isa/wss/ |
H A D | wss_lib.c | 1910 static int snd_wss_info_mux(struct snd_kcontrol *kcontrol, argument 1923 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); 1941 static int snd_wss_get_mux(struct snd_kcontrol *kcontrol, argument 1944 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); 1954 static int snd_wss_put_mux(struct snd_kcontrol *kcontrol, argument 1957 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); 1978 int snd_wss_info_single(struct snd_kcontrol *kcontrol, argument 1981 int mask = (kcontrol->private_value >> 16) & 0xff; 1991 int snd_wss_get_single(struct snd_kcontrol *kcontrol, argument 1994 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); 2010 snd_wss_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2035 snd_wss_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 2048 snd_wss_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2072 snd_wss_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/include/sound/ |
H A D | soc.h | 40 * Convenience kcontrol builders 583 int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol, 585 int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol, 587 int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, 589 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, 591 int snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol, 594 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, 596 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, 600 int snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol, 602 int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, 1348 snd_soc_kcontrol_component( struct snd_kcontrol *kcontrol) argument [all...] |
/linux-master/sound/sparc/ |
H A D | cs4231.c | 1266 static int snd_cs4231_info_mux(struct snd_kcontrol *kcontrol, argument 1276 static int snd_cs4231_get_mux(struct snd_kcontrol *kcontrol, argument 1279 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); 1292 static int snd_cs4231_put_mux(struct snd_kcontrol *kcontrol, argument 1295 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); 1320 static int snd_cs4231_info_single(struct snd_kcontrol *kcontrol, argument 1323 int mask = (kcontrol->private_value >> 16) & 0xff; 1334 static int snd_cs4231_get_single(struct snd_kcontrol *kcontrol, argument 1337 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); 1339 int reg = kcontrol 1357 snd_cs4231_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1385 snd_cs4231_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1399 snd_cs4231_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1430 snd_cs4231_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/korg1212/ |
H A D | korg1212.c | 1689 static int snd_korg1212_control_phase_info(struct snd_kcontrol *kcontrol, argument 1693 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; 1697 static int snd_korg1212_control_phase_get(struct snd_kcontrol *kcontrol, argument 1700 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); 1701 int i = kcontrol->private_value; 1715 static int snd_korg1212_control_phase_put(struct snd_kcontrol *kcontrol, argument 1718 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); 1724 i = kcontrol->private_value; 1728 val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value]; 1739 val = korg1212->sharedBufferPtr->volumeData[kcontrol 1753 snd_korg1212_control_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1763 snd_korg1212_control_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1782 snd_korg1212_control_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1821 snd_korg1212_control_route_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1829 snd_korg1212_control_route_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1848 snd_korg1212_control_route_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1879 snd_korg1212_control_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1889 snd_korg1212_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1904 snd_korg1212_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u) argument 1933 snd_korg1212_control_sync_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) argument 1939 snd_korg1212_control_sync_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1952 snd_korg1212_control_sync_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/ |
H A D | bt87x.c | 537 static int snd_bt87x_capture_volume_info(struct snd_kcontrol *kcontrol, argument 547 static int snd_bt87x_capture_volume_get(struct snd_kcontrol *kcontrol, argument 550 struct snd_bt87x *chip = snd_kcontrol_chip(kcontrol); 556 static int snd_bt87x_capture_volume_put(struct snd_kcontrol *kcontrol, argument 559 struct snd_bt87x *chip = snd_kcontrol_chip(kcontrol); 583 static int snd_bt87x_capture_boost_get(struct snd_kcontrol *kcontrol, argument 586 struct snd_bt87x *chip = snd_kcontrol_chip(kcontrol); 592 static int snd_bt87x_capture_boost_put(struct snd_kcontrol *kcontrol, argument 595 struct snd_bt87x *chip = snd_kcontrol_chip(kcontrol); 617 static int snd_bt87x_capture_source_info(struct snd_kcontrol *kcontrol, argument 625 snd_bt87x_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *value) argument 634 snd_bt87x_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *value) argument [all...] |
/linux-master/sound/soc/img/ |
H A D | img-spdif-out.c | 111 static int img_spdif_out_info(struct snd_kcontrol *kcontrol, argument 120 static int img_spdif_out_get_status_mask(struct snd_kcontrol *kcontrol, argument 132 static int img_spdif_out_get_status(struct snd_kcontrol *kcontrol, argument 135 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); 158 static int img_spdif_out_set_status(struct snd_kcontrol *kcontrol, argument 161 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol);
|
/linux-master/sound/pci/ice1712/ |
H A D | psc724.c | 258 static int psc724_ctl_get(struct snd_kcontrol *kcontrol, argument 261 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); 262 int n = kcontrol->private_value; 269 static int psc724_ctl_put(struct snd_kcontrol *kcontrol, argument 272 struct snd_ice1712 *ice = snd_kcontrol_chip(kcontrol); 273 int n = kcontrol->private_value;
|
/linux-master/sound/soc/tegra/ |
H A D | tegra210_amx.c | 189 static int tegra210_amx_get_byte_map(struct snd_kcontrol *kcontrol, argument 192 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); 194 (struct soc_mixer_control *)kcontrol->private_value; 223 static int tegra210_amx_put_byte_map(struct snd_kcontrol *kcontrol, argument 227 (struct soc_mixer_control *)kcontrol->private_value; 228 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
|