Lines Matching refs:ucontrol
457 struct snd_ctl_elem_value *ucontrol) in wm8958_put_mbc_enum() argument
462 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_mbc_enum()
479 struct snd_ctl_elem_value *ucontrol) in wm8958_get_mbc_enum() argument
484 ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; in wm8958_get_mbc_enum()
500 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_get() argument
506 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
512 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_put() argument
518 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put()
521 if (ucontrol->value.integer.value[0] > 1) in wm8958_mbc_put()
532 wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; in wm8958_mbc_put()
547 struct snd_ctl_elem_value *ucontrol) in wm8958_put_vss_enum() argument
552 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_enum()
569 struct snd_ctl_elem_value *ucontrol) in wm8958_get_vss_enum() argument
574 ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; in wm8958_get_vss_enum()
580 struct snd_ctl_elem_value *ucontrol) in wm8958_put_vss_hpf_enum() argument
585 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_hpf_enum()
602 struct snd_ctl_elem_value *ucontrol) in wm8958_get_vss_hpf_enum() argument
607 ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; in wm8958_get_vss_hpf_enum()
623 struct snd_ctl_elem_value *ucontrol) in wm8958_vss_get() argument
629 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get()
635 struct snd_ctl_elem_value *ucontrol) in wm8958_vss_put() argument
641 if (wm8994->vss_ena[vss] == ucontrol->value.integer.value[0]) in wm8958_vss_put()
644 if (ucontrol->value.integer.value[0] > 1) in wm8958_vss_put()
658 wm8994->vss_ena[vss] = ucontrol->value.integer.value[0]; in wm8958_vss_put()
684 struct snd_ctl_elem_value *ucontrol) in wm8958_hpf_get() argument
691 ucontrol->value.integer.value[0] = wm8994->hpf1_ena[hpf % 3]; in wm8958_hpf_get()
693 ucontrol->value.integer.value[0] = wm8994->hpf2_ena[hpf % 3]; in wm8958_hpf_get()
699 struct snd_ctl_elem_value *ucontrol) in wm8958_hpf_put() argument
707 ucontrol->value.integer.value[0]) in wm8958_hpf_put()
711 ucontrol->value.integer.value[0]) in wm8958_hpf_put()
715 if (ucontrol->value.integer.value[0] > 1) in wm8958_hpf_put()
730 wm8994->hpf1_ena[hpf % 3] = ucontrol->value.integer.value[0]; in wm8958_hpf_put()
732 wm8994->hpf2_ena[hpf % 3] = ucontrol->value.integer.value[0]; in wm8958_hpf_put()
734 wm8958_dsp_apply(codec, hpf % 3, ucontrol->value.integer.value[0]); in wm8958_hpf_put()
747 struct snd_ctl_elem_value *ucontrol) in wm8958_put_enh_eq_enum() argument
752 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_enh_eq_enum()
769 struct snd_ctl_elem_value *ucontrol) in wm8958_get_enh_eq_enum() argument
774 ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; in wm8958_get_enh_eq_enum()
790 struct snd_ctl_elem_value *ucontrol) in wm8958_enh_eq_get() argument
796 ucontrol->value.integer.value[0] = wm8994->enh_eq_ena[eq]; in wm8958_enh_eq_get()
802 struct snd_ctl_elem_value *ucontrol) in wm8958_enh_eq_put() argument
808 if (wm8994->enh_eq_ena[eq] == ucontrol->value.integer.value[0]) in wm8958_enh_eq_put()
811 if (ucontrol->value.integer.value[0] > 1) in wm8958_enh_eq_put()
826 wm8994->enh_eq_ena[eq] = ucontrol->value.integer.value[0]; in wm8958_enh_eq_put()
828 wm8958_dsp_apply(codec, eq, ucontrol->value.integer.value[0]); in wm8958_enh_eq_put()