Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dgl518sm.c76 #define TEMP_CLAMP(val) clamp_val(val, -119000, 136000) macro
77 #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 119)
Dgl520sm.c498 #define TEMP_CLAMP(val) clamp_val(val, -130000, 125000) macro
499 #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 130)