Lines Matching full:coulomb
49 * coulomb counter registers rather than the mc13892 registers. Both twl6030
51 * sets bit 0 to start the coulomb counter while twl6030 sets bit 0 to stop
52 * the coulomb counter like cpcap does. So for now, we use the twl6030 style
234 * cpcap_battery_cc_raw_div - calculate and divide coulomb counter μAms values
236 * @sample: coulomb counter sample value
237 * @accumulator: coulomb counter integrator value
238 * @offset: coulomb counter offset value
248 * A coulomb counter for similar hardware seems to be documented in
252 * TI or ST coulomb counter in the PMIC.
293 * cpcap_battery_read_accumulated - reads cpcap coulomb counter
295 * @ccd: coulomb counter values
298 * Looking at the registers, the coulomb counter seems similar to
299 * the coulomb counter in TWL6030. See "TWL6030 Gas Gauging Basics
302 * Note that swca095a.pdf instructs to stop the coulomb counter
319 /* Read coulomb counter register range */ in cpcap_battery_read_accumulated()
336 * Coulomb counter calibration offset is CPCAP_REG_CCM, in cpcap_battery_read_accumulated()
446 /* Coulomb counter integrator */ in cpcap_battery_cc_get_avg_current()
459 /* Coulomb counter calibration offset */ in cpcap_battery_cc_get_avg_current()
891 dev_info(ddata->dev, "Coulomb counter calibration done\n"); in cpcap_battery_irq_thread()
1013 /* Calibrate coulomb counter */