Home
last modified time | relevance | path

Searched full:cal5 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/hwmon/
H A Dmr75203.c164 u32 cal5; member
236 &pvt->ts_coeff.cal5); in pvt_ts_dbgfs_create()
265 * T = G + H * (n / cal5 - 0.5) + J * F in pvt_calc_temp()
270 div_s64(ts_coeff->h * (s64)nbs, ts_coeff->cal5) - in pvt_calc_temp()
739 ts_coeff->cal5 = PVT_SERIES5_CAL5_CONST; in pvt_set_temp_coeff()
745 ts_coeff->cal5 = PVT_SERIES6_CAL5_CONST; in pvt_set_temp_coeff()
755 /* Override ts-coeff-h/g/j/cal5 if they are defined. */ in pvt_set_temp_coeff()
759 device_property_read_u32(dev, "moortec,ts-coeff-cal5", &ts_coeff->cal5); in pvt_set_temp_coeff()
761 dev_dbg(dev, "ts-coeff: h = %u, g = %u, j = %d, cal5 = %u\n", in pvt_set_temp_coeff()
762 ts_coeff->h, ts_coeff->g, ts_coeff->j, ts_coeff->cal5); in pvt_set_temp_coeff()
/linux/Documentation/devicetree/bindings/hwmon/
H A Dmoortec,mr75203.yaml121 moortec,ts-coeff-cal5:
123 cal5 coefficient for temperature equation.