Lines Matching defs:kcontrol
4245 static int tuning_ctl_get(struct snd_kcontrol *kcontrol,
4248 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4250 hda_nid_t nid = get_amp_nid(kcontrol);
4258 static int voice_focus_ctl_info(struct snd_kcontrol *kcontrol,
4261 int chs = get_amp_channels(kcontrol);
4271 static int voice_focus_ctl_put(struct snd_kcontrol *kcontrol,
4274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4276 hda_nid_t nid = get_amp_nid(kcontrol);
4293 static int mic_svm_ctl_info(struct snd_kcontrol *kcontrol,
4296 int chs = get_amp_channels(kcontrol);
4306 static int mic_svm_ctl_put(struct snd_kcontrol *kcontrol,
4309 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4311 hda_nid_t nid = get_amp_nid(kcontrol);
4328 static int equalizer_ctl_info(struct snd_kcontrol *kcontrol,
4331 int chs = get_amp_channels(kcontrol);
4341 static int equalizer_ctl_put(struct snd_kcontrol *kcontrol,
4344 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4346 hda_nid_t nid = get_amp_nid(kcontrol);
5533 static int ca0132_vnode_switch_set(struct snd_kcontrol *kcontrol,
5536 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5537 hda_nid_t nid = get_amp_nid(kcontrol);
5580 int dir = get_amp_direction(kcontrol);
5581 int ch = get_amp_channels(kcontrol);
5585 pval = kcontrol->private_value;
5586 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(shared_nid, ch,
5588 ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol);
5589 kcontrol->private_value = pval;
5656 static int ca0132_alt_xbass_xover_slider_ctl_get(struct snd_kcontrol *kcontrol,
5659 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5662 hda_nid_t nid = get_amp_nid(kcontrol);
5672 static int ca0132_alt_slider_ctl_get(struct snd_kcontrol *kcontrol,
5675 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5677 hda_nid_t nid = get_amp_nid(kcontrol);
5689 static int ca0132_alt_xbass_xover_slider_info(struct snd_kcontrol *kcontrol,
5701 static int ca0132_alt_effect_slider_info(struct snd_kcontrol *kcontrol,
5704 int chs = get_amp_channels(kcontrol);
5715 static int ca0132_alt_xbass_xover_slider_put(struct snd_kcontrol *kcontrol,
5718 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5720 hda_nid_t nid = get_amp_nid(kcontrol);
5745 static int ca0132_alt_effect_slider_put(struct snd_kcontrol *kcontrol,
5748 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5750 hda_nid_t nid = get_amp_nid(kcontrol);
5776 static int ca0132_alt_mic_boost_info(struct snd_kcontrol *kcontrol,
5792 static int ca0132_alt_mic_boost_get(struct snd_kcontrol *kcontrol,
5795 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5802 static int ca0132_alt_mic_boost_put(struct snd_kcontrol *kcontrol,
5805 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5828 static int ae5_headphone_gain_info(struct snd_kcontrol *kcontrol,
5846 static int ae5_headphone_gain_get(struct snd_kcontrol *kcontrol,
5849 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5856 static int ae5_headphone_gain_put(struct snd_kcontrol *kcontrol,
5859 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5883 static int ae5_sound_filter_info(struct snd_kcontrol *kcontrol,
5899 static int ae5_sound_filter_get(struct snd_kcontrol *kcontrol,
5902 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5909 static int ae5_sound_filter_put(struct snd_kcontrol *kcontrol,
5912 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5936 static int ca0132_alt_input_source_info(struct snd_kcontrol *kcontrol,
5949 static int ca0132_alt_input_source_get(struct snd_kcontrol *kcontrol,
5952 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5959 static int ca0132_alt_input_source_put(struct snd_kcontrol *kcontrol,
5962 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5988 static int ca0132_alt_output_select_get_info(struct snd_kcontrol *kcontrol,
6001 static int ca0132_alt_output_select_get(struct snd_kcontrol *kcontrol,
6004 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6011 static int ca0132_alt_output_select_put(struct snd_kcontrol *kcontrol,
6014 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6037 static int ca0132_alt_speaker_channel_cfg_get_info(struct snd_kcontrol *kcontrol,
6052 static int ca0132_alt_speaker_channel_cfg_get(struct snd_kcontrol *kcontrol,
6055 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6062 static int ca0132_alt_speaker_channel_cfg_put(struct snd_kcontrol *kcontrol,
6065 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6092 static int ca0132_alt_svm_setting_info(struct snd_kcontrol *kcontrol,
6105 static int ca0132_alt_svm_setting_get(struct snd_kcontrol *kcontrol,
6108 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6115 static int ca0132_alt_svm_setting_put(struct snd_kcontrol *kcontrol,
6118 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6154 static int ca0132_alt_eq_preset_info(struct snd_kcontrol *kcontrol,
6169 static int ca0132_alt_eq_preset_get(struct snd_kcontrol *kcontrol,
6172 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6179 static int ca0132_alt_eq_preset_put(struct snd_kcontrol *kcontrol,
6182 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6211 static int ca0132_voicefx_info(struct snd_kcontrol *kcontrol,
6226 static int ca0132_voicefx_get(struct snd_kcontrol *kcontrol,
6229 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6236 static int ca0132_voicefx_put(struct snd_kcontrol *kcontrol,
6239 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6271 static int ca0132_switch_get(struct snd_kcontrol *kcontrol,
6274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6276 hda_nid_t nid = get_amp_nid(kcontrol);
6277 int ch = get_amp_channels(kcontrol);
6323 static int ca0132_switch_put(struct snd_kcontrol *kcontrol,
6326 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6328 hda_nid_t nid = get_amp_nid(kcontrol);
6329 int ch = get_amp_channels(kcontrol);
6347 changed = ca0132_vnode_switch_set(kcontrol, ucontrol);
6457 static int ca0132_volume_info(struct snd_kcontrol *kcontrol,
6460 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6462 hda_nid_t nid = get_amp_nid(kcontrol);
6463 int ch = get_amp_channels(kcontrol);
6464 int dir = get_amp_direction(kcontrol);
6473 pval = kcontrol->private_value;
6474 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6475 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6476 kcontrol->private_value = pval;
6483 pval = kcontrol->private_value;
6484 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6485 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6486 kcontrol->private_value = pval;
6490 err = snd_hda_mixer_amp_volume_info(kcontrol, uinfo);
6495 static int ca0132_volume_get(struct snd_kcontrol *kcontrol,
6498 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6500 hda_nid_t nid = get_amp_nid(kcontrol);
6501 int ch = get_amp_channels(kcontrol);
6516 static int ca0132_volume_put(struct snd_kcontrol *kcontrol,
6519 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6521 hda_nid_t nid = get_amp_nid(kcontrol);
6522 int ch = get_amp_channels(kcontrol);
6541 int dir = get_amp_direction(kcontrol);
6546 pval = kcontrol->private_value;
6547 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(shared_nid, ch,
6549 changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol);
6550 kcontrol->private_value = pval;
6563 static int ca0132_alt_volume_put(struct snd_kcontrol *kcontrol,
6566 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6568 hda_nid_t nid = get_amp_nid(kcontrol);
6569 int ch = get_amp_channels(kcontrol);
6596 changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol);
6603 static int ca0132_volume_tlv(struct snd_kcontrol *kcontrol, int op_flag,
6606 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
6608 hda_nid_t nid = get_amp_nid(kcontrol);
6609 int ch = get_amp_channels(kcontrol);
6610 int dir = get_amp_direction(kcontrol);
6619 pval = kcontrol->private_value;
6620 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6621 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
6622 kcontrol->private_value = pval;
6629 pval = kcontrol->private_value;
6630 kcontrol->private_value = HDA_COMPOSE_AMP_VAL(nid, ch, 0, dir);
6631 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);
6632 kcontrol->private_value = pval;
6636 err = snd_hda_mixer_amp_tlv(kcontrol, op_flag, size, tlv);