Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dbq27xxx_battery.c89 #define BQ27XXX_RS (20) /* Resistor sense mOhm */ macro
1497 charge *= BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1549 dcap = (dcap << 8) * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1571 ae *= BQ27XXX_POWER_CONSTANT / BQ27XXX_RS;
1650 return (tval * BQ27XXX_POWER_CONSTANT) / BQ27XXX_RS;
1797 val->intval = curr * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;