Searched refs:LN2_PWR_UNITS (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/hwmon/ |
D | lochnagar-hwmon.c | 28 #define LN2_PWR_UNITS 1000000 macro 211 power = 5 * LN2_PWR_UNITS; in read_power() 213 ret = read_sensor(dev, chan, LN2_VOLT, 1, LN2_PWR_UNITS, val); in read_power() 220 ret = read_sensor(dev, chan, LN2_CURR, nsamples, LN2_PWR_UNITS, val); in read_power() 225 power = DIV_ROUND_CLOSEST_ULL(power, LN2_PWR_UNITS); in read_power()
|