Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kvm/
Dvcpu_timer.c28 u64 cycles_now, cycles_delta, delta_ns; in kvm_riscv_delta_cycles2ns() local
31 cycles_now = kvm_riscv_current_cycles(gt); in kvm_riscv_delta_cycles2ns()
32 if (cycles_now < cycles) in kvm_riscv_delta_cycles2ns()
33 cycles_delta = cycles - cycles_now; in kvm_riscv_delta_cycles2ns()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c442 u64 cycles_now, cycles_delta; in find_target_cycles() local
449 cycles_now = mlx5_read_time(mdev, NULL, false); in find_target_cycles()
451 nsec_now = timecounter_cyc2time(&timer->tc, cycles_now); in find_target_cycles()
457 return cycles_now + cycles_delta; in find_target_cycles()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c368 u64 cycles_now; in bnxt_get_target_cycles() local
373 rc = bnxt_refclk_read(ptp->bp, NULL, &cycles_now); in bnxt_get_target_cycles()
378 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); in bnxt_get_target_cycles()