Home
last modified time | relevance | path

Searched refs:time_to_empty (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dcw2015_battery.c73 int time_to_empty; member
411 int time_to_empty; in cw_update_time_to_empty() local
413 time_to_empty = cw_get_time_to_empty(cw_bat); in cw_update_time_to_empty()
414 if (time_to_empty < 0) { in cw_update_time_to_empty()
416 time_to_empty); in cw_update_time_to_empty()
419 cw_bat->time_to_empty = time_to_empty; in cw_update_time_to_empty()
465 return cw_bat->time_to_empty > 0 && in cw_battery_valid_time_to_empty()
466 cw_bat->time_to_empty < CW2015_MASK_SOC && in cw_battery_valid_time_to_empty()
514 val->intval = cw_bat->time_to_empty; in cw_battery_get_property()
543 val->intval = 60 * val->intval / cw_bat->time_to_empty; in cw_battery_get_property()
H A Dapm_power.c286 union power_supply_propval capacity, time_to_full, time_to_empty; in apm_battery_apm_get_power_status() local
348 if (!MPSY_PROP(TIME_TO_EMPTY_AVG, &time_to_empty) || in apm_battery_apm_get_power_status()
349 !MPSY_PROP(TIME_TO_EMPTY_NOW, &time_to_empty)) in apm_battery_apm_get_power_status()
350 info->time = time_to_empty.intval / 60; in apm_battery_apm_get_power_status()
H A Dbq27xxx_battery.c1699 cache.time_to_empty = -ENODATA;
1706 cache.time_to_empty = bq27xxx_battery_read_time(di, BQ27XXX_REG_TTE);
1956 ret = bq27xxx_simple_value(di->cache.time_to_empty, val);
/OK3568_Linux_fs/u-boot/include/power/
H A Dbattery.h14 unsigned int time_to_empty; member
/OK3568_Linux_fs/kernel/include/linux/power/
H A Dcw2015_battery.h110 int time_to_empty; member
H A Dbq27xxx_battery.h48 int time_to_empty; member
/OK3568_Linux_fs/kernel/Documentation/power/
H A Dpower_supply_class.rst275 attribute? The same question about time_to_empty/time_to_full.