Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/riscv/
H A Darch_timer.c20 uint64_t xcnt, xcnt_diff_us, cmp; in guest_irq_handler() local
27 xcnt = timer_get_cycles(); in guest_irq_handler()
29 xcnt_diff_us = cycles_to_usec(xcnt - shared_data->xcnt); in guest_irq_handler()
34 __GUEST_ASSERT(xcnt >= cmp, in guest_irq_handler()
36 xcnt, cmp, xcnt_diff_us); in guest_irq_handler()
51 shared_data->xcnt = timer_get_cycles(); in guest_run()
/linux/tools/testing/selftests/kvm/loongarch/
H A Darch_timer.c31 uint64_t xcnt, val, cfg, xcnt_diff_us; in guest_irq_handler() local
53 xcnt = timer_get_cycles(); in guest_irq_handler()
54 xcnt_diff_us = cycles_to_usec(xcnt - shared_data->xcnt); in guest_irq_handler()
72 shared_data->xcnt = timer_get_cycles(); in guest_test_period_timer()
99 shared_data->xcnt = timer_get_cycles(); in guest_test_oneshot_timer()
125 shared_data->xcnt = timer_get_cycles(); in guest_test_emulate_timer()
131 xcnt_diff_us = cycles_to_usec(timer_get_cycles() - shared_data->xcnt); in guest_test_emulate_timer()
/linux/tools/testing/selftests/kvm/include/
H A Dtimer_test.h35 uint64_t xcnt; member
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
H A Dcom.fuc416 // Calculates the hw swizzle mask and adjusts the surface's xcnt to match
473 // SRC_XCNT = (xcnt * src_cpp), or 0 if no src ref in swz (hw will hang)
787 // fill in cpp/xcnt for both surfaces as if (cpp == 1)