Lines Matching refs:zl

2705 				 int32_t *zl, int32_t *zr, s16 *d1_a)  in wcd934x_mbhc_zdet_ramp()  argument
2723 if (!zl) in wcd934x_mbhc_zdet_ramp()
2730 *zl = zdet; in wcd934x_mbhc_zdet_ramp()
2764 uint32_t *zl, uint32_t *zr) in wcd934x_wcd_mbhc_calc_impedance() argument
2829 *zl = WCD934X_ZDET_FLOATING_IMPEDANCE; in wcd934x_wcd_mbhc_calc_impedance()
2833 *zl = z1L/1000; in wcd934x_wcd_mbhc_calc_impedance()
2834 wcd934x_wcd_mbhc_qfuse_cal(component, zl, 0); in wcd934x_wcd_mbhc_calc_impedance()
2837 __func__, *zl); in wcd934x_wcd_mbhc_calc_impedance()
2844 ((*zl) != WCD934X_ZDET_FLOATING_IMPEDANCE)) in wcd934x_wcd_mbhc_calc_impedance()
2872 if ((*zl == WCD934X_ZDET_FLOATING_IMPEDANCE) && in wcd934x_wcd_mbhc_calc_impedance()
2879 if ((*zl == 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()
2893 if (*zl < (WCD934X_ZDET_VAL_32/1000)) in wcd934x_wcd_mbhc_calc_impedance()
2904 zMono = ((*zl) * 9) / ((*zl) + 9); in wcd934x_wcd_mbhc_calc_impedance()
2906 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd934x_wcd_mbhc_calc_impedance()
2907 if ((z_diff1 * (*zl + z1Ls)) > (z_diff2 * (z1Ls + zMono))) { 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()