Searched refs:charge_status (Results 1 – 6 of 6) sorted by relevance
34 struct gpio_desc *charge_status; member95 if (gpiod_get_value_cansleep(gpio_charger->charge_status)) in gpio_charger_get_property()258 struct gpio_desc *charge_status; in gpio_charger_probe() local289 charge_status = devm_gpiod_get_optional(dev, "charge-status", GPIOD_IN); in gpio_charger_probe()290 if (IS_ERR(charge_status)) in gpio_charger_probe()291 return PTR_ERR(charge_status); in gpio_charger_probe()292 if (charge_status) { in gpio_charger_probe()293 gpio_charger->charge_status = charge_status; in gpio_charger_probe()343 gpio_charger->charge_status); in gpio_charger_probe()
108 int charge_status; /* POWER_SUPPLY_STATUS_* */ member391 int old_charge_status = di->charge_status; in ds2760_battery_update_status()395 if (di->charge_status == POWER_SUPPLY_STATUS_UNKNOWN) in ds2760_battery_update_status()400 di->charge_status = POWER_SUPPLY_STATUS_CHARGING; in ds2760_battery_update_status()403 if (di->charge_status != POWER_SUPPLY_STATUS_NOT_CHARGING) in ds2760_battery_update_status()406 di->charge_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in ds2760_battery_update_status()409 di->charge_status != POWER_SUPPLY_STATUS_FULL) { in ds2760_battery_update_status()418 di->charge_status = POWER_SUPPLY_STATUS_CHARGING; in ds2760_battery_update_status()420 di->charge_status = POWER_SUPPLY_STATUS_FULL; in ds2760_battery_update_status()426 di->charge_status = POWER_SUPPLY_STATUS_DISCHARGING; in ds2760_battery_update_status()[all …]
225 int charge_status; member614 di->charge_status = POWER_SUPPLY_STATUS_NOT_CHARGING; in ab8500_chargalg_stop_charging()634 di->charge_status = POWER_SUPPLY_STATUS_CHARGING; in ab8500_chargalg_hold_charging()755 if (di->charge_status == POWER_SUPPLY_STATUS_CHARGING && in ab8500_chargalg_end_of_charge()765 di->charge_status = POWER_SUPPLY_STATUS_FULL; in ab8500_chargalg_end_of_charge()1337 di->charge_status, in ab8500_chargalg_algorithm()1354 di->charge_status = POWER_SUPPLY_STATUS_DISCHARGING; in ab8500_chargalg_algorithm()1430 di->charge_status = POWER_SUPPLY_STATUS_CHARGING; in ab8500_chargalg_algorithm()1439 if (di->charge_status == POWER_SUPPLY_STATUS_FULL && in ab8500_chargalg_algorithm()1530 di->charge_status = POWER_SUPPLY_STATUS_CHARGING; in ab8500_chargalg_algorithm()[all …]
530 static DEVICE_ATTR_RO(charge_status);
1438 static DEVICE_ATTR(charge_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
1 What: /sys/class/power_supply/ltc4162-l/charge_status