Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dgl520sm.c199 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95) macro
261 r = VDD_TO_REG(v); in in_min_store()
293 r = VDD_TO_REG(v); in in_max_store()
H A Dgl518sm.c95 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95) macro