Searched refs:z1Ls (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/sound/soc/codecs/ |
D | wcd938x.c | 2260 int32_t z1L, z1R, z1Ls; in wcd938x_wcd_mbhc_calc_impedance() local 2397 wcd938x_mbhc_zdet_ramp(component, &zdet_param[0], &z1Ls, NULL, d1); in wcd938x_wcd_mbhc_calc_impedance() 2399 wcd938x_mbhc_zdet_ramp(component, &zdet_param[1], &z1Ls, NULL, d1); in wcd938x_wcd_mbhc_calc_impedance() 2404 z1Ls /= 1000; in wcd938x_wcd_mbhc_calc_impedance() 2405 wcd938x_wcd_mbhc_qfuse_cal(component, &z1Ls, 0); in wcd938x_wcd_mbhc_calc_impedance() 2408 z_diff1 = (z1Ls > zMono) ? (z1Ls - zMono) : (zMono - z1Ls); in wcd938x_wcd_mbhc_calc_impedance() 2409 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd938x_wcd_mbhc_calc_impedance() 2410 if ((z_diff1 * (*zl + z1Ls)) > (z_diff2 * (z1Ls + zMono))) { in wcd938x_wcd_mbhc_calc_impedance()
|
D | wcd934x.c | 2768 int32_t z1L, z1R, z1Ls; in wcd934x_wcd_mbhc_calc_impedance() local 2894 wcd934x_mbhc_zdet_ramp(component, &zdet_param[0], &z1Ls, NULL, d1); in wcd934x_wcd_mbhc_calc_impedance() 2896 wcd934x_mbhc_zdet_ramp(component, &zdet_param[1], &z1Ls, NULL, d1); in wcd934x_wcd_mbhc_calc_impedance() 2901 z1Ls /= 1000; in wcd934x_wcd_mbhc_calc_impedance() 2902 wcd934x_wcd_mbhc_qfuse_cal(component, &z1Ls, 0); in wcd934x_wcd_mbhc_calc_impedance() 2905 z_diff1 = (z1Ls > zMono) ? (z1Ls - zMono) : (zMono - z1Ls); 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()
|