Home
last modified time | relevance | path

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

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

Completed in 6 milliseconds