Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c507 u64 cycles_now, cycles_delta; in find_target_cycles() local
514 cycles_now = mlx5_read_time(mdev, NULL, false); in find_target_cycles()
516 nsec_now = timecounter_cyc2time(&timer->tc, cycles_now); in find_target_cycles()
522 return cycles_now + cycles_delta; in find_target_cycles()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c383 u64 cycles_now; in bnxt_get_target_cycles() local
388 rc = bnxt_refclk_read(ptp->bp, NULL, &cycles_now); in bnxt_get_target_cycles()
393 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); in bnxt_get_target_cycles()