Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dadm1272-test.c64 #define ADM1272_SHUNT 300 /* micro-ohms */ macro
118 c.m = c.m * ADM1272_SHUNT / 1000; /* micro-ohms */ in adm1272_milliamps_to_direct()
127 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_milliamps()
136 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_watts_to_direct()
143 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_watts()
/openbmc/qemu/hw/sensor/
H A Dadm1272.c64 #define ADM1272_SHUNT 300 /* micro-ohms */ macro
159 c.m = c.m * ADM1272_SHUNT / 1000; /* micro-ohms */ in adm1272_milliamps_to_direct()
168 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_milliamps()
177 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_watts_to_direct()
184 c.m = c.m * ADM1272_SHUNT / 1000; in adm1272_direct_to_watts()