Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/qcom/
A Dtsens.c263 num *= SLOPE_FACTOR; in compute_intercept_slope()
268 priv->sensor[i].offset = (p1[i] * SLOPE_FACTOR) - in compute_intercept_slope()
278 u64 code = div_u64(((u64)degc * s->slope + s->offset), SLOPE_FACTOR); in degc_to_code()
288 num = (adc_code * SLOPE_FACTOR) - s->offset; in code_to_degc()
A Dtsens.h15 #define SLOPE_FACTOR 1000 macro

Completed in 7 milliseconds