Lines Matching defs:kcontrol

4125 static int tuning_ctl_get(struct snd_kcontrol *kcontrol,
4128 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4130 hda_nid_t nid = get_amp_nid(kcontrol);
4138 static int voice_focus_ctl_info(struct snd_kcontrol *kcontrol,
4141 int chs = get_amp_channels(kcontrol);
4151 static int voice_focus_ctl_put(struct snd_kcontrol *kcontrol,
4154 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4156 hda_nid_t nid = get_amp_nid(kcontrol);
4173 static int mic_svm_ctl_info(struct snd_kcontrol *kcontrol,
4176 int chs = get_amp_channels(kcontrol);
4186 static int mic_svm_ctl_put(struct snd_kcontrol *kcontrol,
4189 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4191 hda_nid_t nid = get_amp_nid(kcontrol);
4208 static int equalizer_ctl_info(struct snd_kcontrol *kcontrol,
4211 int chs = get_amp_channels(kcontrol);
4221 static int equalizer_ctl_put(struct snd_kcontrol *kcontrol,
4224 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4226 hda_nid_t nid = get_amp_nid(kcontrol);
5413 static int ca0132_vnode_switch_set(struct snd_kcontrol *kcontrol,
5416 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5417 hda_nid_t nid = get_amp_nid(kcontrol);
5460 int dir = get_amp_direction(kcontrol);
5461 int ch = get_amp_channels(kcontrol);
5465 pval = kcontrol->private_value;
5466 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(shared_nid, ch,
5468 ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol);
5469 kcontrol->private_value = pval;
5536 static int ca0132_alt_xbass_xover_slider_ctl_get(struct snd_kcontrol *kcontrol,
5539 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5542 hda_nid_t nid = get_amp_nid(kcontrol);
5552 static int ca0132_alt_slider_ctl_get(struct snd_kcontrol *kcontrol,
5555 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5557 hda_nid_t nid = get_amp_nid(kcontrol);
5569 static int ca0132_alt_xbass_xover_slider_info(struct snd_kcontrol *kcontrol,
5581 static int ca0132_alt_effect_slider_info(struct snd_kcontrol *kcontrol,
5584 int chs = get_amp_channels(kcontrol);
5595 static int ca0132_alt_xbass_xover_slider_put(struct snd_kcontrol *kcontrol,
5598 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5600 hda_nid_t nid = get_amp_nid(kcontrol);
5625 static int ca0132_alt_effect_slider_put(struct snd_kcontrol *kcontrol,
5628 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5630 hda_nid_t nid = get_amp_nid(kcontrol);
5656 static int ca0132_alt_mic_boost_info(struct snd_kcontrol *kcontrol,
5672 static int ca0132_alt_mic_boost_get(struct snd_kcontrol *kcontrol,
5675 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5682 static int ca0132_alt_mic_boost_put(struct snd_kcontrol *kcontrol,
5685 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5708 static int ae5_headphone_gain_info(struct snd_kcontrol *kcontrol,
5726 static int ae5_headphone_gain_get(struct snd_kcontrol *kcontrol,
5729 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5736 static int ae5_headphone_gain_put(struct snd_kcontrol *kcontrol,
5739 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5763 static int ae5_sound_filter_info(struct snd_kcontrol *kcontrol,
5779 static int ae5_sound_filter_get(struct snd_kcontrol *kcontrol,
5782 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5789 static int ae5_sound_filter_put(struct snd_kcontrol *kcontrol,
5792 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5816 static int ca0132_alt_input_source_info(struct snd_kcontrol *kcontrol,
5829 static int ca0132_alt_input_source_get(struct snd_kcontrol *kcontrol,
5832 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5839 static int ca0132_alt_input_source_put(struct snd_kcontrol *kcontrol,
5842 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5868 static int ca0132_alt_output_select_get_info(struct snd_kcontrol *kcontrol,
5881 static int ca0132_alt_output_select_get(struct snd_kcontrol *kcontrol,
5884 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5891 static int ca0132_alt_output_select_put(struct snd_kcontrol *kcontrol,
5894 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5917 static int ca0132_alt_speaker_channel_cfg_get_info(struct snd_kcontrol *kcontrol,
5932 static int ca0132_alt_speaker_channel_cfg_get(struct snd_kcontrol *kcontrol,
5935 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5942 static int ca0132_alt_speaker_channel_cfg_put(struct snd_kcontrol *kcontrol,
5945 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5972 static int ca0132_alt_svm_setting_info(struct snd_kcontrol *kcontrol,
5985 static int ca0132_alt_svm_setting_get(struct snd_kcontrol *kcontrol,
5988 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5995 static int ca0132_alt_svm_setting_put(struct snd_kcontrol *kcontrol,
5998 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6034 static int ca0132_alt_eq_preset_info(struct snd_kcontrol *kcontrol,
6049 static int ca0132_alt_eq_preset_get(struct snd_kcontrol *kcontrol,
6052 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6059 static int ca0132_alt_eq_preset_put(struct snd_kcontrol *kcontrol,
6062 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6091 static int ca0132_voicefx_info(struct snd_kcontrol *kcontrol,
6106 static int ca0132_voicefx_get(struct snd_kcontrol *kcontrol,
6109 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6116 static int ca0132_voicefx_put(struct snd_kcontrol *kcontrol,
6119 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6151 static int ca0132_switch_get(struct snd_kcontrol *kcontrol,
6154 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6156 hda_nid_t nid = get_amp_nid(kcontrol);
6157 int ch = get_amp_channels(kcontrol);
6203 static int ca0132_switch_put(struct snd_kcontrol *kcontrol,
6206 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6208 hda_nid_t nid = get_amp_nid(kcontrol);
6209 int ch = get_amp_channels(kcontrol);
6227 changed = ca0132_vnode_switch_set(kcontrol, ucontrol);
6337 static int ca0132_volume_info(struct snd_kcontrol *kcontrol,
6340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6342 hda_nid_t nid = get_amp_nid(kcontrol);
6343 int ch = get_amp_channels(kcontrol);
6344 int dir = get_amp_direction(kcontrol);
6353 pval = kcontrol->private_value;
6354 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6355 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6356 kcontrol->private_value = pval;
6363 pval = kcontrol->private_value;
6364 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6365 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6366 kcontrol->private_value = pval;
6370 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6375 static int ca0132_volume_get(struct snd_kcontrol *kcontrol,
6378 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6380 hda_nid_t nid = get_amp_nid(kcontrol);
6381 int ch = get_amp_channels(kcontrol);
6396 static int ca0132_volume_put(struct snd_kcontrol *kcontrol,
6399 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6401 hda_nid_t nid = get_amp_nid(kcontrol);
6402 int ch = get_amp_channels(kcontrol);
6421 int dir = get_amp_direction(kcontrol);
6426 pval = kcontrol->private_value;
6427 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(shared_nid, ch,
6429 changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol);
6430 kcontrol->private_value = pval;
6443 static int ca0132_alt_volume_put(struct snd_kcontrol *kcontrol,
6446 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6448 hda_nid_t nid = get_amp_nid(kcontrol);
6449 int ch = get_amp_channels(kcontrol);
6476 changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol);
6483 static int ca0132_volume_tlv(struct snd_kcontrol *kcontrol, int op_flag,
6486 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6488 hda_nid_t nid = get_amp_nid(kcontrol);
6489 int ch = get_amp_channels(kcontrol);
6490 int dir = get_amp_direction(kcontrol);
6499 pval = kcontrol->private_value;
6500 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6501 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
6502 kcontrol->private_value = pval;
6509 pval = kcontrol->private_value;
6510 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6511 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
6512 kcontrol->private_value = pval;
6516 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);