Searched refs:BQ27XXX_RS (Results 1 – 1 of 1) sorted by relevance
75 #define BQ27XXX_RS (20) /* Resistor sense mOhm */ macro513 charge *= BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS; in bq27xxx_battery_read_charge()565 dcap = (dcap << 8) * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS; in bq27xxx_battery_read_dcap()587 ae *= BQ27XXX_POWER_CONSTANT / BQ27XXX_RS; in bq27xxx_battery_read_energy()666 return (tval * BQ27XXX_POWER_CONSTANT) / BQ27XXX_RS; in bq27xxx_battery_read_pwr_avg()822 val->intval = curr * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS; in bq27xxx_battery_current()