Home
last modified time | relevance | path

Searched refs:cycles_delta (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
33 cycles_delta = cycles - cycles_now; in kvm_riscv_delta_cycles2ns()
35 cycles_delta = 0; in kvm_riscv_delta_cycles2ns()
36 delta_ns = (cycles_delta * gt->nsec_mult) >> gt->nsec_shift; 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
518 cycles_delta = div64_u64(nsec_delta << timer->cycles.shift, 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.c381 u64 *cycles_delta) in bnxt_get_target_cycles() argument
397 *cycles_delta = div64_u64(nsec_delta << ptp->cc.shift, ptp->cc.mult); in bnxt_get_target_cycles()