Searched refs:x2dist (Results 1 – 3 of 3) sorted by relevance
239 int x2dist = LUT_VREF_HIGH - vref; //(x2 - x) in calculate_voltage_lut() local252 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()
245 int x2dist = LUT_VREF_HIGH - vref; //(x2 - x) in calculate_voltage_lut() local258 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()
418 int x2dist = LUT_VREF_HIGH - vref; //(x2 - x) in calculate_voltage_lut() local431 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()