Lines Matching refs:zr
2705 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd934x_mbhc_zdet_ramp() argument
2733 if (!zr) in wcd934x_mbhc_zdet_ramp()
2740 *zr = zdet; in wcd934x_mbhc_zdet_ramp()
2764 uint32_t *zl, uint32_t *zr) in wcd934x_wcd_mbhc_calc_impedance() argument
2863 *zr = WCD934X_ZDET_FLOATING_IMPEDANCE; in wcd934x_wcd_mbhc_calc_impedance()
2865 *zr = z1R/1000; in wcd934x_wcd_mbhc_calc_impedance()
2866 wcd934x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd934x_wcd_mbhc_calc_impedance()
2869 __func__, *zr); in wcd934x_wcd_mbhc_calc_impedance()
2873 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE)) { in wcd934x_wcd_mbhc_calc_impedance()
2880 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE) || in wcd934x_wcd_mbhc_calc_impedance()
2881 ((*zl < WCD_MONO_HS_MIN_THR) && (*zr > WCD_MONO_HS_MIN_THR)) || in wcd934x_wcd_mbhc_calc_impedance()
2882 ((*zl > WCD_MONO_HS_MIN_THR) && (*zr < WCD_MONO_HS_MIN_THR))) { in wcd934x_wcd_mbhc_calc_impedance()
2987 uint32_t zl, zr; in wcd934x_hph_impedance_get() local
2995 wcd_mbhc_get_impedance(wcd->mbhc, &zl, &zr); in wcd934x_hph_impedance_get()
2996 dev_dbg(component->dev, "%s: zl=%u(ohms), zr=%u(ohms)\n", __func__, zl, zr); in wcd934x_hph_impedance_get()
2997 ucontrol->value.integer.value[0] = hphr ? zr : zl; in wcd934x_hph_impedance_get()