Lines Matching full:resistance
81 * @internal_resist: the battery internal resistance in mOhm
90 * @resist_table_len: the resistance table length
93 * @calib_resist: the real resistance of coulomb counter chip in uOhm
95 * @resist_table: resistance percent table with corresponding temperature
490 int vol, cur, ret, temp, resistance; in sc27xx_fgu_get_vbat_ocv() local
500 resistance = data->internal_resist; in sc27xx_fgu_get_vbat_ocv()
506 resistance = power_supply_temp2resist_simple(data->resist_table, in sc27xx_fgu_get_vbat_ocv()
508 resistance = data->internal_resist * resistance / 100; in sc27xx_fgu_get_vbat_ocv()
512 *val = vol * 1000 - cur * resistance; in sc27xx_fgu_get_vbat_ocv()
1166 "sprd,calib-resistance-micro-ohms", in sc27xx_fgu_probe()
1170 "failed to get fgu calibration resistance\n"); in sc27xx_fgu_probe()