Searched refs:xcnt (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | arch_timer.c | 32 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() 59 u64 xcnt = 0, xcnt_diff_us, cval = 0; in guest_validate_irq() local 88 xcnt = timer_get_cntct(accessor); in guest_validate_irq() 91 xcnt_diff_us = cycles_to_usec(xcnt - shared_data->xcnt); in guest_validate_irq() 97 __GUEST_ASSERT(xcnt >= cval, in guest_validate_irq() 99 xcnt, cval, xcnt_diff_us); in guest_validate_irq()
|
| /linux/tools/testing/selftests/kvm/riscv/ |
| H A D | arch_timer.c | 20 u64 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 D | arch_timer.c | 31 u64 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 D | timer_test.h | 35 u64 xcnt; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/ |
| H A D | com.fuc | 416 // 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)
|