Lines Matching refs:seconds

23 				  u32 seconds, u32 nano_seconds,
64 u32 seconds, u32 nano_seconds, in lan743x_ptp_tx_ts_enqueue_ts() argument
71 ptp->tx_ts_seconds_queue[ptp->tx_ts_queue_size] = seconds; in lan743x_ptp_tx_ts_enqueue_ts()
86 u32 header, nseconds, seconds; in lan743x_ptp_tx_ts_complete() local
104 seconds = ptp->tx_ts_seconds_queue[i]; in lan743x_ptp_tx_ts_complete()
108 tstamps.hwtstamp = ktime_set(seconds, nseconds); in lan743x_ptp_tx_ts_complete()
177 u32 *seconds, u32 *nano_seconds,
349 u32 seconds = 0; in lan743x_ptpci_gettime64() local
351 lan743x_ptp_clock_get(adapter, &seconds, &nano_seconds, NULL); in lan743x_ptpci_gettime64()
352 ts->tv_sec = seconds; in lan743x_ptpci_gettime64()
366 u32 seconds = 0; in lan743x_ptpci_settime64() local
383 seconds = ts->tv_sec; in lan743x_ptpci_settime64()
385 lan743x_ptp_clock_set(adapter, seconds, nano_seconds, 0); in lan743x_ptpci_settime64()
577 u32 cap_info, cause, header, nsec, seconds; in lan743x_ptpci_do_aux_work() local
587 seconds = lan743x_csr_read(adapter, in lan743x_ptpci_do_aux_work()
598 seconds, nsec, in lan743x_ptpci_do_aux_work()
625 u32 *seconds, u32 *nano_seconds, in lan743x_ptp_clock_get() argument
635 if (seconds) in lan743x_ptp_clock_get()
636 (*seconds) = lan743x_csr_read(adapter, PTP_CLOCK_SEC); in lan743x_ptp_clock_get()
657 s32 seconds = 0; in lan743x_ptp_clock_step() local
695 seconds = (s32)div_u64_rem(abs_time_step_ns, 1000000000, in lan743x_ptp_clock_step()
700 seconds = -((s32)div_u64_rem(abs_time_step_ns, 1000000000, in lan743x_ptp_clock_step()
708 seconds--; in lan743x_ptp_clock_step()
720 seconds++; in lan743x_ptp_clock_step()
724 while (seconds) { in lan743x_ptp_clock_step()
726 if (seconds > 0) { in lan743x_ptp_clock_step()
727 u32 adjustment_value = (u32)seconds; in lan743x_ptp_clock_step()
734 seconds -= ((s32)adjustment_value); in lan743x_ptp_clock_step()
736 u32 adjustment_value = (u32)(-seconds); in lan743x_ptp_clock_step()
742 seconds += ((s32)adjustment_value); in lan743x_ptp_clock_step()
1051 u32 seconds, u32 nano_seconds, in lan743x_ptp_clock_set() argument
1058 lan743x_csr_write(adapter, PTP_CLOCK_SEC, seconds); in lan743x_ptp_clock_set()