Home
last modified time | relevance | path

Searched refs:TEMP_TO_REG (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hwmon/
H A Dw83793.c199 static inline s8 TEMP_TO_REG(long val, s8 min, s8 max) in TEMP_TO_REG() function
596 data->temp[index][nr] = TEMP_TO_REG(tmp, -128, 127); in store_temp()
746 data->temp_critical |= TEMP_TO_REG(val, 0, 0x7f); in store_sf_setup()
850 data->temp_cruise[index] |= TEMP_TO_REG(val, 0, 0x7f); in store_sf_ctrl()
861 data->tolerance[i] |= TEMP_TO_REG(val, 0, 0x0f) << shift; in store_sf_ctrl()
939 val = TEMP_TO_REG(val, 0, 0x7f); in store_sf2_temp()
H A Dpc87360.c179 #define TEMP_TO_REG(val) ((val) < -55000 ? -55 : \ macro
931 data->temp_min[attr->index] = TEMP_TO_REG(val); in temp_min_store()
966 data->temp_max[attr->index] = TEMP_TO_REG(val); in temp_max_store()
1002 data->temp_crit[attr->index] = TEMP_TO_REG(val); in temp_crit_store()
H A Dw83627hf.c268 static u8 TEMP_TO_REG(long temp) in TEMP_TO_REG() function
1239 tmp = (nr) ? LM75_TEMP_TO_REG(val) : TEMP_TO_REG(val); in temp_max_store()
1273 tmp = (nr) ? LM75_TEMP_TO_REG(val) : TEMP_TO_REG(val); in temp_max_hyst_store()