Searched refs:calculate_time (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/timer/ |
H A D | aspeed_timer.c | 118 static inline uint64_t calculate_time(struct AspeedTimer *t, uint32_t ticks) in calculate_time() function 145 next = calculate_time(t, MAX(calculate_match(t, 0), calculate_match(t, 1))); in calculate_next() 150 next = calculate_time(t, MIN(calculate_match(t, 0), calculate_match(t, 1))); in calculate_next() 155 next = calculate_time(t, 0); in calculate_next() 173 return calculate_time(t, next); in calculate_next()
|
/openbmc/linux/drivers/power/supply/ |
H A D | apm_power.c | 194 static int calculate_time(int status) in calculate_time() function 346 info->time = calculate_time(status.intval); in apm_battery_apm_get_power_status() 352 info->time = calculate_time(status.intval); in apm_battery_apm_get_power_status()
|