Lines Matching full:charging

6  * Charging algorithm driver for abx500 variants
179 * @current_iset: the charging current used at this moment
188 * @level: tells in how many steps the charging current has been
208 * struct abx500_chargalg - abx500 Charging algorithm device information
217 * @charge_state: current state of the charging algorithm
218 * @ccm charging current maximization parameters
226 * the charging algorithm
228 * @chargalg_wq: work queue for running the charging algorithm
229 * @chargalg_periodic_work: work to run the charging algorithm periodically
231 * @chargalg_work: work to run the charging algorithm instantly
232 * @safety_timer: charging safety timer
233 * @maintenance_timer: maintenance charging timer
385 dev_dbg(di->dev, "Charging source is AC\n"); in abx500_chargalg_check_charger_connection()
392 dev_dbg(di->dev, "Charging source is USB\n"); in abx500_chargalg_check_charger_connection()
398 dev_dbg(di->dev, "Charging is suspended\n"); in abx500_chargalg_check_charger_connection()
402 dev_dbg(di->dev, "Charging source is OFF\n"); in abx500_chargalg_check_charger_connection()
413 * abx500_chargalg_check_current_step_status() - Check charging current
417 * This function will check if there is a change in the charging current step
429 * abx500_chargalg_start_safety_timer() - Start charging safety timer
462 * abx500_chargalg_stop_safety_timer() - Stop charging safety timer
474 * abx500_chargalg_start_maintenance_timer() - Start charging maintenance timer
514 /* Check if charger exists and kick watchdog if charging */ in abx500_chargalg_kick_watchdog()
518 * If AB charger watchdog expired, pm2xxx charging in abx500_chargalg_kick_watchdog()
612 /* Check if charger exists and update current if charging */ in abx500_chargalg_update_chg_curr()
643 * abx500_chargalg_stop_charging() - Stop charging
646 * This function is called from any state where charging should be stopped.
647 * All charging is disabled and all status parameters and timers are changed
663 * abx500_chargalg_hold_charging() - Pauses charging
666 * This function is called in the case where maintenance charging has been
835 * current during charging is affected by the system load
1283 * This is the main control function for the charging algorithm.
1313 * Also we don't allow charging of unknown batteries if configured in abx500_chargalg_algorithm()
1338 * that will prevent us from charging in abx500_chargalg_algorithm()
1365 /* USB Thermal, stop charging */ in abx500_chargalg_algorithm()
1441 /* CHARGING is suspended */ in abx500_chargalg_algorithm()
1629 /* Start charging directly if the new state is a charge state */ in abx500_chargalg_algorithm()
1640 * Work queue function for the charging algorithm
1686 * abx500_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 abx500_chargalg_curr_step_store()
1768 "1--100. Set AC/USB charging current step\n" in abx500_chargalg_curr_step_store()
1769 "100. Enable AC/USB Charging\n"); in abx500_chargalg_curr_step_store()
1797 /* Disable charging */ in abx500_chargalg_en_store()
1806 /* Enable AC Charging */ in abx500_chargalg_en_store()
1814 /* Enable USB charging */ in abx500_chargalg_en_store()
1823 "Enter 0. Disable AC/USB Charging\n" in abx500_chargalg_en_store()
1824 "1. Enable AC charging\n" in abx500_chargalg_en_store()
1825 "2. Enable USB Charging\n"); in abx500_chargalg_en_store()
1921 /* Kick charger watchdog if charging (any charger online) */ in abx500_chargalg_resume()
1926 * Run the charging algorithm directly to be sure we don't in abx500_chargalg_resume()
1955 /* sysfs interface to enable/disbale charging from user space */ in abx500_chargalg_remove()
2062 /* sysfs interface to enable/disable charging from user space */ in abx500_chargalg_probe()
2070 /* Run the charging algorithm */ in abx500_chargalg_probe()
2104 MODULE_DESCRIPTION("abx500 battery charging algorithm");