Lines Matching refs:time
25 * If work waiting, synchronise host/hardware time
27 * Transmit: send packet through MC, which returns the transmission time
30 * Receive: the packet's reception time is converted to an appropriate
35 #include <linux/time.h>
58 /* How often to update the shared memory time */
61 /* Minimum permitted length of a (corrected) synchronisation time */
64 /* Maximum permitted length of a (corrected) synchronisation time */
139 /* NIC synchronised with single word of time only comprising
192 * @host_start: Host time immediately before hardware timestamp taken
195 * @host_end: Host time immediately after hardware timestamp taken
197 * host end time being seen
232 * @ns_to_nic_time: Function to convert from scalar nanoseconds to NIC time
233 * @nic_to_kernel_time: Function to convert from NIC to kernel time
234 * @nic_time: contains time details
236 * @nic_time.sync_event_diff_min: Minimum acceptable difference between time
237 * in packet prefix and last MCDI time sync event i.e. how much earlier than
238 * the last sync event time a packet timestamp can be.
239 * @nic_time.sync_event_diff_max: Maximum acceptable difference between time
240 * in packet prefix and last MCDI time sync event i.e. how much later than
241 * the last sync event time a packet timestamp can be.
242 * @nic_time.sync_event_minor_shift: Shift required to make minor time from
243 * field in MCDI time sync event.
261 * @host_time_pps: Host time at last PPS
440 /* For Siena platforms NIC time is s and ns */
468 /* For Huntington platforms NIC time is in seconds and fractions of a second
513 /* For Medford2 platforms the time is in seconds and quarter nanoseconds. */
554 /* The 8000 series and later can provide the time from the MAC, which is only
573 * We only have the lower 16 bits of the time now, but we do
598 /* Recover the fully specified time now, by applying the offset
599 * to the (fully specified) sync time.
628 /* Get PTP attributes and set up time conversions */
682 /* Precalculate acceptable difference between the minor time in the
683 * packet prefix and the last MCDI time sync event. We expect the
853 /* Repeatedly send the host time to the MC which will capture the hardware
854 * time.
868 /* Write host time for specified period or until MC is done */
882 /* Synchronise NIC with single word of time only */
885 /* Update host time in NIC memory */
916 * seen. The minimum value represents the "best" possible time and events
943 * host time so the corrected window time should be fairly constant
964 * to be a consequence of the host's time being adjusted.
968 * time and writing it to MC memory.
988 /* Calculate delay from last good sync (host time) to last_time.
1007 /* Convert the NIC time at last good sync into kernel time.
1008 * No correction is required - this time is the output of a
1161 /* Drop time-expired events */
1485 /* Get the NIC PTP attributes and set up time conversions */
2131 /* Get the current NIC time, efx_phc_gettime.
2132 * Subtract from the desired time to get the offset