Lines Matching refs:ucontrol

964 				  struct snd_ctl_elem_value *ucontrol);
966 struct snd_ctl_elem_value *ucontrol);
1098 struct snd_ctl_elem_value *ucontrol) in sync_auto_mute_bits() argument
1106 ucontrol->value.integer.value[0] &= enabled; in sync_auto_mute_bits()
1107 ucontrol->value.integer.value[1] &= enabled; in sync_auto_mute_bits()
1112 struct snd_ctl_elem_value *ucontrol) in hda_gen_mixer_mute_put() argument
1114 sync_auto_mute_bits(kcontrol, ucontrol); in hda_gen_mixer_mute_put()
1115 return snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); in hda_gen_mixer_mute_put()
1119 struct snd_ctl_elem_value *ucontrol) in hda_gen_bind_mute_put() argument
1121 sync_auto_mute_bits(kcontrol, ucontrol); in hda_gen_bind_mute_put()
1122 return snd_hda_mixer_bind_switch_put(kcontrol, ucontrol); in hda_gen_bind_mute_put()
2189 struct snd_ctl_elem_value *ucontrol) in indep_hp_get() argument
2193 ucontrol->value.enumerated.item[0] = spec->indep_hp_enabled; in indep_hp_get()
2202 struct snd_ctl_elem_value *ucontrol) in indep_hp_put() argument
2206 unsigned int select = ucontrol->value.enumerated.item[0]; in indep_hp_put()
2304 struct snd_ctl_elem_value *ucontrol) in ch_mode_get() argument
2308 ucontrol->value.enumerated.item[0] = in ch_mode_get()
2362 struct snd_ctl_elem_value *ucontrol) in ch_mode_put() argument
2368 ch = ucontrol->value.enumerated.item[0]; in ch_mode_put()
2409 struct snd_ctl_elem_value *ucontrol) in loopback_mixing_get() argument
2413 ucontrol->value.enumerated.item[0] = spec->aamix_mode; in loopback_mixing_get()
2464 struct snd_ctl_elem_value *ucontrol) in loopback_mixing_put() argument
2469 unsigned int val = ucontrol->value.enumerated.item[0]; in loopback_mixing_put()
2636 struct snd_ctl_elem_value *ucontrol) in out_jack_mode_get() argument
2641 ucontrol->value.enumerated.item[0] = 1; in out_jack_mode_get()
2643 ucontrol->value.enumerated.item[0] = 0; in out_jack_mode_get()
2648 struct snd_ctl_elem_value *ucontrol) in out_jack_mode_put() argument
2654 val = ucontrol->value.enumerated.item[0] ? PIN_HP : PIN_OUT; in out_jack_mode_put()
2798 struct snd_ctl_elem_value *ucontrol) in in_jack_mode_get() argument
2806 ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); in in_jack_mode_get()
2811 struct snd_ctl_elem_value *ucontrol) in in_jack_mode_put() argument
2820 if (idx == ucontrol->value.enumerated.item[0]) in in_jack_mode_put()
2824 val |= get_vref_idx(vref_caps, ucontrol->value.enumerated.item[0]); in in_jack_mode_put()
2931 struct snd_ctl_elem_value *ucontrol) in hp_mic_jack_mode_get() argument
2935 ucontrol->value.enumerated.item[0] = in hp_mic_jack_mode_get()
2941 struct snd_ctl_elem_value *ucontrol) in hp_mic_jack_mode_put() argument
2950 idx = ucontrol->value.enumerated.item[0]; in hp_mic_jack_mode_put()
3390 struct snd_ctl_elem_value *ucontrol) in mux_enum_get() argument
3395 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_get()
3397 ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; in mux_enum_get()
3402 struct snd_ctl_elem_value *ucontrol) in mux_enum_put() argument
3405 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in mux_enum_put()
3407 ucontrol->value.enumerated.item[0]); in mux_enum_put()
3423 struct snd_ctl_elem_value *ucontrol);
3427 struct snd_ctl_elem_value *ucontrol, in cap_put_caller() argument
3444 err = func(kcontrol, ucontrol); in cap_put_caller()
3450 spec->cap_sync_hook(codec, kcontrol, ucontrol); in cap_put_caller()
3460 struct snd_ctl_elem_value *ucontrol) in cap_vol_put() argument
3462 return cap_put_caller(kcontrol, ucontrol, in cap_vol_put()
3484 struct snd_ctl_elem_value *ucontrol) in cap_sw_put() argument
3486 return cap_put_caller(kcontrol, ucontrol, in cap_sw_put()
3560 struct snd_ctl_elem_value *ucontrol) in cap_single_sw_put() argument
3566 ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); in cap_single_sw_put()
3571 spec->cap_sync_hook(codec, kcontrol, ucontrol); in cap_single_sw_put()
4499 struct snd_ctl_elem_value *ucontrol) in automute_mode_get() argument
4509 ucontrol->value.enumerated.item[0] = val; in automute_mode_get()
4514 struct snd_ctl_elem_value *ucontrol) in automute_mode_put() argument
4519 switch (ucontrol->value.enumerated.item[0]) { in automute_mode_put()