Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dcpcap-battery.c55 * 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
[all …]
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()
789 dev_err(data->dev, "failed to get init coulomb counter\n"); in sc27xx_fgu_adjust_cap()
959 * Convert current capacity (mAh) to coulomb counter according to the in sc27xx_fgu_cap_to_clbcnt()
960 * formula: 1 mAh =3.6 coulomb. in sc27xx_fgu_cap_to_clbcnt()
1093 * Set the coulomb counter delta threshold, that means when the coulomb in sc27xx_fgu_hw_init()
[all …]
D88pm860x_battery.c48 /* bit definitions of Coulomb Counter Reading Register */
60 /* coulomb counter index */
961 "coulomb", info); in pm860x_battery_probe()
Dab8500_fg.c457 * ab8500_fg_coulomb_counter() - enable coulomb counter
461 * Enable/Disable coulomb counter.
520 dev_err(di->dev, "%s Enabling coulomb counter failed\n", __func__); in ab8500_fg_coulomb_counter()
752 * coulomb counter.
2995 /* Disable coulomb counter */ in ab8500_fg_remove()
2998 dev_err(di->dev, "failed to disable coulomb counter\n"); in ab8500_fg_remove()
/Linux-v5.10/include/linux/mfd/
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 */
Drohm-bd71828.h309 /* Battery Mon 3 (Coulomb counter) */
394 /* Battery Mon 3 (Coulomb counter) */
/Linux-v5.10/drivers/staging/hikey9xx/
DKconfig33 multi-functions, such as regulators, RTC, codec, Coulomb counter,
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dab8500.txt28 : CC_INT_CALIB : : Coulomb Counter Internal Calibration
29 : CCEOC : : Coulomb Counter End of Conversion
Drohm,bd71828-pmic.yaml15 single-cell linear charger. Also included is a Coulomb counter, a real-time
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dsc27xx-fg.txt16 - sprd,calib-resistance-micro-ohms: Specify the real resistance of coulomb counter
/Linux-v5.10/drivers/mfd/
Drohm-bd71828.c215 /* Battery Mon 3 (Coulomb counter) */
DKconfig506 functions, such as regulators, RTC, codec, Coulomb counter, etc.
2010 Also included is a Coulomb counter, a real-time clock (RTC), and
/Linux-v5.10/Documentation/power/
Dpower_supply_class.rst181 battery or coulomb counter calibration status