Lines Matching refs:value

459 	int value = ucontrol->value.enumerated.item[0];  in wm8958_put_mbc_enum()  local
467 if (value >= control->pdata.num_mbc_cfgs) in wm8958_put_mbc_enum()
470 wm8994->mbc_cfg = value; in wm8958_put_mbc_enum()
481 ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; in wm8958_get_mbc_enum()
491 uinfo->value.integer.min = 0; in wm8958_mbc_info()
492 uinfo->value.integer.max = 1; in wm8958_mbc_info()
503 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
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()
549 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_enum() local
557 if (value >= control->pdata.num_vss_cfgs) in wm8958_put_vss_enum()
560 wm8994->vss_cfg = value; in wm8958_put_vss_enum()
571 ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; in wm8958_get_vss_enum()
582 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_hpf_enum() local
590 if (value >= control->pdata.num_vss_hpf_cfgs) in wm8958_put_vss_hpf_enum()
593 wm8994->vss_hpf_cfg = value; in wm8958_put_vss_hpf_enum()
604 ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; in wm8958_get_vss_hpf_enum()
614 uinfo->value.integer.min = 0; in wm8958_vss_info()
615 uinfo->value.integer.max = 1; in wm8958_vss_info()
626 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get()
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()
675 uinfo->value.integer.min = 0; in wm8958_hpf_info()
676 uinfo->value.integer.max = 1; in wm8958_hpf_info()
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()
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()
749 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_enh_eq_enum() local
757 if (value >= control->pdata.num_enh_eq_cfgs) in wm8958_put_enh_eq_enum()
760 wm8994->enh_eq_cfg = value; in wm8958_put_enh_eq_enum()
771 ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; in wm8958_get_enh_eq_enum()
781 uinfo->value.integer.min = 0; in wm8958_enh_eq_info()
782 uinfo->value.integer.max = 1; in wm8958_enh_eq_info()
793 ucontrol->value.integer.value[0] = wm8994->enh_eq_ena[eq]; in wm8958_enh_eq_get()
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()