Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dgl518sm.c94 #define VDD_CLAMP(val) clamp_val(val, 0, 255 * 95 / 4) macro
95 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95)
Dgl520sm.c198 #define VDD_CLAMP(val) clamp_val(val, 0, 255 * 95 / 4) macro
199 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95)