Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Darch_timer_edge_cases.c471 set_tval_irq(timer, msec_to_cycles(delta_1_ms), CTL_ENABLE); in test_reprogramming_timer()
474 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()
506 int32_t tval = (int32_t) msec_to_cycles(test_args.wait_ms); in test_basic_functionality()
507 uint64_t cval = DEF_CNT + msec_to_cycles(test_args.wait_ms); in test_basic_functionality()
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()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/include/aarch64/
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.12.1/tools/testing/selftests/kvm/include/riscv/
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()