Searched refs:resist_table (Results 1 – 5 of 5) sorted by relevance
/drivers/power/supply/ |
D | power_supply_core.c | 654 struct power_supply_resistance_temp_table *resist_table; in power_supply_get_battery_info() local 732 info->resist_table = NULL; in power_supply_get_battery_info() 874 resist_table = info->resist_table = devm_kcalloc(&psy->dev, in power_supply_get_battery_info() 876 sizeof(*resist_table), in power_supply_get_battery_info() 878 if (!info->resist_table) { in power_supply_get_battery_info() 885 resist_table[index].temp = be32_to_cpu(*list++); in power_supply_get_battery_info() 886 resist_table[index].resistance = be32_to_cpu(*list++); in power_supply_get_battery_info() 910 if (info->resist_table) in power_supply_put_battery_info() 911 devm_kfree(&psy->dev, info->resist_table); in power_supply_put_battery_info()
|
D | samsung-sdi-battery.c | 662 .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,
|
D | ab8500_bmdata.c | 204 !bi->resist_table) { in ab8500_bm_of_probe() 206 bi->resist_table = temp_to_batres_tbl_thermistor; in ab8500_bm_of_probe()
|
D | sc27xx_fuel_gauge.c | 121 struct power_supply_resistance_temp_table *resist_table; member 506 resistance = power_supply_temp2resist_simple(data->resist_table, in sc27xx_fgu_get_vbat_ocv() 1033 data->resist_table = devm_kmemdup(data->dev, info->resist_table, in sc27xx_fgu_hw_init() 1037 if (!data->resist_table) { in sc27xx_fgu_hw_init()
|
D | ab8500_fg.c | 903 resistance_percent = power_supply_temp2resist_simple(bi->resist_table, in ab8500_fg_battery_resistance()
|