Lines Matching full:coulomb

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()
1097 dev_err(data->dev, "failed to set low delta coulomb counter\n"); in sc27xx_fgu_hw_init()
1105 dev_err(data->dev, "failed to set high delta coulomb counter\n"); in sc27xx_fgu_hw_init()
1111 * initialize the coulomb counter. After that, we can read the coulomb in sc27xx_fgu_hw_init()
1121 * Convert battery capacity to the corresponding initial coulomb counter in sc27xx_fgu_hw_init()
1122 * and set into coulomb counter registers. in sc27xx_fgu_hw_init()
1127 dev_err(data->dev, "failed to initialize coulomb counter\n"); in sc27xx_fgu_hw_init()
1304 * coulomb counter threshold interrupt to notify events to adjust the in sc27xx_fgu_suspend()
1314 "failed to enable coulomb threshold int\n"); in sc27xx_fgu_suspend()