Home
last modified time | relevance | path

Searched refs:NANOSECONDS_PER_SECOND (Results 76 – 100 of 108) sorted by relevance

12345

/openbmc/qemu/block/
H A Dcopy-before-write.c452 opts->cbw_timeout * NANOSECONDS_PER_SECOND : 0; in cbw_open()
H A Dnbd.c396 s->reconnect_delay * NANOSECONDS_PER_SECOND); in nbd_reconnect_attempt()
1935 s->open_timeout * NANOSECONDS_PER_SECOND); in nbd_open()
/openbmc/qemu/hw/audio/
H A Dsb16.c802 ticks = muldiv64(bytes, NANOSECONDS_PER_SECOND, freq); in complete()
803 if (ticks < NANOSECONDS_PER_SECOND / 1024) { in complete()
/openbmc/qemu/hw/timer/
H A Davr_timer16.c171 t16->period_ns = NANOSECONDS_PER_SECOND / t16->freq_hz; in avr_timer16_clksrc_update()
/openbmc/qemu/hw/dma/
H A Drc4030.c114 NANOSECONDS_PER_SECOND / tm_hz); in set_next_tick()
/openbmc/qemu/hw/ppc/
H A Dppc405_uc.c567 gpt->tb_freq, NANOSECONDS_PER_SECOND); in ppc4xx_gpt_read()
619 gpt->tb_offset = muldiv64(value, NANOSECONDS_PER_SECOND, gpt->tb_freq) in ppc4xx_gpt_write()
H A Dppc.c501 return muldiv64(clock, freq, NANOSECONDS_PER_SECOND); in ns_to_tb()
507 return muldiv64_round_up(tb, NANOSECONDS_PER_SECOND, freq); in tb_to_ns_round_up()
/openbmc/qemu/hw/input/
H A Dhid.c100 NANOSECONDS_PER_SECOND * hs->idle * 4 / 1000; in hid_set_next_idle()
H A Dtsc210x.c841 (NANOSECONDS_PER_SECOND >> 10); in tsc210x_pin_update()
/openbmc/qemu/util/
H A Daio-posix.c28 #define POLL_IDLE_INTERVAL_NS (7 * NANOSECONDS_PER_SECOND)
/openbmc/qemu/chardev/
H A Dbaum.c395 NANOSECONDS_PER_SECOND / 10); in baum_eat_packet()
/openbmc/qemu/linux-user/
H A Dmain.c224 NANOSECONDS_PER_SECOND; in init_task_state()
/openbmc/qemu/hw/display/
H A Dvga.c256 r->ticks_per_char = NANOSECONDS_PER_SECOND / (r->total_chars * r->freq); in vga_precise_update_retrace_info()
258 r->ticks_per_char = NANOSECONDS_PER_SECOND / chars_per_sec; in vga_precise_update_retrace_info()
286 (double) NANOSECONDS_PER_SECOND / (r->ticks_per_char * r->total_chars), in vga_precise_update_retrace_info()
H A Dati.c263 NANOSECONDS_PER_SECOND / 60); in ati_vga_vblank_irq()
/openbmc/qemu/target/arm/
H A Dcpu.c1369 NANOSECONDS_PER_SECOND / GTIMER_SCALE);
1456 return NANOSECONDS_PER_SECOND > cpu->gt_cntfrq_hz ? in gt_cntfrq_period_ns()
1457 NANOSECONDS_PER_SECOND / cpu->gt_cntfrq_hz : 1; in gt_cntfrq_period_ns()
/openbmc/qemu/tests/unit/
H A Dptimer-test.c544 qemu_clock_step(10 * NANOSECONDS_PER_SECOND); in check_run_with_period_0()
/openbmc/qemu/hw/usb/
H A Dhcd-ehci.c41 #define FRAME_TIMER_NS (NANOSECONDS_PER_SECOND / FRAME_TIMER_FREQ)
2350 NANOSECONDS_PER_SECOND / (FRAME_TIMER_FREQ * 4); in ehci_work_bh()
2353 expire_time = t_now + (NANOSECONDS_PER_SECOND in ehci_work_bh()
H A Dhost-libusb.c267 ? (NANOSECONDS_PER_SECOND / 100) /* 10 ms interval with active req */ in usb_host_timer_kick()
268 : (NANOSECONDS_PER_SECOND); /* 1 sec interval otherwise */ in usb_host_timer_kick()
H A Dhcd-musb.c567 muldiv64(timeout, NANOSECONDS_PER_SECOND, 8000)); in musb_schedule_cb()
/openbmc/qemu/target/s390x/tcg/
H A Dmisc_helper.c87 ns = ts.tv_sec * NANOSECONDS_PER_SECOND + ts.tv_nsec; in HELPER()
/openbmc/qemu/hw/misc/
H A Dnpcm7xx_clk.c750 value = (now_ns - s->ref_ns) / NANOSECONDS_PER_SECOND; in npcm7xx_clk_read()
H A Dmac_via.c474 / NANOSECONDS_PER_SECOND); in via1_rtc_update()
/openbmc/qemu/hw/net/
H A Ddp8393x.c342 delay = NANOSECONDS_PER_SECOND * ticks / 5000000; in dp8393x_set_next_tick()
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c1761 seconds = muldiv64(ticks_to_sleep, cntfrq, NANOSECONDS_PER_SECOND); in hvf_wfi()
1762 ticks_to_sleep -= muldiv64(seconds, NANOSECONDS_PER_SECOND, cntfrq); in hvf_wfi()
/openbmc/qemu/hw/arm/
H A Dspitz.c446 NANOSECONDS_PER_SECOND / 32); in spitz_keyboard_tick()

12345