Lines Matching full:charging

6  * Charging algorithm driver for AB8500
181 * @current_iset: the charging current used at this moment
190 * @level: tells in how many steps the charging current has been
210 * struct ab8500_chargalg - ab8500 Charging algorithm device information
219 * @charge_state: current state of the charging algorithm
220 * @ccm charging current maximization parameters
228 * the charging algorithm
230 * @chargalg_wq: work queue for running the charging algorithm
231 * @chargalg_periodic_work: work to run the charging algorithm periodically
233 * @chargalg_work: work to run the charging algorithm instantly
234 * @safety_timer: charging safety timer
235 * @maintenance_timer: maintenance charging timer
387 dev_dbg(di->dev, "Charging source is AC\n"); in ab8500_chargalg_check_charger_connection()
394 dev_dbg(di->dev, "Charging source is USB\n"); in ab8500_chargalg_check_charger_connection()
400 dev_dbg(di->dev, "Charging is suspended\n"); in ab8500_chargalg_check_charger_connection()
404 dev_dbg(di->dev, "Charging source is OFF\n"); in ab8500_chargalg_check_charger_connection()
415 * ab8500_chargalg_check_current_step_status() - Check charging current
419 * This function will check if there is a change in the charging current step
431 * ab8500_chargalg_start_safety_timer() - Start charging safety timer
464 * ab8500_chargalg_stop_safety_timer() - Stop charging safety timer
476 * ab8500_chargalg_start_maintenance_timer() - Start charging maintenance timer
516 /* Check if charger exists and kick watchdog if charging */ in ab8500_chargalg_kick_watchdog()
520 * If AB charger watchdog expired, pm2xxx charging in ab8500_chargalg_kick_watchdog()
613 /* Check if charger exists and update current if charging */ in ab8500_chargalg_update_chg_curr()
644 * ab8500_chargalg_stop_charging() - Stop charging
647 * This function is called from any state where charging should be stopped.
648 * All charging is disabled and all status parameters and timers are changed
664 * ab8500_chargalg_hold_charging() - Pauses charging
667 * This function is called in the case where maintenance charging has been
836 * current during charging is affected by the system load
1286 * This is the main control function for the charging algorithm.
1316 * Also we don't allow charging of unknown batteries if configured in ab8500_chargalg_algorithm()
1341 * that will prevent us from charging in ab8500_chargalg_algorithm()
1368 /* USB Thermal, stop charging */ in ab8500_chargalg_algorithm()
1444 /* CHARGING is suspended */ in ab8500_chargalg_algorithm()
1631 /* Start charging directly if the new state is a charge state */ in ab8500_chargalg_algorithm()
1642 * Work queue function for the charging algorithm
1686 * ab8500_chargalg_work() - Work to run the charging algorithm instantly
1689 * Work queue function for calling the charging algorithm
1707 * status: charging/discharging/full/unknown
1767 "Enter 0. Disable AC/USB Charging\n" in ab8500_chargalg_curr_step_store()
1768 "1--100. Set AC/USB charging current step\n" in ab8500_chargalg_curr_step_store()
1769 "100. Enable AC/USB Charging\n"); in ab8500_chargalg_curr_step_store()
1797 /* Disable charging */ in ab8500_chargalg_en_store()
1806 /* Enable AC Charging */ in ab8500_chargalg_en_store()
1814 /* Enable USB charging */ in ab8500_chargalg_en_store()
1823 "Enter 0. Disable AC/USB Charging\n" in ab8500_chargalg_en_store()
1824 "1. Enable AC charging\n" in ab8500_chargalg_en_store()
1825 "2. Enable USB Charging\n"); in ab8500_chargalg_en_store()
1920 /* Kick charger watchdog if charging (any charger online) */ in ab8500_chargalg_resume()
1925 * Run the charging algorithm directly to be sure we don't in ab8500_chargalg_resume()
1971 /* Run the charging algorithm */ in ab8500_chargalg_bind()
2053 /* sysfs interface to enable/disable charging from user space */ in ab8500_chargalg_probe()
2071 /* sysfs interface to enable/disable charging from user space */ in ab8500_chargalg_remove()
2096 MODULE_DESCRIPTION("ab8500 battery charging algorithm");