Searched refs:curr_nsec (Results 1 – 2 of 2) sorted by relevance
278 u32 curr_nsec; in sparx5_get_hwtimestamp() local291 curr_nsec = spx5_rd(sparx5, PTP_PTP_TOD_NSEC(TOD_ACC_PIN)); in sparx5_get_hwtimestamp()296 if (curr_nsec < nsec) in sparx5_get_hwtimestamp()
428 u32 curr_nsec; in lan966x_get_hwtimestamp() local441 curr_nsec = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()446 if (curr_nsec < nsec) in lan966x_get_hwtimestamp()