Searched refs:fixp_linear_interpolate (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/include/linux/ |
D | fixp-arith.h | 153 static inline int fixp_linear_interpolate(int x0, int y0, int x1, int y1, int x) in fixp_linear_interpolate() function
|
/linux-6.1.9/drivers/iio/adc/ |
D | qcom-vadc-common.c | 363 *output = fixp_linear_interpolate(pts[i - 1].x, pts[i - 1].y, in qcom_vadc_map_voltage_temp() 389 return fixp_linear_interpolate(pts[i - 1].y, pts[i - 1].x, in qcom_vadc_map_temp_voltage()
|
/linux-6.1.9/drivers/power/supply/ |
D | power_supply_core.c | 866 return fixp_linear_interpolate(table[low].temp, in power_supply_temp2resist_simple() 931 return fixp_linear_interpolate(vbat2ri[low].vbat_uv, in power_supply_vbat2ri() 978 return fixp_linear_interpolate(table[low].ocv, in power_supply_ocv2cap_simple()
|
/linux-6.1.9/drivers/hwmon/ |
D | ntc_thermistor.c | 488 temp = fixp_linear_interpolate(data->comp[low].ohm, in get_temp_mc()
|