Lines Matching full:charging
6 * Charging algorithm driver for AB8500
51 * full charging cycle in the case where maintenance charging
171 * @current_iset_ua: the charging current used at this moment
178 * @level: tells in how many steps the charging current has been
197 * struct ab8500_chargalg - ab8500 Charging algorithm device information
206 * @charge_state: current state of the charging algorithm
207 * @ccm charging current maximization parameters
213 * the charging algorithm
215 * @chargalg_wq: work queue for running the charging algorithm
216 * @chargalg_periodic_work: work to run the charging algorithm periodically
218 * @chargalg_work: work to run the charging algorithm instantly
219 * @safety_timer: charging safety timer
220 * @maintenance_timer: maintenance charging timer
357 dev_info(di->dev, "Charging source is AC\n"); in ab8500_chargalg_check_charger_connection()
363 dev_info(di->dev, "Charging source is USB\n"); in ab8500_chargalg_check_charger_connection()
367 dev_dbg(di->dev, "Charging source is OFF\n"); in ab8500_chargalg_check_charger_connection()
377 * ab8500_chargalg_start_safety_timer() - Start charging safety timer
410 * ab8500_chargalg_stop_safety_timer() - Stop charging safety timer
422 * ab8500_chargalg_start_maintenance_timer() - Start charging maintenance timer
463 /* Check if charger exists and kick watchdog if charging */ in ab8500_chargalg_kick_watchdog()
541 /* Check if charger exists and update current if charging */ in ab8500_chargalg_update_chg_curr()
572 * ab8500_chargalg_stop_charging() - Stop charging
575 * This function is called from any state where charging should be stopped.
576 * All charging is disabled and all status parameters and timers are changed
592 * ab8500_chargalg_hold_charging() - Pauses charging
595 * This function is called in the case where maintenance charging has been
770 * current during charging is affected by the system load
1191 * ab8500_chargalg_time_to_restart() - time to restart CC/CV charging?
1192 * @di: charging algorithm state
1205 /* Some batteries tell us at which voltage we should restart charging */ in ab8500_chargalg_time_to_restart()
1222 * This is the main control function for the charging algorithm.
1251 * Also we don't allow charging of unknown batteries if configured in ab8500_chargalg_algorithm()
1270 * that will prevent us from charging in ab8500_chargalg_algorithm()
1297 /* USB Thermal, stop charging */ in ab8500_chargalg_algorithm()
1416 /* "charging" with 0 uA */ in ab8500_chargalg_algorithm()
1441 * maintenance charging else go back to waiting for in ab8500_chargalg_algorithm()
1489 * maintenance charging, especially in older batteries. in ab8500_chargalg_algorithm()
1493 dev_info(di->dev, "restarted charging from maintenance state A - battery getting old?\n"); in ab8500_chargalg_algorithm()
1521 * maintenance charging, especially in older batteries. in ab8500_chargalg_algorithm()
1525 dev_info(di->dev, "restarted charging from maintenance state B - battery getting old?\n"); in ab8500_chargalg_algorithm()
1576 /* Start charging directly if the new state is a charge state */ in ab8500_chargalg_algorithm()
1587 * Work queue function for the charging algorithm
1631 * ab8500_chargalg_work() - Work to run the charging algorithm instantly
1634 * Work queue function for calling the charging algorithm
1652 * status: charging/discharging/full/unknown
1691 /* Kick charger watchdog if charging (any charger online) */ in ab8500_chargalg_resume()
1696 * Run the charging algorithm directly to be sure we don't in ab8500_chargalg_resume()
1742 /* Run the charging algorithm */ in ab8500_chargalg_bind()
1850 MODULE_DESCRIPTION("ab8500 battery charging algorithm");