Lines Matching refs:ucontrol
454 struct snd_ctl_elem_value *ucontrol) in wm8958_put_mbc_enum() argument
459 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_mbc_enum()
476 struct snd_ctl_elem_value *ucontrol) in wm8958_get_mbc_enum() argument
481 ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; in wm8958_get_mbc_enum()
497 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_get() argument
503 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
509 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_put() argument
515 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put()
518 if (ucontrol->value.integer.value[0] > 1) in wm8958_mbc_put()
529 wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; in wm8958_mbc_put()
544 struct snd_ctl_elem_value *ucontrol) in wm8958_put_vss_enum() argument
549 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_enum()
566 struct snd_ctl_elem_value *ucontrol) in wm8958_get_vss_enum() argument
571 ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; in wm8958_get_vss_enum()
577 struct snd_ctl_elem_value *ucontrol) in wm8958_put_vss_hpf_enum() argument
582 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_hpf_enum()
599 struct snd_ctl_elem_value *ucontrol) in wm8958_get_vss_hpf_enum() argument
604 ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; in wm8958_get_vss_hpf_enum()
620 struct snd_ctl_elem_value *ucontrol) in wm8958_vss_get() argument
626 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get()
632 struct snd_ctl_elem_value *ucontrol) in wm8958_vss_put() argument
638 if (wm8994->vss_ena[vss] == ucontrol->value.integer.value[0]) in wm8958_vss_put()
641 if (ucontrol->value.integer.value[0] > 1) in wm8958_vss_put()
655 wm8994->vss_ena[vss] = ucontrol->value.integer.value[0]; in wm8958_vss_put()
681 struct snd_ctl_elem_value *ucontrol) in wm8958_hpf_get() argument
688 ucontrol->value.integer.value[0] = wm8994->hpf1_ena[hpf % 3]; in wm8958_hpf_get()
690 ucontrol->value.integer.value[0] = wm8994->hpf2_ena[hpf % 3]; in wm8958_hpf_get()
696 struct snd_ctl_elem_value *ucontrol) in wm8958_hpf_put() argument
704 ucontrol->value.integer.value[0]) in wm8958_hpf_put()
708 ucontrol->value.integer.value[0]) in wm8958_hpf_put()
712 if (ucontrol->value.integer.value[0] > 1) in wm8958_hpf_put()
727 wm8994->hpf1_ena[hpf % 3] = ucontrol->value.integer.value[0]; in wm8958_hpf_put()
729 wm8994->hpf2_ena[hpf % 3] = ucontrol->value.integer.value[0]; in wm8958_hpf_put()
731 wm8958_dsp_apply(component, hpf % 3, ucontrol->value.integer.value[0]); in wm8958_hpf_put()
744 struct snd_ctl_elem_value *ucontrol) in wm8958_put_enh_eq_enum() argument
749 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_enh_eq_enum()
766 struct snd_ctl_elem_value *ucontrol) in wm8958_get_enh_eq_enum() argument
771 ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; in wm8958_get_enh_eq_enum()
787 struct snd_ctl_elem_value *ucontrol) in wm8958_enh_eq_get() argument
793 ucontrol->value.integer.value[0] = wm8994->enh_eq_ena[eq]; in wm8958_enh_eq_get()
799 struct snd_ctl_elem_value *ucontrol) in wm8958_enh_eq_put() argument
805 if (wm8994->enh_eq_ena[eq] == ucontrol->value.integer.value[0]) in wm8958_enh_eq_put()
808 if (ucontrol->value.integer.value[0] > 1) in wm8958_enh_eq_put()
823 wm8994->enh_eq_ena[eq] = ucontrol->value.integer.value[0]; in wm8958_enh_eq_put()
825 wm8958_dsp_apply(component, eq, ucontrol->value.integer.value[0]); in wm8958_enh_eq_put()