Home
last modified time | relevance | path

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

/drivers/net/ethernet/renesas/
Dravb_ptp.c229 u64 start_ns; in ravb_ptp_perout() local
232 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout()
235 if (start_ns > U32_MAX) { in ravb_ptp_perout()
250 perout->target = (u32)start_ns; in ravb_ptp_perout()
252 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
/drivers/net/ethernet/sfc/
Dptp.c902 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
911 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
914 if (end_ns < start_ns) in efx_ptp_read_timeset()
917 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()