Lines Matching refs:extts
864 struct lan743x_extts *extts; in lan743x_ptp_io_extts_off() local
867 extts = &ptp->extts[index]; in lan743x_ptp_io_extts_off()
869 if (extts->flags & PTP_FALLING_EDGE) in lan743x_ptp_io_extts_off()
877 if (extts->flags & PTP_FALLING_EDGE) { in lan743x_ptp_io_extts_off()
892 memset(&extts->ts, 0, sizeof(struct timespec64)); in lan743x_ptp_io_extts_off()
893 extts->flags = 0; in lan743x_ptp_io_extts_off()
946 struct lan743x_extts *extts; in lan743x_ptp_io_extts() local
950 extts = &ptp->extts[index]; in lan743x_ptp_io_extts()
959 extts->flags = flags; in lan743x_ptp_io_extts()
978 if (request->extts.index < ptpci->n_ext_ts) in lan743x_ptpci_enable()
980 &request->extts); in lan743x_ptpci_enable()
1041 struct lan743x_extts *extts; in lan743x_ptp_io_event_clock_get() local
1056 extts = &ptp->extts[channel]; in lan743x_ptp_io_event_clock_get()
1057 extts->ts.tv_sec = sec; in lan743x_ptp_io_event_clock_get()
1058 extts->ts.tv_nsec = nsec; in lan743x_ptp_io_event_clock_get()