Home
last modified time | relevance | path

Searched defs:now (Results 1 – 25 of 83) sorted by relevance

1234

/qemu/hw/misc/
H A Dmps2-fpgaio.c42 static uint32_t counter_from_tickoff(int64_t now, int64_t tick_offset, int frq) in counter_from_tickoff()
47 static int64_t tickoff_from_counter(int64_t now, uint32_t count, int frq) in tickoff_from_counter()
59 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in resync_counter() local
127 int64_t now; in mps2_fpgaio_read() local
190 int64_t now; in mps2_fpgaio_write() local
259 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mps2_fpgaio_reset() local
H A Dmos6522.c301 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mos6522_read() local
506 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in qmp_x_query_via_foreach() local
/qemu/target/loongarch/tcg/
H A Dconstant_timer.c25 uint64_t now, expire; in cpu_loongarch_get_constant_timer_ticks() local
37 uint64_t now, next; in cpu_loongarch_store_constant_timer_config() local
53 uint64_t now, next; in loongarch_constant_timer_cb() local
/qemu/hw/timer/
H A Dmips_gictimer.c21 uint32_t vp_index, uint64_t now) in gic_vptimer_update()
34 uint64_t now) in gic_vptimer_expire()
58 uint64_t now; in mips_gictimer_get_sh_count() local
74 uint64_t now; in mips_gictimer_store_sh_count() local
H A Dnrf51_timer.c43 static uint32_t update_counter(NRF51TimerState *s, int64_t now) in update_counter()
58 static void rearm_timer(NRF51TimerState *s, int64_t now) in rearm_timer()
101 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in timer_expire() local
203 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in nrf51_timer_write() local
H A Dsse-counter.c140 uint64_t sse_counter_for_timestamp(SSECounter *s, uint64_t now) in sse_counter_for_timestamp()
180 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_write_cntcv() local
271 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sse_counter_control_write() local
391 uint64_t now; in sse_clk_callback() local
H A Dstm32f2xx_timer.c74 static void stm32f2xx_timer_set_alarm(STM32F2XXTimerState *s, int64_t now) in stm32f2xx_timer_set_alarm()
100 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in stm32f2xx_timer_reset() local
184 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in stm32f2xx_timer_write() local
H A Dsifive_pwm.c149 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_interrupt() local
226 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_read() local
278 uint64_t now = sifive_pwm_ns_to_ticks(s, in sifive_pwm_write() local
377 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in sifive_pwm_reset() local
H A Dibex_timer.c66 uint64_t now = cpu_riscv_read_rtc(s->timebase_freq); in ibex_timer_update_irqs() local
139 uint64_t now = cpu_riscv_read_rtc(s->timebase_freq); in ibex_timer_read() local
H A Dnpcm7xx_timer.c83 int64_t now; in npcm7xx_timer_start() local
93 int64_t now; in npcm7xx_timer_pause() local
251 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in npcm7xx_timer_read_tdr() local
H A Dbcm2835_systmr.c77 uint64_t now; in bcm2835_systmr_write() local
/qemu/util/
H A Dtimed-average.c59 static void update_expiration(TimedAverageWindow *w, int64_t now, in update_expiration()
102 int64_t now = qemu_clock_get_ns(clock_type); in timed_average_init() local
130 int64_t now = qemu_clock_get_ns(ta->clock_type); in check_expirations() local
H A Dthrottle.c59 static void throttle_do_leak(ThrottleState *ts, int64_t now) in throttle_do_leak()
177 int64_t now, in throttle_compute_timer()
436 int64_t now = qemu_clock_get_ns(tt->clock_type); in throttle_schedule_timer() local
/qemu/hw/rtc/
H A Dxlnx-zynqmp-rtc.c59 int64_t now = qemu_clock_get_ns(rtc_clock); in rtc_get_count() local
219 int64_t now = qemu_clock_get_ns(rtc_clock) / NANOSECONDS_PER_SECOND; in rtc_pre_save() local
230 int64_t now = qemu_clock_get_ns(rtc_clock) / NANOSECONDS_PER_SECOND; in rtc_post_load() local
H A Dds1338.c65 struct tm now; in capture_current_time() local
149 struct tm now; in ds1338_send() local
H A Drs5c372.c48 struct tm now; in capture_current_time() local
129 struct tm now; in rs5c372_send() local
H A Dpl031.c62 int64_t now = qemu_clock_get_ns(rtc_clock); in pl031_get_count() local
78 int64_t now = qemu_clock_get_ns(rtc_clock); in pl031_set_alarm() local
H A Dm41t80.c49 struct tm now; in m41t80_recv() local
/qemu/hw/openrisc/
H A Dcputimer.c53 uint64_t now; in cpu_openrisc_count_update() local
67 uint64_t now, next; in cpu_openrisc_timer_update() local
/qemu/hw/ppc/
H A Dppc.c724 static inline int64_t __cpu_ppc_load_decr(CPUPPCState *env, int64_t now, in __cpu_ppc_load_decr()
745 static target_ulong _cpu_ppc_load_decr(CPUPPCState *env, int64_t now) in _cpu_ppc_load_decr()
773 static target_ulong _cpu_ppc_load_hdecr(CPUPPCState *env, int64_t now) in _cpu_ppc_load_hdecr()
841 static void __cpu_ppc_store_decr(PowerPCCPU *cpu, int64_t now, uint64_t *nextp, in __cpu_ppc_store_decr()
896 static inline void _cpu_ppc_store_decr(PowerPCCPU *cpu, int64_t now, in _cpu_ppc_store_decr()
911 int64_t now; in cpu_ppc_store_decr() local
936 static inline void _cpu_ppc_store_hdecr(PowerPCCPU *cpu, int64_t now, in _cpu_ppc_store_hdecr()
955 int64_t now; in cpu_ppc_store_hdecr() local
970 static void _cpu_ppc_store_purr(CPUPPCState *env, int64_t now, uint64_t value) in _cpu_ppc_store_purr()
1195 uint64_t now, next; in cpu_4xx_fit_cb() local
[all …]
/qemu/tests/qtest/
H A Drs5c372-test.c22 time_t now = time(NULL); in rs5c372_read_date() local
H A Dds1338-test.c36 time_t now = time(NULL); in send_and_receive() local
/qemu/include/qemu/
H A Dratelimit.h42 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_REALTIME); in ratelimit_calculate_delay() local
/qemu/tests/migration-stress/guestperf/
H A Dprogress.py79 now, argument
/qemu/target/xtensa/
H A Dop_helper.c42 uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in HELPER() local

1234