Home
last modified time | relevance | path

Searched refs:TEMP1_TO_REG (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dw83791d.c227 #define TEMP1_TO_REG(val) ((val) <= -128000 ? -128 : \ macro
942 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()
H A Dw83792d.c234 #define TEMP1_TO_REG(val) (clamp_val(((val) < 0 ? (val) + 0x100 * 1000 \ macro
511 data->temp1[nr] = TEMP1_TO_REG(val); in store_temp1()