Searched refs:intercept (Results 1 – 1 of 1) sorted by relevance
361 const long intercept = uV_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_FROM_REG() local363 return (slope * reg + intercept + 500) / 1000; in LM93_IN_FROM_REG()384 const long intercept = uV_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_TO_REG() local386 u8 result = ((uV - intercept + (slope/2)) / slope); in LM93_IN_TO_REG()