Searched refs:time_to_empty (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | cw2015_battery.c | 73 int time_to_empty; member 407 int time_to_empty; in cw_update_time_to_empty() local 409 time_to_empty = cw_get_time_to_empty(cw_bat); in cw_update_time_to_empty() 410 if (time_to_empty < 0) in cw_update_time_to_empty() 412 time_to_empty); in cw_update_time_to_empty() 413 else if (cw_bat->time_to_empty != time_to_empty) { in cw_update_time_to_empty() 414 cw_bat->time_to_empty = time_to_empty; in cw_update_time_to_empty() 462 return cw_bat->time_to_empty > in cw_battery_valid_time_to_empty() [all...] |
H A D | apm_power.c | 286 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 D | bq27xxx_battery.c | 1773 cache.time_to_empty = bq27xxx_battery_read_time(di, BQ27XXX_REG_TTE); 1967 ret = bq27xxx_simple_value(di->cache.time_to_empty, val);
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | cw2015_battery.c | 74 int time_to_empty; member 408 int time_to_empty; in cw_update_time_to_empty() local 410 time_to_empty = cw_get_time_to_empty(cw_bat); in cw_update_time_to_empty() 411 if (time_to_empty < 0) in cw_update_time_to_empty() 413 time_to_empty); in cw_update_time_to_empty() 414 else if (cw_bat->time_to_empty != time_to_empty) { in cw_update_time_to_empty() 415 cw_bat->time_to_empty = time_to_empty; in cw_update_time_to_empty() 463 return cw_bat->time_to_empty > in cw_battery_valid_time_to_empty() [all...] |
H A D | apm_power.c | 286 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 D | bq27xxx_battery.c | 1847 cache.time_to_empty = bq27xxx_battery_read_time(di, BQ27XXX_REG_TTE); 2041 ret = bq27xxx_simple_value(di->cache.time_to_empty, val);
|
/kernel/linux/linux-5.10/include/linux/power/ |
H A D | bq27xxx_battery.h | 50 int time_to_empty; member
|
/kernel/linux/linux-6.6/include/linux/power/ |
H A D | bq27xxx_battery.h | 51 int time_to_empty; member
|
Completed in 13 milliseconds