Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c728 struct ptp_clock_event ptp_event; in mlx5_pps_event() local
739 ptp_event.index = pin; in mlx5_pps_event()
740 ptp_event.timestamp = mlx5_real_time_mode(mdev) ? in mlx5_pps_event()
746 ptp_event.type = PTP_CLOCK_PPSUSR; in mlx5_pps_event()
747 ptp_event.pps_times.ts_real = in mlx5_pps_event()
748 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
750 ptp_event.type = PTP_CLOCK_EXTTS; in mlx5_pps_event()
753 ptp_clock_event(clock->ptp, &ptp_event); in mlx5_pps_event()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c1361 struct ptp_clock_event ptp_event; in aq_ptp_check_sync1588() local
1366 ptp_event.index = aq_ptp->ptp_info.n_pins - 1; in aq_ptp_check_sync1588()
1367 ptp_event.timestamp = time; in aq_ptp_check_sync1588()
1369 ptp_event.type = PTP_CLOCK_EXTTS; in aq_ptp_check_sync1588()
1370 ptp_clock_event(aq_ptp->ptp_clock, &ptp_event); in aq_ptp_check_sync1588()