Home
last modified time | relevance | path

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

1234567

/openbmc/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
/openbmc/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
/openbmc/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
/openbmc/sdeventplus/src/sdeventplus/
H A Dclock.cpp20 typename Clock<Id>::time_point Clock<Id>::now() const in now() function in sdeventplus::Clock
22 uint64_t now; in now() local
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/
H A Dtimer.c96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local
98 ulong now = readl(&tmr->timer3_counter) / in get_timer_masked() local
155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local
/openbmc/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
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dtimer.c59 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local
74 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local
/openbmc/u-boot/arch/arm/mach-at91/arm920t/
H A Dtimer.c59 u32 now; in get_timer_raw() local
98 u32 now = get_timer_raw(); in __udelay() local
/openbmc/phosphor-logging/test/openpower-pels/
H A Dbcd_time_test.cpp87 auto now = std::chrono::system_clock::now(); in TEST() local
98 auto now = std::chrono::system_clock::now(); in TEST() local
/openbmc/u-boot/drivers/rtc/
H A Di2c_rtc_emul.c78 struct rtc_time now; in reset_time() local
90 long now; in sandbox_i2c_rtc_get() local
108 long now; in sandbox_i2c_rtc_set() local
/openbmc/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
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp136 const std::chrono::steady_clock::time_point& now) in writeBegin()
190 auto now = std::chrono::steady_clock::now(); in externalSetTrigger() local
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dtimer.c61 ulong now = TICKS_TO_HZ(read_timer()); in get_timer_masked() local
84 ulong now, last = read_timer(); in __udelay() local
/openbmc/u-boot/arch/m68k/lib/
H A Dtime.c36 uint start, now, tmp; in __udelay() local
156 unsigned short now, diff; in get_timer() local
/openbmc/u-boot/test/dm/
H A Drtc.c57 struct rtc_time now, time, cmp; in dm_test_rtc_set_get() local
122 struct rtc_time now; in dm_test_rtc_reset() local
/openbmc/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
/openbmc/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 …]
/openbmc/sdeventplus/test/utility/
H A Dtimer.cpp221 milliseconds now(675), end(453); in TEST_F() local
232 milliseconds now(453), end(675); in TEST_F() local
288 const milliseconds now(90), remaining(30); in TEST_F() local
298 const milliseconds now(90); in TEST_F() local
/openbmc/phosphor-pid-control/failsafeloggers/
H A Dfailsafe_logger.cpp16 const auto now = std::chrono::high_resolution_clock::now(); in outputFailsafeLog() local
/openbmc/phosphor-buttons/src/
H A Dpower_button.cpp82 auto now = std::chrono::steady_clock::now(); in handleEvent() local

1234567