Searched refs:diode_slope (Results 1 – 1 of 1) sorted by relevance
527 int rawval, diode_slope, diode_offset; in ad7417_diode_read() local543 diode_slope = eeprom[1][0x11] >> 16; in ad7417_diode_read()546 diode_slope = eeprom[0][0x11] >> 16; in ad7417_diode_read()550 temp = (rawval*diode_slope + diode_offset) >> 2; in ad7417_diode_read()