Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c972 struct ptp_clock_event ptp_event; in mlx5_pps_event() local
983 ptp_event.index = pin; in mlx5_pps_event()
984 ptp_event.timestamp = mlx5_real_time_mode(mdev) ? in mlx5_pps_event()
990 ptp_event.type = PTP_CLOCK_PPSUSR; in mlx5_pps_event()
991 ptp_event.pps_times.ts_real = in mlx5_pps_event()
992 ns_to_timespec64(ptp_event.timestamp); in mlx5_pps_event()
994 ptp_event.type = PTP_CLOCK_EXTTS; in mlx5_pps_event()
997 ptp_clock_event(clock->ptp, &ptp_event); in mlx5_pps_event()
/linux-6.14.4/drivers/net/ethernet/microchip/
Dlan743x_ptp.c1070 struct ptp_clock_event ptp_event; in lan743x_ptpci_do_aux_work() local
1131 ptp_event.timestamp = ns; in lan743x_ptpci_do_aux_work()
1132 ptp_event.index = channel; in lan743x_ptpci_do_aux_work()
1133 ptp_event.type = PTP_CLOCK_EXTTS; in lan743x_ptpci_do_aux_work()
1135 &ptp_event); in lan743x_ptpci_do_aux_work()
1164 ptp_event.timestamp = ns; in lan743x_ptpci_do_aux_work()
1165 ptp_event.index = channel; in lan743x_ptpci_do_aux_work()
1166 ptp_event.type = PTP_CLOCK_EXTTS; in lan743x_ptpci_do_aux_work()
1168 &ptp_event); in lan743x_ptpci_do_aux_work()
/linux-6.14.4/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c554 struct ptp_clock_event ptp_event = {0}; in lan966x_ptp_ext_irq_handler() local
587 ptp_event.index = pin; in lan966x_ptp_ext_irq_handler()
588 ptp_event.timestamp = time; in lan966x_ptp_ext_irq_handler()
589 ptp_event.type = PTP_CLOCK_EXTTS; in lan966x_ptp_ext_irq_handler()
590 ptp_clock_event(phc->clock, &ptp_event); in lan966x_ptp_ext_irq_handler()
/linux-6.14.4/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c1352 struct ptp_clock_event ptp_event; in aq_ptp_check_sync1588() local
1357 ptp_event.index = aq_ptp->ptp_info.n_pins - 1; in aq_ptp_check_sync1588()
1358 ptp_event.timestamp = time; in aq_ptp_check_sync1588()
1360 ptp_event.type = PTP_CLOCK_EXTTS; in aq_ptp_check_sync1588()
1361 ptp_clock_event(aq_ptp->ptp_clock, &ptp_event); in aq_ptp_check_sync1588()
/linux-6.14.4/drivers/net/phy/
Dmicrel.c3611 struct ptp_clock_event ptp_event = {0}; in lan8814_gpio_process_cap() local
3646 ptp_event.index = 0; in lan8814_gpio_process_cap()
3647 ptp_event.timestamp = ktime_set(sec, nsec); in lan8814_gpio_process_cap()
3648 ptp_event.type = PTP_CLOCK_EXTTS; in lan8814_gpio_process_cap()
3649 ptp_clock_event(shared->ptp_clock, &ptp_event); in lan8814_gpio_process_cap()
4298 struct ptp_clock_event ptp_event = {0}; in lan8841_gpio_process_cap() local
4338 ptp_event.index = 0; in lan8841_gpio_process_cap()
4339 ptp_event.timestamp = ktime_set(sec, nsec); in lan8841_gpio_process_cap()
4340 ptp_event.type = PTP_CLOCK_EXTTS; in lan8841_gpio_process_cap()
4341 ptp_clock_event(ptp_priv->ptp_clock, &ptp_event); in lan8841_gpio_process_cap()
/linux-6.14.4/Documentation/networking/devlink/
Ddevlink-trap.rst392 * - ``ptp_event``
587 * - ``ptp_event``