Searched refs:VDD_CLAMP (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | gl518sm.c | 94 #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 D | gl520sm.c | 198 #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 D | gl518sm.c | 94 #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 D | gl520sm.c | 198 #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