Searched refs:hw_clocks (Results 1 – 2 of 2) sorted by relevance
220 uint64_t hw_clocks; in mlx5e_mbuf_tstmp() local253 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()
1519 uint64_t hw_clocks; in t4_tstmp_to_ns() local1545 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()