Home
last modified time | relevance | path

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

/openbmc/qemu/include/qemu/
H A Dtimer.h13 #define SCALE_US 1000 macro
132 return qemu_clock_get_ns(type) / SCALE_US; in qemu_clock_get_us()
467 timer_init(ts, type, SCALE_US, cb, opaque); in timer_init_us()
582 return timer_new(type, SCALE_US, cb, opaque); in timer_new_us()
/openbmc/qemu/migration/
H A Dcpu-throttle.c69 g_usleep(sleeptime_ns / SCALE_US); in cpu_throttle_thread()
H A Dpostcopy-ram.c1165 blocktime_latency_account(ctx, time_passed / SCALE_US); in blocktime_cpu_list_iter_fn()
/openbmc/qemu/rust/qemu-api/src/
H A Dtimer.rs33 pub const US: u32 = bindings::SCALE_US;
/openbmc/qemu/hw/misc/macio/
H A Dcuda.c537 s->sr_delay_ns = 20 * SCALE_US; in cuda_realize()
598 ms->timers[1].frequency = (SCALE_US * 6000) / 4700; in mos6522_cuda_reset_hold()
H A Dpmu.c806 ms->timers[1].frequency = (SCALE_US * 6000) / 4700; in mos6522_pmu_reset_hold()
/openbmc/qemu/hw/block/
H A Dpflash_cfi02.c210 return ((1ULL << pfl->cfi_table[0x21]) * pfl->sectors_to_erase) * SCALE_US; in pflash_erase_time()
/openbmc/qemu/hw/timer/
H A Daspeed_timer.c53 #define TIMER_MIN_NS (20 * SCALE_US)
/openbmc/qemu/audio/
H A Daudio.c1784 s->period_ticks = dev->timer_period * (int64_t)SCALE_US; in audio_init()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c5568 g_usleep(delay_ns / SCALE_US); in kvm_rate_limit_on_bus_lock()