Lines Matching refs:hpf
686 int hpf = kcontrol->private_value; in wm8958_hpf_get() local
690 if (hpf < 3) in wm8958_hpf_get()
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()
701 int hpf = kcontrol->private_value; in wm8958_hpf_put() local
705 if (hpf < 3) { in wm8958_hpf_put()
706 if (wm8994->hpf1_ena[hpf % 3] == in wm8958_hpf_put()
710 if (wm8994->hpf2_ena[hpf % 3] == in wm8958_hpf_put()
721 if (wm8958_dsp2_busy(wm8994, hpf % 3)) { in wm8958_hpf_put()
722 dev_dbg(codec->dev, "DSP2 active on %d already\n", hpf); in wm8958_hpf_put()
726 if (wm8994->enh_eq_ena[hpf % 3]) in wm8958_hpf_put()
729 if (hpf < 3) 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()