Home
last modified time | relevance | path

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

/drivers/hwmon/
Dlm75.h27 int ntemp = clamp_val(temp, LM75_TEMP_MIN, LM75_TEMP_MAX); in LM75_TEMP_TO_REG() local
29 ntemp += (ntemp < 0 ? -250 : 250); in LM75_TEMP_TO_REG()
30 return (u16)((ntemp / 500) << 7); in LM75_TEMP_TO_REG()
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()
Djc42.c209 int ntemp = clamp_val(temp, in jc42_temp_to_reg() local
214 return (ntemp * 2 / 125) & 0x1fff; in jc42_temp_to_reg()
Dw83627hf.c270 int ntemp = clamp_val(temp, TEMP_MIN, TEMP_MAX); in TEMP_TO_REG() local
271 ntemp += (ntemp < 0 ? -500 : 500); in TEMP_TO_REG()
272 return (u8)(ntemp / 1000); in TEMP_TO_REG()
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()
/drivers/gpu/drm/nouveau/
Dnouveau_usif.c413 struct usif_notify *notify, *ntemp; in usif_client_fini() local
415 list_for_each_entry_safe(notify, ntemp, &cli->notifys, head) { in usif_client_fini()