Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dlm75.h28 int ntemp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); in LM75_TEMP_TO_REG() local
30 ntemp += (ntemp < 0 ? -250 : 250); in LM75_TEMP_TO_REG()
31 return (u16)((ntemp / 500) << 7); in LM75_TEMP_TO_REG()
H A Dasb100.c138 int ntemp = clamp_val(temp, ASB100_TEMP_MIN, ASB100_TEMP_MAX); in TEMP_TO_REG() local
139 ntemp += (ntemp < 0 ? -500 : 500); in TEMP_TO_REG()
140 return (u8)(ntemp / 1000); in TEMP_TO_REG()
H A Djc42.c196 int ntemp = clamp_val(temp, in jc42_temp_to_reg() local
201 return (ntemp * 2 / 125) & 0x1fff; in jc42_temp_to_reg()
H A Dlm93.c427 int ntemp = clamp_val(temp, LM93_TEMP_MIN, LM93_TEMP_MAX); in LM93_TEMP_TO_REG() local
428 ntemp += (ntemp < 0 ? -500 : 500); in LM93_TEMP_TO_REG()
429 return (u8)(ntemp / 1000); in LM93_TEMP_TO_REG()