Home
last modified time | relevance | path

Searched refs:msec_to_cycles (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/tools/testing/selftests/kvm/arm64/
H A Darch_timer_edge_cases.c474 timer_set_tval(timer, msec_to_cycles(delta_2_ms)); in test_reprogramming_timer()
481 DEF_CNT + msec_to_cycles(delta_2_ms)); in test_reprogramming_timer()
531 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
547 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
558 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
562 msec_to_cycles(test_args.wait_ms)); in timers_sanity_checks()
565 set_counter(timer, msec_to_cycles(1)); in timers_sanity_checks()
596 msec_to_cycles(test_args.wait_ms) / 2, CTL_ENABLE); in test_set_cnt_after_tval_max()
623 msec_to_cycles(test_args.wait_ms); in test_timers_above_tval_max()
770 cval = DEF_CNT - msec_to_cycles(test_args.wait_ms); in test_timers_in_the_past()
[all …]
/linux-6.15/tools/testing/selftests/kvm/include/arm64/
H A Darch_timer.h20 #define msec_to_cycles(msec) \ macro
148 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cval_ms()
155 timer_set_tval(timer, msec_to_cycles(msec)); in timer_set_next_tval_ms()
/linux-6.15/tools/testing/selftests/kvm/include/riscv/
H A Darch_timer.h16 #define msec_to_cycles(msec) \ macro
53 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cmp_ms()