Searched refs:z1Ls (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | wcd938x.c | 2216 int32_t z1L, z1R, z1Ls; in wcd938x_wcd_mbhc_calc_impedance() local 2353 wcd938x_mbhc_zdet_ramp(component, &zdet_param[0], &z1Ls, NULL, d1); in wcd938x_wcd_mbhc_calc_impedance() 2355 wcd938x_mbhc_zdet_ramp(component, &zdet_param[1], &z1Ls, NULL, d1); in wcd938x_wcd_mbhc_calc_impedance() 2360 z1Ls /= 1000; in wcd938x_wcd_mbhc_calc_impedance() 2361 wcd938x_wcd_mbhc_qfuse_cal(component, &z1Ls, 0); in wcd938x_wcd_mbhc_calc_impedance() 2364 z_diff1 = (z1Ls > zMono) ? (z1Ls - zMono) : (zMono - z1Ls); in wcd938x_wcd_mbhc_calc_impedance() 2365 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd938x_wcd_mbhc_calc_impedance() 2366 if ((z_diff1 * (*zl + z1Ls)) > (z_diff2 * (z1Ls + zMono))) { in wcd938x_wcd_mbhc_calc_impedance()
|
D | wcd934x.c | 2760 int32_t z1L, z1R, z1Ls; in wcd934x_wcd_mbhc_calc_impedance() local 2886 wcd934x_mbhc_zdet_ramp(component, &zdet_param[0], &z1Ls, NULL, d1); in wcd934x_wcd_mbhc_calc_impedance() 2888 wcd934x_mbhc_zdet_ramp(component, &zdet_param[1], &z1Ls, NULL, d1); in wcd934x_wcd_mbhc_calc_impedance() 2893 z1Ls /= 1000; in wcd934x_wcd_mbhc_calc_impedance() 2894 wcd934x_wcd_mbhc_qfuse_cal(component, &z1Ls, 0); in wcd934x_wcd_mbhc_calc_impedance() 2897 z_diff1 = (z1Ls > zMono) ? (z1Ls - zMono) : (zMono - z1Ls); in wcd934x_wcd_mbhc_calc_impedance() 2898 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd934x_wcd_mbhc_calc_impedance() 2899 if ((z_diff1 * (*zl + z1Ls)) > (z_diff2 * (z1Ls + zMono))) { in wcd934x_wcd_mbhc_calc_impedance()
|