Lines Matching defs:soc
149 int soc;
203 u32 soc;
205 regmap_read(chip->regmap, MAX17040_SOC, &soc);
207 return soc >> (chip->quirk_double_soc ? 9 : 8);
234 "maxim,double-soc");
238 "maxim,alert-low-soc-level",
243 dev_err(dev, "maxim,alert-low-soc-level out of bounds\n");
264 chip->soc = max17040_get_soc(chip);
288 last_soc = chip->soc;
292 if (last_soc != chip->soc)
307 // this alert was caused by low soc
311 // soc change bit -- deassert to mark as handled
531 /* soc alerts negate the need for polling */
559 // disable soc alert to prevent wakeup