r_ntc              59 drivers/hwmon/ab8500.c 	int r_ntc, i = 0, tbl_sz = cfg->tbl_sz;
r_ntc              65 drivers/hwmon/ab8500.c 	r_ntc = v_ntc * cfg->r_up / (cfg->vcc - v_ntc);
r_ntc              66 drivers/hwmon/ab8500.c 	if (r_ntc > tbl[0].resist || r_ntc < tbl[tbl_sz - 1].resist)
r_ntc              69 drivers/hwmon/ab8500.c 	while (!(r_ntc <= tbl[i].resist && r_ntc > tbl[i + 1].resist) &&
r_ntc              75 drivers/hwmon/ab8500.c 		(r_ntc - tbl[i].resist)) / (tbl[i + 1].resist - tbl[i].resist);