Home
last modified time | relevance | path

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

/drivers/hwmon/
Dlm75.h39 int ntemp = SENSORS_LIMIT(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); in LM75_TEMP_TO_REG() local
40 ntemp += (ntemp < 0 ? -250 : 250); in LM75_TEMP_TO_REG()
41 return (u16)((ntemp / 500) << 7); in LM75_TEMP_TO_REG()
Dlm77.c104 int ntemp = SENSORS_LIMIT(temp, LM77_TEMP_MIN, LM77_TEMP_MAX); in LM77_TEMP_TO_REG() local
105 return (ntemp / 500) * 8; in LM77_TEMP_TO_REG()
Dasb100.c151 int ntemp = SENSORS_LIMIT(temp, ASB100_TEMP_MIN, ASB100_TEMP_MAX); in TEMP_TO_REG() local
152 ntemp += (ntemp < 0 ? -500 : 500); in TEMP_TO_REG()
153 return (u8)(ntemp / 1000); in TEMP_TO_REG()
Djc42.c240 int ntemp = SENSORS_LIMIT(temp, in jc42_temp_to_reg() local
245 return (ntemp * 2 / 125) & 0x1fff; in jc42_temp_to_reg()
Dw83627hf.c278 int ntemp = SENSORS_LIMIT(temp, TEMP_MIN, TEMP_MAX); in TEMP_TO_REG() local
279 ntemp += (ntemp<0 ? -500 : 500); in TEMP_TO_REG()
280 return (u8)(ntemp / 1000); in TEMP_TO_REG()
Dlm93.c439 int ntemp = SENSORS_LIMIT(temp, LM93_TEMP_MIN, LM93_TEMP_MAX); in LM93_TEMP_TO_REG() local
440 ntemp += (ntemp < 0 ? -500 : 500); in LM93_TEMP_TO_REG()
441 return (u8)(ntemp / 1000); in LM93_TEMP_TO_REG()