Searched refs:ntemp (Results 1 – 6 of 6) sorted by relevance
/drivers/hwmon/ |
D | lm75.h | 39 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()
|
D | lm77.c | 104 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()
|
D | asb100.c | 151 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()
|
D | jc42.c | 240 int ntemp = SENSORS_LIMIT(temp, in jc42_temp_to_reg() local 245 return (ntemp * 2 / 125) & 0x1fff; in jc42_temp_to_reg()
|
D | w83627hf.c | 278 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()
|
D | lm93.c | 439 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()
|