Home
last modified time | relevance | path

Searched full:coulomb (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/power/supply/
H A Dcpcap-battery.c49 * 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
[all …]
H A Dsc27xx_fuel_gauge.c85 * @init_clbcnt: the initial coulomb counter
93 * @calib_resist: the real resistance of coulomb counter chip in uOhm
281 * When system boots on, we can not read battery capacity from coulomb
282 * registers, since now the coulomb registers are invalid. So we should
427 /* Get current coulomb counters firstly */ in sc27xx_fgu_get_capacity()
435 * Convert coulomb counter to delta capacity (mAh), and set multiplier in sc27xx_fgu_get_capacity()
782 dev_err(data->dev, "failed to get init coulomb counter\n"); in sc27xx_fgu_adjust_cap()
952 * Convert current capacity (mAh) to coulomb counter according to the in sc27xx_fgu_cap_to_clbcnt()
953 * formula: 1 mAh =3.6 coulomb. in sc27xx_fgu_cap_to_clbcnt()
1086 * Set the coulomb counter delta threshold, that means when the coulomb in sc27xx_fgu_hw_init()
[all …]
H A Dug3105_battery.c7 * its coulomb-counter before it can wrap (must be read every 400 seconds!).
9 * Since Linux does not monitor coulomb-counter changes while the device
10 * is off or suspended, the coulomb counter is not used atm.
211 * Read + reset coulomb counter every 10 polls (every 300 seconds) in ug3105_work()
221 * dev_dbg(&chip->client->dev, "coulomb count %d total %d\n", in ug3105_work()
/linux/include/linux/mfd/
H A Dmotorola-cpcap.h132 #define CPCAP_REG_CCC1 0x0a00 /* Coulomb Counter Control 1 */
134 #define CPCAP_REG_CCCC2 0x0a08 /* Coincell and Coulomb Ctr Ctrl 2 */
135 #define CPCAP_REG_CCS1 0x0a0c /* Coulomb Counter Sample 1 */
136 #define CPCAP_REG_CCS2 0x0a10 /* Coulomb Counter Sample 2 */
137 #define CPCAP_REG_CCA1 0x0a14 /* Coulomb Counter Accumulator 1 */
138 #define CPCAP_REG_CCA2 0x0a18 /* Coulomb Counter Accumulator 2 */
139 #define CPCAP_REG_CCM 0x0a1c /* Coulomb Counter Mode */
140 #define CPCAP_REG_CCO 0x0a20 /* Coulomb Counter Offset */
141 #define CPCAP_REG_CCI 0x0a24 /* Coulomb Counter Integrator */
H A Drohm-bd71815.h441 /* Battery Mon 3 (Coulomb counter) INT_STAT_09 */
/linux/Documentation/devicetree/bindings/power/supply/
H A Dsc27xx-fg.yaml56 description: real resistance of coulomb counter chip in micro Ohms
H A Dcpcap-battery.yaml33 - description: coulomb counter calibration interrupt
/linux/Documentation/devicetree/bindings/mfd/
H A Drohm,bd71828-pmic.yaml15 single-cell linear charger. Also included is a Coulomb counter, a real-time
/linux/drivers/mfd/
H A Drohm-bd71828.c289 /* Battery Mon 3 (Coulomb counter) */
380 /* Battery Mon 3 (Coulomb counter) */
/linux/Documentation/power/
H A Dpower_supply_class.rst181 battery or coulomb counter calibration status