Searched refs:discharging (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/include/linux/power/
H A Dtwl4030_madc_battery.h23 * charging and discharging!
35 struct twl4030_madc_bat_calibration *discharging; member in struct:twl4030_madc_bat_platform_data
H A Dcharger-manager.h167 * Maximum possible duration for discharging with charger cable
168 * after full-batt. If discharging duration exceed 'discharging
/linux-4.1.27/drivers/power/
H A Dtwl4030_madc_battery.c85 calibration = bat->pdata->discharging; twl4030_madc_bat_voltscale()
222 /* sort charging and discharging calibration data */ twl4030_madc_battery_probe()
226 sort(pdata->discharging, pdata->discharging_size, twl4030_madc_battery_probe()
H A D88pm860x_battery.c214 * Negative value means discharging, and positive value means charging.
661 ibatt_sum1 = ibatt_sum1 - data; /* discharging */ calc_resistor()
684 ibatt_sum2 = ibatt_sum2 - data; /* discharging */ calc_resistor()
695 /* calculate resistor in discharging case */ calc_resistor()
749 /* Calculate the capacity when discharging(ibat < 0) */ calc_capacity()
774 /* when discharging, make sure current capacity calc_capacity()
784 (ibat < 0) ? "discharging" : "charging", calc_capacity()
H A Dtest_power.c262 { POWER_SUPPLY_STATUS_DISCHARGING, "discharging" },
509 "battery status <charging|discharging|not-charging|full>");
H A Dcharger-manager.c548 * check_charging_duration - Monitor charging/discharging duration
552 * cm stop charging to prevent overcharge/overheat. If discharging
553 * duration exceed 'discharging _max_duration_ms', charger cable is
1554 of_property_read_u32(np, "cm-discharging-max", of_cm_parse_desc()
1713 dev_info(&pdev->dev, "Cannot limit charging duration checking mechanism to prevent overcharge/overheat and control discharging duration\n"); charger_manager_probe()
H A Dda9150-charger.c147 /* Check to see if battery is discharging */ da9150_charger_battery_status()
H A Dolpc_battery.c109 if (!(ec_byte & BAT_STAT_AC)) /* No AC means discharging */ olpc_bat_get_status()
H A Dbq24190_charger.c961 * The battery must be discharging when any of these are true: bq24190_battery_get_status()
964 * Could also be discharging when in "supplement mode" but bq24190_battery_get_status()
H A Dab8500_fg.c1530 * ab8500_fg_algorithm_discharging() - FG algorithm for when discharging
1533 * Battery capacity calculation state machine for when we're discharging
H A Dabx500_chargalg.c1773 * status: charging/discharging/full/unknown
/linux-4.1.27/drivers/sbus/char/
H A Ductrl.c84 "internal battery currently discharging",
85 "external battery currently discharging",
/linux-4.1.27/drivers/acpi/
H A Dbattery.c179 /* charging, discharging or critical low */ acpi_battery_is_charged()
527 * charging or discharging current and/or report 0 as 65536 acpi_battery_get_state()
867 "charging state: charging/discharging\n"); acpi_battery_print_state()
869 seq_printf(seq, "charging state: discharging\n"); acpi_battery_print_state()
H A Dac.c295 * discharging. Re-reading AC status triggers lost AC notifications, acpi_ac_battery_notify()
/linux-4.1.27/drivers/usb/phy/
H A Dphy-fsl-usb.c130 /* stop discharging, start charging */ fsl_otg_chrg_vbus()
148 /* stop charging, start discharging */ fsl_otg_dischrg_vbus()
152 /* stop discharging */ fsl_otg_dischrg_vbus()
/linux-4.1.27/arch/blackfin/mach-bf527/include/mach/
H A DdefBF525.h456 #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
458 #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
/linux-4.1.27/arch/blackfin/mach-bf548/include/mach/
H A DdefBF542.h607 #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
608 #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
H A DdefBF547.h884 #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */
885 #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */
/linux-4.1.27/sound/soc/codecs/
H A Dwm8994.c943 /* Start discharging VMID */ vmid_dereference()

Completed in 828 milliseconds