Lines Matching full:coulomb
55 * coulomb counter registers rather than the mc13892 registers. Both twl6030
57 * sets bit 0 to start the coulomb counter while twl6030 sets bit 0 to stop
58 * the coulomb counter like cpcap does. So for now, we use the twl6030 style
216 * cpcap_battery_cc_raw_div - calculate and divide coulomb counter μAms values
218 * @sample: coulomb counter sample value
219 * @accumulator: coulomb counter integrator value
220 * @offset: coulomb counter offset value
230 * A coulomb counter for similar hardware seems to be documented in
234 * TI or ST coulomb counter in the PMIC.
275 * cpcap_battery_read_accumulated - reads cpcap coulomb counter
277 * @ccd: coulomb counter values
280 * Looking at the registers, the coulomb counter seems similar to
281 * the coulomb counter in TWL6030. See "TWL6030 Gas Gauging Basics
284 * Note that swca095a.pdf instructs to stop the coulomb counter
301 /* Read coulomb counter register range */ in cpcap_battery_read_accumulated()
318 * Coulomb counter calibration offset is CPCAP_REG_CCM, in cpcap_battery_read_accumulated()
346 /* Coulomb counter integrator */ in cpcap_battery_cc_get_avg_current()
359 /* Coulomb counter calibration offset */ in cpcap_battery_cc_get_avg_current()
636 dev_info(ddata->dev, "Coulomb counter calibration done\n"); in cpcap_battery_irq_thread()
758 /* Calibrate coulomb counter */