Lines Matching defs:pevent
280 struct ptp_clock_event pevent;
322 pevent.index = am65_cpts_event_get_port(event) - 1;
323 pevent.timestamp = event->timestamp;
324 if (cpts->pps_enabled && pevent.index == cpts->pps_hw_ts_idx) {
325 pevent.type = PTP_CLOCK_PPSUSR;
326 pevent.pps_times.ts_real = ns_to_timespec64(pevent.timestamp);
328 pevent.type = PTP_CLOCK_EXTTS;
331 pevent.type == PTP_CLOCK_EXTTS ?
333 pevent.index, event->timestamp);
335 ptp_clock_event(cpts->ptp_clock, &pevent);