Lines Matching defs:pevent
280 struct ptp_clock_event pevent;
325 pevent.index = am65_cpts_event_get_port(event) - 1;
326 pevent.timestamp = event->timestamp;
327 if (cpts->pps_enabled && pevent.index == cpts->pps_hw_ts_idx) {
328 pevent.type = PTP_CLOCK_PPSUSR;
329 pevent.pps_times.ts_real = ns_to_timespec64(pevent.timestamp);
331 pevent.type = PTP_CLOCK_EXTTS;
334 pevent.type == PTP_CLOCK_EXTTS ?
336 pevent.index, event->timestamp);
338 ptp_clock_event(cpts->ptp_clock, &pevent);