Lines Matching refs:hpf
683 int hpf = kcontrol->private_value; in wm8958_hpf_get() local
687 if (hpf < 3) in wm8958_hpf_get()
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()
698 int hpf = kcontrol->private_value; in wm8958_hpf_put() local
702 if (hpf < 3) { in wm8958_hpf_put()
703 if (wm8994->hpf1_ena[hpf % 3] == in wm8958_hpf_put()
707 if (wm8994->hpf2_ena[hpf % 3] == in wm8958_hpf_put()
718 if (wm8958_dsp2_busy(wm8994, hpf % 3)) { in wm8958_hpf_put()
719 dev_dbg(component->dev, "DSP2 active on %d already\n", hpf); in wm8958_hpf_put()
723 if (wm8994->enh_eq_ena[hpf % 3]) in wm8958_hpf_put()
726 if (hpf < 3) 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()