Home
last modified time | relevance | path

Searched refs:next_time (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/hw/timer/
H A Di8254_common.c78 uint64_t d, next_time, base; in pit_get_next_transition_time()
88 next_time = s->count; in pit_get_next_transition_time()
96 next_time = base + s->count; in pit_get_next_transition_time()
98 next_time = base + s->count + 1; in pit_get_next_transition_time()
105 next_time = base + period2; in pit_get_next_transition_time()
107 next_time = base + s->count; in pit_get_next_transition_time()
113 next_time = s->count; in pit_get_next_transition_time()
115 next_time = s->count + 1; in pit_get_next_transition_time()
122 next_time = s->count_load_time + muldiv64(next_time, NANOSECONDS_PER_SECON in pit_get_next_transition_time()
79 uint64_t d, next_time, base; pit_get_next_transition_time() local
[all...]
H A Drenesas_cmt.c56 int64_t next_time; in update_events() local
62 next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; in update_events()
63 next_time *= NANOSECONDS_PER_SECOND; in update_events()
64 next_time /= cmt->input_freq; in update_events()
72 next_time *= 1 << (3 + FIELD_EX16(cmt->cmcr[ch], CMCR, CKS) * 2); in update_events()
73 next_time += qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in update_events()
74 timer_mod(&cmt->timer[ch], next_time); in update_events()
H A Drenesas_tmr.c66 int64_t next_time; in update_events() local
100 next_time = diff[event]; in update_events()
101 next_time *= clkdiv[FIELD_EX8(tmr->tccr[ch], TCCR, CKS)]; in update_events()
102 next_time *= NANOSECONDS_PER_SECOND; in update_events()
103 next_time /= tmr->input_freq; in update_events()
104 next_time += qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in update_events()
105 timer_mod(&tmr->timer[ch], next_time); in update_events()
/openbmc/qemu/hw/misc/
H A Dmos6522.c188 int64_t d, next_time; in get_next_irq_time() local
209 next_time = d + ti->latch + 1; in get_next_irq_time()
211 next_time = d + ti->latch + 2; in get_next_irq_time()
213 next_time = d + counter; in get_next_irq_time()
215 trace_mos6522_get_next_irq_time(ti->latch, d, next_time - d); in get_next_irq_time()
216 next_time = muldiv64(next_time, NANOSECONDS_PER_SECOND, ti->frequency) + in get_next_irq_time()
219 if (next_time <= current_time) { in get_next_irq_time()
220 next_time = current_time + 1; in get_next_irq_time()
222 return next_time; in get_next_irq_time()
/openbmc/qemu/hw/rtc/
H A Dm48t59.c92 uint64_t next_time; in alarm_cb() local
107 next_time = qemu_timedate_diff(&tm) - NVRAM->time_offset; in alarm_cb()
113 next_time = 24 * 60 * 60; in alarm_cb()
119 next_time = 60 * 60; in alarm_cb()
125 next_time = 60; in alarm_cb()
128 next_time = 1; in alarm_cb()
131 next_time * 1000); in alarm_cb()
/openbmc/qemu/hw/intc/
H A Dapic_common.c157 s->next_time = s->initial_count_load_time + (d << s->count_shift); in apic_next_timer()
158 s->timer_expiry = s->next_time; in apic_next_timer()
205 s->next_time = 0; in apic_init_reset()
383 VMSTATE_INT64(next_time, APICCommonState),
H A Dapic.c758 timer_mod(s->timer, s->next_time); in apic_accept_pic_intr()
769 apic_timer_update(s, s->next_time); in apic_accept_pic_intr()
/openbmc/qemu/include/hw/i386/
H A Dapic_internal.h181 int64_t next_time;
182 int64_t next_time; global() member
/openbmc/qemu/hw/net/
H A Dpcnet.c658 int64_t next_time = current_time + in pcnet_get_next_poll_time() local
661 if (next_time <= current_time) { in pcnet_get_next_poll_time()
662 next_time = current_time + 1; in pcnet_get_next_poll_time()
664 return next_time; in pcnet_get_next_poll_time()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/
H A Dhddtemp_0.3-beta15-52.diff2001 time_t next_time;