Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thermal/qcom/
Dtsens-common.c55 num *= SLOPE_FACTOR; in compute_intercept_slope()
60 priv->sensor[i].offset = (p1[i] * SLOPE_FACTOR) - in compute_intercept_slope()
71 num = (adc_code * SLOPE_FACTOR) - s->offset; in code_to_degc()
Dtsens.h14 #define SLOPE_FACTOR 1000 macro