Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicss_iep.c461 u64 ns, p_ns; in icss_iep_update_to_next_boundary() local
467 p_ns = iep->period; in icss_iep_update_to_next_boundary()
469 start_ns += p_ns - 1; in icss_iep_update_to_next_boundary()
470 offset = do_div(start_ns, p_ns); in icss_iep_update_to_next_boundary()
471 start_ns = start_ns * p_ns; in icss_iep_update_to_next_boundary()
473 if (p_ns - offset < 10) in icss_iep_update_to_next_boundary()
474 start_ns += p_ns; in icss_iep_update_to_next_boundary()