Lines Matching refs:nsec
195 u32 *sec, u32 *nsec, u32 *sub_nsec);
509 start_sec += perout_request->start.nsec / 1000000000; in lan743x_ptp_perout()
510 start_nsec = perout_request->start.nsec % 1000000000; in lan743x_ptp_perout()
513 period_sec += perout_request->period.nsec / 1000000000; in lan743x_ptp_perout()
514 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_perout()
522 ts_on.tv_nsec = perout_request->on.nsec; in lan743x_ptp_perout()
525 ts_period.tv_nsec = perout_request->period.nsec; in lan743x_ptp_perout()
738 pulse_sec += perout_request->on.nsec / 1000000000; in lan743x_ptp_io_perout()
739 pulse_nsec = perout_request->on.nsec % 1000000000; in lan743x_ptp_io_perout()
742 pulse_sec += perout_request->period.nsec / 1000000000; in lan743x_ptp_io_perout()
743 pulse_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_io_perout()
802 period_sec += perout_request->period.nsec / 1000000000; in lan743x_ptp_io_perout()
803 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_io_perout()
812 start_sec += perout_request->start.nsec / 1000000000; in lan743x_ptp_io_perout()
813 start_nsec = perout_request->start.nsec % 1000000000; in lan743x_ptp_io_perout()
1041 u32 sec, nsec; in lan743x_ptp_io_event_clock_get() local
1046 nsec = lan743x_csr_read(adapter, PTP_IO_FE_LTC_NS_CAP_X); in lan743x_ptp_io_event_clock_get()
1049 nsec = lan743x_csr_read(adapter, PTP_IO_RE_LTC_NS_CAP_X); in lan743x_ptp_io_event_clock_get()
1057 extts->ts.tv_nsec = nsec; in lan743x_ptp_io_event_clock_get()
1059 ts->tv_nsec = nsec; in lan743x_ptp_io_event_clock_get()
1068 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local
1087 nsec = lan743x_csr_read(adapter, in lan743x_ptpci_do_aux_work()
1089 cause = (nsec & in lan743x_ptpci_do_aux_work()
1096 nsec &= PTP_TX_EGRESS_NS_TS_NS_MASK_; in lan743x_ptpci_do_aux_work()
1099 nsec, in lan743x_ptpci_do_aux_work()
1220 u32 *sec, u32 *nsec, u32 *sub_nsec) in lan743x_ptp_io_clock_get() argument
1231 if (nsec) in lan743x_ptp_io_clock_get()
1232 (*nsec) = lan743x_csr_read(adapter, PTP_LTC_RD_NS); in lan743x_ptp_io_clock_get()