Lines Matching refs:zr
2697 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd934x_mbhc_zdet_ramp() argument
2725 if (!zr) in wcd934x_mbhc_zdet_ramp()
2732 *zr = zdet; in wcd934x_mbhc_zdet_ramp()
2756 uint32_t *zl, uint32_t *zr) in wcd934x_wcd_mbhc_calc_impedance() argument
2855 *zr = WCD934X_ZDET_FLOATING_IMPEDANCE; in wcd934x_wcd_mbhc_calc_impedance()
2857 *zr = z1R/1000; in wcd934x_wcd_mbhc_calc_impedance()
2858 wcd934x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd934x_wcd_mbhc_calc_impedance()
2861 __func__, *zr); in wcd934x_wcd_mbhc_calc_impedance()
2865 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE)) { in wcd934x_wcd_mbhc_calc_impedance()
2872 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE) || in wcd934x_wcd_mbhc_calc_impedance()
2873 ((*zl < WCD_MONO_HS_MIN_THR) && (*zr > WCD_MONO_HS_MIN_THR)) || in wcd934x_wcd_mbhc_calc_impedance()
2874 ((*zl > WCD_MONO_HS_MIN_THR) && (*zr < WCD_MONO_HS_MIN_THR))) { in wcd934x_wcd_mbhc_calc_impedance()
2979 uint32_t zl, zr; in wcd934x_hph_impedance_get() local
2987 wcd_mbhc_get_impedance(wcd->mbhc, &zl, &zr); in wcd934x_hph_impedance_get()
2988 dev_dbg(component->dev, "%s: zl=%u(ohms), zr=%u(ohms)\n", __func__, zl, zr); in wcd934x_hph_impedance_get()
2989 ucontrol->value.integer.value[0] = hphr ? zr : zl; in wcd934x_hph_impedance_get()