Searched refs:xcnt (Results 1 – 6 of 6) 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 uint64_t 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 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 D | arch_timer.c | 31 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 D | timer_test.h | 35 uint64_t xcnt; member
|
| /linux/drivers/scsi/ |
| H A D | initio.c | 1509 long cnt, xcnt; /* cannot use unsigned !! code: if (xcnt < 0) */ in initio_state_5() local 1558 xcnt = (long) scb->buflen - cnt; /* xcnt== bytes already xferred */ in initio_state_5() 1566 xcnt -= (long) sgp->len; in initio_state_5() 1567 if (xcnt < 0) { /* this sgp xfer half done */ in initio_state_5() 1568 xcnt += (long) sgp->len; /* xcnt == bytes xferred in this sgp */ in initio_state_5() 1569 sgp->data += (u32) xcnt; /* new ptr to be xfer */ in initio_state_5() 1570 sgp->len -= (u32) xcnt; /* new len to be xfer */ in initio_state_5() 1583 scb->bufptr += (u32) xcnt; in initio_state_5()
|
| /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)
|