Home
last modified time | relevance | path

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

/drivers/hwmon/
Dlm93.c361 const long intercept = uV_min - slope * lm93_vin_reg_min[nr]; in LM93_IN_FROM_REG() local
363 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() local
386 u8 result = ((uV - intercept + (slope/2)) / slope); in LM93_IN_TO_REG()