Searched refs:ntemp (Results 1 – 6 of 6) sorted by relevance
/drivers/hwmon/ |
D | lm75.h | 27 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()
|
D | asb100.c | 138 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()
|
D | jc42.c | 209 int ntemp = clamp_val(temp, in jc42_temp_to_reg() local 214 return (ntemp * 2 / 125) & 0x1fff; in jc42_temp_to_reg()
|
D | w83627hf.c | 270 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()
|
D | lm93.c | 427 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/ |
D | nouveau_usif.c | 382 struct usif_notify *notify, *ntemp; in usif_client_fini() local 384 list_for_each_entry_safe(notify, ntemp, &cli->notifys, head) { in usif_client_fini()
|