Searched full:coulomb (Results 1 – 16 of 16) sorted by relevance
/Linux-v6.6/drivers/power/supply/ |
D | cpcap-battery.c | 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 [all …]
|
D | sc27xx_fuel_gauge.c | 85 * @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 …]
|
D | ug3105_battery.c | 7 * 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()
|
D | 88pm860x_battery.c | 48 /* bit definitions of Coulomb Counter Reading Register */ 60 /* coulomb counter index */ 961 "coulomb", info); in pm860x_battery_probe()
|
D | ab8500_fg.c | 460 * ab8500_fg_coulomb_counter() - enable coulomb counter 464 * Enable/Disable coulomb counter. 523 dev_err(di->dev, "%s Enabling coulomb counter failed\n", __func__); in ab8500_fg_coulomb_counter() 754 * coulomb counter. 3042 /* Start the coulomb counter */ in ab8500_fg_bind() 3056 /* Disable coulomb counter */ in ab8500_fg_unbind() 3059 dev_err(dev, "failed to disable coulomb counter\n"); in ab8500_fg_unbind()
|
D | Kconfig | 939 microcontroller reading its coulomb-counter before it can wrap 942 Since Linux does not monitor coulomb-counter changes while the
|
/Linux-v6.6/include/linux/mfd/ |
D | motorola-cpcap.h | 132 #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 */
|
D | rohm-bd71828.h | 312 /* Battery Mon 3 (Coulomb counter) */ 397 /* Battery Mon 3 (Coulomb counter) */
|
D | rohm-bd71815.h | 441 /* Battery Mon 3 (Coulomb counter) INT_STAT_09 */
|
/Linux-v6.6/Documentation/devicetree/bindings/power/supply/ |
D | cpcap-battery.yaml | 33 - description: coulomb counter calibration interrupt
|
D | sc27xx-fg.yaml | 48 description: real resistance of coulomb counter chip in micro Ohms
|
/Linux-v6.6/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd71815-pmic.yaml | 15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb
|
D | rohm,bd71828-pmic.yaml | 15 single-cell linear charger. Also included is a Coulomb counter, a real-time
|
/Linux-v6.6/drivers/mfd/ |
D | rohm-bd71828.c | 289 /* Battery Mon 3 (Coulomb counter) */ 380 /* Battery Mon 3 (Coulomb counter) */
|
D | Kconfig | 544 functions, such as regulators, RTC, codec, Coulomb counter, etc. 558 multi-functions, such as regulators, RTC, codec, Coulomb counter, 2075 also a single-cell linear charger, a Coulomb counter, a real-time
|
/Linux-v6.6/Documentation/power/ |
D | power_supply_class.rst | 181 battery or coulomb counter calibration status
|