Lines Matching refs:zr
2145 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd938x_mbhc_zdet_ramp() argument
2177 if (!zr) in wcd938x_mbhc_zdet_ramp()
2188 *zr = zdet; in wcd938x_mbhc_zdet_ramp()
2212 uint32_t *zl, uint32_t *zr) in wcd938x_wcd_mbhc_calc_impedance() argument
2322 *zr = WCD938X_ZDET_FLOATING_IMPEDANCE; in wcd938x_wcd_mbhc_calc_impedance()
2324 *zr = z1R/1000; in wcd938x_wcd_mbhc_calc_impedance()
2325 wcd938x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd938x_wcd_mbhc_calc_impedance()
2328 __func__, *zr); in wcd938x_wcd_mbhc_calc_impedance()
2332 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE)) { in wcd938x_wcd_mbhc_calc_impedance()
2339 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE) || in wcd938x_wcd_mbhc_calc_impedance()
2340 ((*zl < WCD_MONO_HS_MIN_THR) && (*zr > WCD_MONO_HS_MIN_THR)) || in wcd938x_wcd_mbhc_calc_impedance()
2341 ((*zl > WCD_MONO_HS_MIN_THR) && (*zr < WCD_MONO_HS_MIN_THR))) { in wcd938x_wcd_mbhc_calc_impedance()
2536 uint32_t zl, zr; in wcd938x_hph_impedance_get() local
2545 wcd_mbhc_get_impedance(wcd938x->wcd_mbhc, &zl, &zr); in wcd938x_hph_impedance_get()
2546 dev_dbg(component->dev, "%s: zl=%u(ohms), zr=%u(ohms)\n", __func__, zl, zr); in wcd938x_hph_impedance_get()
2547 ucontrol->value.integer.value[0] = hphr ? zr : zl; in wcd938x_hph_impedance_get()