Home
last modified time | relevance | path

Searched refs:nexttick (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dsse-timer.c136 static void sse_set_timer(SSETimer *s, uint64_t nexttick) in sse_set_timer() argument
139 uint64_t expiry = sse_counter_tick_to_time(s->counter, nexttick); in sse_set_timer()
161 uint64_t count, nexttick; in sse_recalc_timer() local
181 nexttick = UINT64_MAX; in sse_recalc_timer()
184 nexttick = s->cntp_cval; in sse_recalc_timer()
186 sse_set_timer(s, nexttick); in sse_recalc_timer()
/openbmc/qemu/target/arm/
H A Dtrace-events4 arm_gt_recalc(int timer, uint64_t nexttick) "gt recalc: timer %d next tick 0x%" PRIx64
H A Dhelper.c2744 uint64_t nexttick; in gt_recalc_timer() local
2757 nexttick = offset; in gt_recalc_timer()
2759 nexttick = UINT64_MAX; in gt_recalc_timer()
2768 if (uadd64_overflow(gt->cval, offset, &nexttick)) { in gt_recalc_timer()
2769 nexttick = UINT64_MAX; in gt_recalc_timer()
2778 if (nexttick > INT64_MAX / gt_cntfrq_period_ns(cpu)) { in gt_recalc_timer()
2781 timer_mod(cpu->gt_timer[timeridx], nexttick); in gt_recalc_timer()
2783 trace_arm_gt_recalc(timeridx, nexttick); in gt_recalc_timer()
/openbmc/linux/kernel/time/
H A Dtick-broadcast.c1028 ktime_t nexttick = 0; in tick_broadcast_setup_oneshot() local
1088 nexttick = tick_get_next_period(); in tick_broadcast_setup_oneshot()
1089 tick_broadcast_init_next_event(tmpmask, nexttick); in tick_broadcast_setup_oneshot()
1118 tick_broadcast_set_event(bc, cpu, nexttick); in tick_broadcast_setup_oneshot()
/openbmc/qemu/target/arm/tcg/
H A Dop_helper.c432 uint64_t nexttick; in HELPER()
448 if (uadd64_overflow(timeout, offset, &nexttick)) { in HELPER()
449 nexttick = UINT64_MAX; in HELPER()
451 if (nexttick > INT64_MAX / gt_cntfrq_period_ns(cpu)) { in HELPER()
458 timer_mod(cpu->wfxt_timer, nexttick); in HELPER()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_init.c1345 u32 nexttick = 100; in esas2r_init_adapter_hw() local
1386 if (nexttick <= deltatime) { in esas2r_init_adapter_hw()
1389 nexttick += 100; in esas2r_init_adapter_hw()
1393 if (nexttick > deltatime) in esas2r_init_adapter_hw()
1394 nexttick -= deltatime; in esas2r_init_adapter_hw()