Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dda9052-battery.c50 static const u16 vc_tbl_ref[3] = {10, 25, 40}; variable
330 if (adc_temp <= vc_tbl_ref[0]) in da9052_determine_vc_tbl_index()
333 if (adc_temp > vc_tbl_ref[DA9052_VC_TBL_REF_SZ - 1]) in da9052_determine_vc_tbl_index()
337 if ((adc_temp > vc_tbl_ref[i]) && in da9052_determine_vc_tbl_index()
338 (adc_temp <= DA9052_MEAN(vc_tbl_ref[i], vc_tbl_ref[i + 1]))) in da9052_determine_vc_tbl_index()
340 if ((adc_temp > DA9052_MEAN(vc_tbl_ref[i], vc_tbl_ref[i + 1])) in da9052_determine_vc_tbl_index()
341 && (adc_temp <= vc_tbl_ref[i])) in da9052_determine_vc_tbl_index()