Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dmr75203.c261 static long pvt_calc_temp(struct pvt_device *pvt, u32 nbs) in pvt_calc_temp() argument
270 div_s64(ts_coeff->h * (s64)nbs, ts_coeff->cal5) - in pvt_calc_temp()
281 u32 stat, nbs; in pvt_read_temp() local
293 ret = regmap_read(t_map, SDIF_DATA(channel), &nbs); in pvt_read_temp()
297 nbs &= SAMPLE_DATA_MSK; in pvt_read_temp()
303 *val = pvt_calc_temp(pvt, nbs); in pvt_read_temp()