Home
last modified time | relevance | path

Searched refs:timer_get_cntct (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Darch_timer.c32 shared_data->xcnt = timer_get_cntct(VIRTUAL); in guest_configure_timer_action()
37 shared_data->xcnt = timer_get_cntct(VIRTUAL); in guest_configure_timer_action()
42 shared_data->xcnt = timer_get_cntct(PHYSICAL); in guest_configure_timer_action()
47 shared_data->xcnt = timer_get_cntct(PHYSICAL); in guest_configure_timer_action()
88 xcnt = timer_get_cntct(accessor); in guest_validate_irq()
Darch_timer_edge_cases.c166 cnt = timer_get_cntct(timer); in guest_irq_handler()
283 uint64_t start = timer_get_cntct(sleep_timer); in guest_poll()
285 while ((timer_get_cntct(sleep_timer) - start) < cycles) { in guest_poll()
480 GUEST_ASSERT(timer_get_cntct(timer) >= in test_reprogramming_timer()
530 timer_get_cntct(timer) - in timers_sanity_checks()
540 GUEST_ASSERT(timer_get_cval(timer) < timer_get_cntct(timer)); in timers_sanity_checks()
546 timer_get_cntct(timer) + TVAL_MAX + in timers_sanity_checks()
557 timer_get_cntct(timer) + 2ULL * TVAL_MAX + in timers_sanity_checks()
622 cval = timer_get_cntct(timer) + TVAL_MAX + in test_timers_above_tval_max()
/linux-6.12.1/tools/testing/selftests/kvm/include/aarch64/
Ddelay.h14 uint64_t start = timer_get_cntct(timer); in __delay()
16 while ((timer_get_cntct(timer) - start) < cycles) in __delay()
Darch_timer.h34 static inline uint64_t timer_get_cntct(enum arch_timer timer) in timer_get_cntct() function
147 uint64_t now_ct = timer_get_cntct(timer); in timer_set_next_cval_ms()