Home
last modified time | relevance | path

Searched refs:z_diff2 (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/sound/soc/codecs/
Dwcd938x.c3256 int zMono, z_diff1, z_diff2; in wcd938x_wcd_mbhc_calc_impedance() local
3404 z_diff2 = ((*zl) > z1Ls) ? ((*zl) - z1Ls) : (z1Ls - (*zl)); in wcd938x_wcd_mbhc_calc_impedance()
3405 if ((z_diff1 * (*zl + z1Ls)) > (z_diff2 * (z1Ls + zMono))) { in wcd938x_wcd_mbhc_calc_impedance()
Dwcd934x.c2769 int zMono, z_diff1, z_diff2; in wcd934x_wcd_mbhc_calc_impedance() local
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()