Home
last modified time | relevance | path

Searched refs:hw_clocks (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c220 uint64_t hw_clocks; in mlx5e_mbuf_tstmp() local
253 hw_clocks = hw_tstmp - dcp.clbr_hw_prev; in mlx5e_mbuf_tstmp()
254 tstmp_sec = hw_clocks / priv->cclk; in mlx5e_mbuf_tstmp()
255 tstmp_nsec = hw_clocks % priv->cclk; in mlx5e_mbuf_tstmp()
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c1519 uint64_t hw_clocks; in t4_tstmp_to_ns() local
1545 hw_clocks = hw_tstmp - dcur.hw_prev; in t4_tstmp_to_ns()
1548 sbt = hw_clocks * sbt_cur_to_prev / hw_clk_div + dcur.sbt_prev; in t4_tstmp_to_ns()