Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hwmon/
Dgl518sm.c90 #define IN_CLAMP(val) clamp_val(val, 0, 255 * 19) macro
91 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19)
Dgl520sm.c202 #define IN_CLAMP(val) clamp_val(val, 0, 255 * 19) macro
203 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19)