Home
last modified time | relevance | path

Searched refs:q1_cal (Results 1 – 4 of 4) sorted by relevance

/linux/sound/soc/codecs/
H A Dwcd937x.c1641 int q1_cal; in wcd937x_wcd_mbhc_qfuse_cal() local
1650 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()
H A Dwcd938x.c2195 int q1_cal; in wcd938x_wcd_mbhc_qfuse_cal() local
2204 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()
H A Dwcd939x.c2161 int q1_cal; in wcd939x_wcd_mbhc_qfuse_cal() local
2166 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()
H A Dwcd934x.c2739 int q1_cal; in wcd934x_wcd_mbhc_qfuse_cal() local
2748 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()