Lines Matching full:charge
62 #define BQ27XXX_FLAG_SOCF BIT(1) /* State-of-Charge threshold final */
63 #define BQ27XXX_FLAG_SOC1 BIT(2) /* State-of-Charge threshold 1 */
76 #define BQ27000_FLAG_CHGS BIT(7) /* Charge state flag */
113 BQ27XXX_REG_FCC, /* Full Charge Capacity */
116 BQ27XXX_REG_SOC, /* State-of-Charge */
1427 dev_warn(di->dev, "missing battery:charge-full-design-microamp-hours\n");
1441 dev_err(di->dev, "invalid battery:charge-full-design-microamp-hours %d\n",
1463 * Return the battery State-of-Charge
1476 dev_dbg(di->dev, "error reading State-of-Charge\n");
1482 * Return a battery charge value in µAh
1487 int charge; local
1489 charge = bq27xxx_read(di, reg, false);
1490 if (charge < 0) {
1491 dev_dbg(di->dev, "error reading charge register %02x: %d\n",
1492 reg, charge);
1493 return charge;
1497 charge *= BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1499 charge *= 1000;
1501 return charge;
1522 * Return the battery Full Charge Capacity in µAh
1659 * Returns true if a low state of charge condition is detected
1722 /* We only have to read charge design full once */