Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dpower_supply_core.c572 struct power_supply_resistance_temp_table *resist_table; in power_supply_get_battery_info() local
650 info->resist_table = NULL; in power_supply_get_battery_info()
792 resist_table = info->resist_table = devm_kcalloc(&psy->dev, in power_supply_get_battery_info()
794 sizeof(*resist_table), in power_supply_get_battery_info()
796 if (!info->resist_table) { in power_supply_get_battery_info()
803 resist_table[index].temp = be32_to_cpu(*list++); in power_supply_get_battery_info()
804 resist_table[index].resistance = be32_to_cpu(*list++); in power_supply_get_battery_info()
828 if (info->resist_table) in power_supply_put_battery_info()
829 devm_kfree(&psy->dev, info->resist_table); in power_supply_put_battery_info()
Dab8500_bmdata.c204 !bi->resist_table) { in ab8500_bm_of_probe()
206 bi->resist_table = temp_to_batres_tbl_thermistor; in ab8500_bm_of_probe()
Dsamsung-sdi-battery.c662 .resist_table = samsung_temp2res,
706 .resist_table = samsung_temp2res,
750 .resist_table = samsung_temp2res,
793 .resist_table = samsung_temp2res,
838 .resist_table = samsung_temp2res,
882 .resist_table = samsung_temp2res,
Dsc27xx_fuel_gauge.c121 struct power_supply_resistance_temp_table *resist_table; member
506 resistance = power_supply_temp2resist_simple(data->resist_table, in sc27xx_fgu_get_vbat_ocv()
1040 data->resist_table = devm_kmemdup(data->dev, info->resist_table, in sc27xx_fgu_hw_init()
1044 if (!data->resist_table) { in sc27xx_fgu_hw_init()
Dab8500_fg.c903 resistance_percent = power_supply_temp2resist_simple(bi->resist_table, in ab8500_fg_battery_resistance()
/linux-6.1.9/include/linux/
Dpower_supply.h759 struct power_supply_resistance_temp_table *resist_table; member
841 return ((info->resist_table != NULL) && in power_supply_supports_temp2ri()