Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmr75203.c178 struct temp_coeff ts_coeff; member
232 &pvt->ts_coeff.h); in pvt_ts_dbgfs_create()
234 &pvt->ts_coeff.g); in pvt_ts_dbgfs_create()
236 &pvt->ts_coeff.cal5); in pvt_ts_dbgfs_create()
267 struct temp_coeff *ts_coeff = &pvt->ts_coeff; in pvt_calc_temp() local
269 s64 tmp = ts_coeff->g + in pvt_calc_temp()
270 div_s64(ts_coeff->h * (s64)nbs, ts_coeff->cal5) - in pvt_calc_temp()
271 ts_coeff->h / 2 + in pvt_calc_temp()
725 struct temp_coeff *ts_coeff = &pvt->ts_coeff; in pvt_set_temp_coeff() local
736 ts_coeff->h = PVT_SERIES5_H_CONST; in pvt_set_temp_coeff()
[all …]