Searched refs:ticks_per_sec (Results 1 – 8 of 8) sorted by relevance
/external/qemu/hw/ |
D | goldfish_timer.c | 45 … int64_t alarm = muldiv64(s->alarm_low | (int64_t)s->alarm_high << 32, ticks_per_sec, 1000000000); in goldfish_timer_save() 80 s->now = muldiv64(qemu_get_clock(vm_clock), 1000000000, ticks_per_sec); in goldfish_timer_read() 98 … alarm = muldiv64(s->alarm_low | (int64_t)s->alarm_high << 32, ticks_per_sec, 1000000000); in goldfish_timer_write()
|
D | usb-ohci.c | 1602 usb_frame_time = ticks_per_sec; in usb_ohci_init() 1603 usb_bit_time = muldiv64(1, ticks_per_sec, USB_HZ/1000); in usb_ohci_init() 1605 usb_frame_time = muldiv64(1, ticks_per_sec, 1000); in usb_ohci_init() 1606 if (ticks_per_sec >= USB_HZ) { in usb_ohci_init() 1607 usb_bit_time = muldiv64(1, ticks_per_sec, USB_HZ); in usb_ohci_init()
|
/external/qemu/audio/ |
D | noaudio.c | 54 bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_out() 110 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_in()
|
D | wavaudio.c | 63 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in wav_out_run() 355 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in wav_in_run()
|
D | audio.c | 1995 conf.period.ticks = ticks_per_sec / conf.period.hz; in AUD_init()
|
/external/qemu/ |
D | qemu-timer.h | 30 extern int64_t ticks_per_sec;
|
D | monitor.c | 1019 muldiv64(ticks_per_sec, hold_time, 1000)); in do_sendkey() 1250 dev_time, dev_time / (double)ticks_per_sec); in do_info_profile() 1252 qemu_time, qemu_time / (double)ticks_per_sec); in do_info_profile() 1254 kqemu_time, kqemu_time / (double)ticks_per_sec, in do_info_profile()
|
D | vl.c | 207 int64_t ticks_per_sec; variable 1298 ticks_per_sec = QEMU_TIMER_BASE; in init_timers() 1334 qemu_put_be64(f, ticks_per_sec); in timer_save() 1346 ticks_per_sec=qemu_get_be64(f); in timer_load() 1376 muldiv64(delta_min, 1000000, ticks_per_sec), in host_alarm_handler() 1377 muldiv64(delta_max, 1000000, ticks_per_sec), in host_alarm_handler() 1378 muldiv64(delta_cum, 1000000 / DISP_FREQ, ticks_per_sec), in host_alarm_handler() 1379 (double)ticks_per_sec / ((double)delta_cum / DISP_FREQ)); in host_alarm_handler()
|