Home
last modified time | relevance | path

Searched refs:resist (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
Dab8500.c71 if (r_ntc > tbl[0].resist || r_ntc < tbl[tbl_sz - 1].resist) in ab8500_voltage_to_temp()
74 while (!(r_ntc <= tbl[i].resist && r_ntc > tbl[i + 1].resist) && in ab8500_voltage_to_temp()
80 (r_ntc - tbl[i].resist)) / (tbl[i + 1].resist - tbl[i].resist); in ab8500_voltage_to_temp()
/kernel/linux/linux-5.10/drivers/power/supply/
Dab8500_btemp.c437 if (res > tbl[0].resist) in ab8500_btemp_res_to_temp()
439 else if (res <= tbl[tbl_size - 1].resist) in ab8500_btemp_res_to_temp()
443 while (!(res <= tbl[i].resist && in ab8500_btemp_res_to_temp()
444 res > tbl[i + 1].resist)) in ab8500_btemp_res_to_temp()
449 (res - tbl[i].resist)) / (tbl[i + 1].resist - tbl[i].resist); in ab8500_btemp_res_to_temp()
Dab8500_fg.c910 int resist = 0; in ab8500_fg_battery_resistance() local
921 resist = interpolate(di->bat_temp / 10, in ab8500_fg_battery_resistance()
923 tbl[i].resist, in ab8500_fg_battery_resistance()
925 tbl[i-1].resist); in ab8500_fg_battery_resistance()
927 resist = tbl[0].resist; in ab8500_fg_battery_resistance()
929 resist = tbl[tbl_size - 1].resist; in ab8500_fg_battery_resistance()
934 __func__, di->bat_temp, resist, di->bm->fg_res / 10, in ab8500_fg_battery_resistance()
935 (di->bm->fg_res / 10) + resist); in ab8500_fg_battery_resistance()
938 resist += di->bm->fg_res / 10; in ab8500_fg_battery_resistance()
940 return resist; in ab8500_fg_battery_resistance()
Dpower_supply_core.c772 int i, resist; in power_supply_temp2resist_simple() local
784 resist = tmp + table[i].resistance; in power_supply_temp2resist_simple()
786 resist = table[0].resistance; in power_supply_temp2resist_simple()
788 resist = table[table_len - 1].resistance; in power_supply_temp2resist_simple()
791 return resist; in power_supply_temp2resist_simple()
/kernel/linux/linux-5.10/include/linux/mfd/abx500/
Dab8500-bm.h285 int resist; member
296 int resist; member
/kernel/linux/linux-5.10/include/linux/mfd/
Dabx500.h53 int resist; member
/kernel/linux/linux-5.10/Documentation/process/
D6.Followthrough.rst43 review which seems angry, insulting, or outright offensive, resist the
Dadding-syscalls.rst120 the exec'ed program. (However, resist the temptation to re-use the actual value