Searched refs:q1_cal (Results 1 – 4 of 4) sorted by relevance
1641 int q1_cal; in wcd937x_wcd_mbhc_qfuse_cal() local1650 q1_cal = (10000 - ((q1 & 0x7F) * 25)); in wcd937x_wcd_mbhc_qfuse_cal()1652 q1_cal = (10000 + (q1 * 25)); in wcd937x_wcd_mbhc_qfuse_cal()1653 if (q1_cal > 0) in wcd937x_wcd_mbhc_qfuse_cal()1654 *z_val = ((*z_val) * 10000) / q1_cal; in wcd937x_wcd_mbhc_qfuse_cal()
2195 int q1_cal; in wcd938x_wcd_mbhc_qfuse_cal() local2204 q1_cal = (10000 - ((q1 & 0x7F) * 25)); in wcd938x_wcd_mbhc_qfuse_cal()2206 q1_cal = (10000 + (q1 * 25)); in wcd938x_wcd_mbhc_qfuse_cal()2207 if (q1_cal > 0) in wcd938x_wcd_mbhc_qfuse_cal()2208 *z_val = ((*z_val) * 10000) / q1_cal; in wcd938x_wcd_mbhc_qfuse_cal()
2161 int q1_cal; in wcd939x_wcd_mbhc_qfuse_cal() local2166 q1_cal = (10000 - ((q1 & GENMASK(6, 0)) * 10)); in wcd939x_wcd_mbhc_qfuse_cal()2168 q1_cal = (10000 + (q1 * 10)); in wcd939x_wcd_mbhc_qfuse_cal()2170 if (q1_cal > 0) in wcd939x_wcd_mbhc_qfuse_cal()2171 *z_val = ((*z_val) * 10000) / q1_cal; in wcd939x_wcd_mbhc_qfuse_cal()
2739 int q1_cal; in wcd934x_wcd_mbhc_qfuse_cal() local2748 q1_cal = (10000 - ((q1 & 0x7F) * 25)); in wcd934x_wcd_mbhc_qfuse_cal()2750 q1_cal = (10000 + (q1 * 25)); in wcd934x_wcd_mbhc_qfuse_cal()2751 if (q1_cal > 0) in wcd934x_wcd_mbhc_qfuse_cal()2752 *z_val = ((*z_val) * 10000) / q1_cal; in wcd934x_wcd_mbhc_qfuse_cal()