Lines Matching refs:ucontrol

962 				  struct snd_ctl_elem_value *ucontrol);
964 struct snd_ctl_elem_value *ucontrol);
1096 struct snd_ctl_elem_value *ucontrol) in sync_auto_mute_bits() argument
1104 ucontrol->value.integer.value[0] &= enabled; in sync_auto_mute_bits()
1105 ucontrol->value.integer.value[1] &= enabled; in sync_auto_mute_bits()
1110 struct snd_ctl_elem_value *ucontrol) in hda_gen_mixer_mute_put() argument
1112 sync_auto_mute_bits(kcontrol, ucontrol); in hda_gen_mixer_mute_put()
1113 return snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); in hda_gen_mixer_mute_put()
1117 struct snd_ctl_elem_value *ucontrol) in hda_gen_bind_mute_put() argument
1119 sync_auto_mute_bits(kcontrol, ucontrol); in hda_gen_bind_mute_put()
1120 return snd_hda_mixer_bind_switch_put(kcontrol, ucontrol); in hda_gen_bind_mute_put()
2187 struct snd_ctl_elem_value *ucontrol) in indep_hp_get() argument
2191 ucontrol->value.enumerated.item[0] = spec->indep_hp_enabled; in indep_hp_get()
2200 struct snd_ctl_elem_value *ucontrol) in indep_hp_put() argument
2204 unsigned int select = ucontrol->value.enumerated.item[0]; in indep_hp_put()
2302 struct snd_ctl_elem_value *ucontrol) in ch_mode_get() argument
2306 ucontrol->value.enumerated.item[0] = in ch_mode_get()
2360 struct snd_ctl_elem_value *ucontrol) in ch_mode_put() argument
2366 ch = ucontrol->value.enumerated.item[0]; in ch_mode_put()
2407 struct snd_ctl_elem_value *ucontrol) in loopback_mixing_get() argument
2411 ucontrol->value.enumerated.item[0] = spec->aamix_mode; in loopback_mixing_get()
2462 struct snd_ctl_elem_value *ucontrol) in loopback_mixing_put() argument
2467 unsigned int val = ucontrol->value.enumerated.item[0]; in loopback_mixing_put()
2634 struct snd_ctl_elem_value *ucontrol) in out_jack_mode_get() argument
2639 ucontrol->value.enumerated.item[0] = 1; in out_jack_mode_get()
2641 ucontrol->value.enumerated.item[0] = 0; in out_jack_mode_get()
2646 struct snd_ctl_elem_value *ucontrol) in out_jack_mode_put() argument
2652 val = ucontrol->value.enumerated.item[0] ? PIN_HP : PIN_OUT; in out_jack_mode_put()
2796 struct snd_ctl_elem_value *ucontrol) in in_jack_mode_get() argument
2804 ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); in in_jack_mode_get()
2809 struct snd_ctl_elem_value *ucontrol) in in_jack_mode_put() argument
2818 if (idx == ucontrol->value.enumerated.item[0]) in in_jack_mode_put()
2822 val |= get_vref_idx(vref_caps, ucontrol->value.enumerated.item[0]); in in_jack_mode_put()
2929 struct snd_ctl_elem_value *ucontrol) in hp_mic_jack_mode_get() argument
2933 ucontrol->value.enumerated.item[0] = in hp_mic_jack_mode_get()
2939 struct snd_ctl_elem_value *ucontrol) in hp_mic_jack_mode_put() argument
2948 idx = ucontrol->value.enumerated.item[0]; in hp_mic_jack_mode_put()
3388 struct snd_ctl_elem_value *ucontrol) in mux_enum_get() argument
3393 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_get()
3395 ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; in mux_enum_get()
3400 struct snd_ctl_elem_value *ucontrol) in mux_enum_put() argument
3403 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_put()
3405 ucontrol->value.enumerated.item[0]); in mux_enum_put()
3421 struct snd_ctl_elem_value *ucontrol);
3425 struct snd_ctl_elem_value *ucontrol, in cap_put_caller() argument
3442 err = func(kcontrol, ucontrol); in cap_put_caller()
3448 spec->cap_sync_hook(codec, kcontrol, ucontrol); in cap_put_caller()
3458 struct snd_ctl_elem_value *ucontrol) in cap_vol_put() argument
3460 return cap_put_caller(kcontrol, ucontrol, in cap_vol_put()
3482 struct snd_ctl_elem_value *ucontrol) in cap_sw_put() argument
3484 return cap_put_caller(kcontrol, ucontrol, in cap_sw_put()
3558 struct snd_ctl_elem_value *ucontrol) in cap_single_sw_put() argument
3564 ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); in cap_single_sw_put()
3569 spec->cap_sync_hook(codec, kcontrol, ucontrol); in cap_single_sw_put()
4497 struct snd_ctl_elem_value *ucontrol) in automute_mode_get() argument
4507 ucontrol->value.enumerated.item[0] = val; in automute_mode_get()
4512 struct snd_ctl_elem_value *ucontrol) in automute_mode_put() argument
4517 switch (ucontrol->value.enumerated.item[0]) { in automute_mode_put()