Lines Matching full:resistance
718 fwnode_property_read_u32(fwnode, "factory-internal-resistance-micro-ohms", in power_supply_get_battery_info()
796 list = of_get_property(battery_np, "resistance-temp-table", &len); in power_supply_get_battery_info()
813 resist_table[index].resistance = be32_to_cpu(*list++); in power_supply_get_battery_info()
972 * power_supply_temp2resist_simple() - find the battery internal resistance
974 * @table: Pointer to battery resistance temperature table
978 * This helper function is used to look up battery internal resistance percent
979 * according to current temperature value from the resistance temperature table,
981 * resistance = the ideal battery internal resistance * percent / 100.
983 * Return: the battery internal resistance percent
1003 table[low].resistance, in power_supply_temp2resist_simple()
1005 table[high].resistance, in power_supply_temp2resist_simple()
1011 * power_supply_vbat2ri() - find the battery internal resistance
1017 * This helper function is used to look up battery internal resistance
1019 * is currently charging or not, different resistance will be returned.
1021 * Returns the internal resistance in microohm or negative error code.
1045 * the voltage table, just return the factory specified internal resistance. in power_supply_vbat2ri()
1164 int resistance) in power_supply_battery_bti_in_range() argument
1174 return (info->bti_resistance_ohm == resistance); in power_supply_battery_bti_in_range()
1181 return ((resistance >= low) && (resistance <= high)); in power_supply_battery_bti_in_range()