Lines Matching full:usec

84 typedef void (*sleep_method_t)(enum arch_timer timer, uint64_t usec);
86 static void sleep_poll(enum arch_timer timer, uint64_t usec);
87 static void sleep_sched_poll(enum arch_timer timer, uint64_t usec);
88 static void sleep_in_userspace(enum arch_timer timer, uint64_t usec);
89 static void sleep_migrate(enum arch_timer timer, uint64_t usec);
274 * Sleep for usec microseconds by polling in the guest or in
277 static void guest_poll(enum arch_timer test_timer, uint64_t usec, in guest_poll() argument
280 uint64_t cycles = usec_to_cycles(usec); in guest_poll()
293 static void sleep_poll(enum arch_timer timer, uint64_t usec) in sleep_poll() argument
295 guest_poll(timer, usec, NO_USERSPACE_CMD); in sleep_poll()
298 static void sleep_sched_poll(enum arch_timer timer, uint64_t usec) in sleep_sched_poll() argument
300 guest_poll(timer, usec, USERSPACE_SCHED_YIELD); in sleep_sched_poll()
303 static void sleep_migrate(enum arch_timer timer, uint64_t usec) in sleep_migrate() argument
305 guest_poll(timer, usec, USERSPACE_MIGRATE_SELF); in sleep_migrate()
308 static void sleep_in_userspace(enum arch_timer timer, uint64_t usec) in sleep_in_userspace() argument
310 userspace_sleep(usec); in sleep_in_userspace()
366 uint64_t usec, enum timer_view timer_view, in test_xval_check_no_irq() argument
372 guest_sleep(timer, usec); in test_xval_check_no_irq()
377 /* Assume success (no IRQ) after waiting usec microseconds */ in test_xval_check_no_irq()
382 uint64_t usec, sleep_method_t wm) in test_cval_no_irq() argument
384 test_xval_check_no_irq(timer, cval, usec, TIMER_CVAL, wm); in test_cval_no_irq()
387 static void test_tval_no_irq(enum arch_timer timer, int32_t tval, uint64_t usec, in test_tval_no_irq() argument
391 test_xval_check_no_irq(timer, (uint64_t) tval, usec, TIMER_TVAL, wm); in test_tval_no_irq()