Lines Matching refs:resistance
886 int resistance; in ab8500_fg_battery_resistance() local
894 resistance = power_supply_vbat2ri(bi, vbat_uncomp_uv, di->flags.charging); in ab8500_fg_battery_resistance()
896 resistance = resistance / 1000; in ab8500_fg_battery_resistance()
902 resistance = bi->factory_internal_resistance_uohm / 1000; in ab8500_fg_battery_resistance()
903 resistance = resistance * resistance_percent / 100; in ab8500_fg_battery_resistance()
906 resistance = bi->factory_internal_resistance_uohm / 1000; in ab8500_fg_battery_resistance()
910 resistance += (di->line_impedance_uohm / 1000); in ab8500_fg_battery_resistance()
914 __func__, di->bat_temp, resistance, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()
915 (di->bm->fg_res / 10) + resistance); in ab8500_fg_battery_resistance()
918 resistance += di->bm->fg_res / 10; in ab8500_fg_battery_resistance()
920 return resistance; in ab8500_fg_battery_resistance()