Home
last modified time | relevance | path

Searched refs:IN_CLAMP (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A 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)
H A 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)
/kernel/linux/linux-6.6/drivers/hwmon/
H A 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)
H A 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)

Completed in 5 milliseconds