| /openbmc/qemu/hw/misc/ |
| H A D | mps2-fpgaio.c | 42 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 D | constant_timer.c | 25 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 D | mips_gictimer.c | 21 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 D | nrf51_timer.c | 43 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 D | sse-counter.c | 140 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 D | stm32f2xx_timer.c | 74 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 D | sifive_pwm.c | 149 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 D | ibex_timer.c | 66 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 D | clock.cpp | 20 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 D | timer.c | 96 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 D | timed-average.c | 59 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 D | timer.c | 59 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 D | timer.c | 59 u32 now; in get_timer_raw() local 98 u32 now = get_timer_raw(); in __udelay() local
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | bcd_time_test.cpp | 87 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 D | i2c_rtc_emul.c | 78 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 D | xlnx-zynqmp-rtc.c | 59 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 D | ExternalSensor.cpp | 136 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 D | timer.c | 61 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 D | time.c | 36 uint start, now, tmp; in __udelay() local 156 unsigned short now, diff; in get_timer() local
|
| /openbmc/u-boot/test/dm/ |
| H A D | rtc.c | 57 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 D | cputimer.c | 53 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 D | ppc.c | 724 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 D | timer.cpp | 221 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 D | failsafe_logger.cpp | 16 const auto now = std::chrono::high_resolution_clock::now(); in outputFailsafeLog() local
|
| /openbmc/phosphor-buttons/src/ |
| H A D | power_button.cpp | 82 auto now = std::chrono::steady_clock::now(); in handleEvent() local
|