Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq27xxx_battery.c91 #define BQ27XXX_POWER_CONSTANT (29200) /* 29.2 µV^2 * 1000 */ macro
1635 ae *= BQ27XXX_POWER_CONSTANT / BQ27XXX_RS;
1925 val->intval = (power * BQ27XXX_POWER_CONSTANT) / BQ27XXX_RS;