Lines Matching defs:efx_ptp_data

287 struct efx_ptp_data {  struct
288 struct efx_nic *efx;
289 struct efx_channel *channel;
290 struct sk_buff_head rxq;
291 struct sk_buff_head txq;
292 struct workqueue_struct *workwq;
293 struct work_struct work;
294 struct delayed_work cleanup_work;
295 bool reset_required;
296 struct list_head rxfilters_mcast;
297 struct list_head rxfilters_ucast;
298 struct hwtstamp_config config;
299 bool enabled;
300 unsigned int mode;
301 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor);
302 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor,
304 struct {
309 } nic_time;
310 unsigned int min_synchronisation_ns;
311 unsigned int capabilities;
312 struct {
319 } ts_corrections;
320 efx_qword_t evt_frags[MAX_EVENT_FRAGS];
321 int evt_frag_idx;
322 int evt_code;
323 struct efx_buffer start;
324 struct pps_event_time host_time_pps;
325 unsigned int adjfreq_ppb_shift;
326 s64 current_adjfreq;
327 struct ptp_clock *phc_clock;
328 struct ptp_clock_info phc_clock_info;
329 struct work_struct pps_work;
330 struct workqueue_struct *pps_workwq;
331 bool nic_ts_enabled;
332 efx_dword_t txbuf[MCDI_TX_BUF_LEN(MC_CMD_PTP_IN_TRANSMIT_LENMAX)];
334 unsigned int good_syncs;
335 unsigned int fast_syncs;
336 unsigned int bad_syncs;
337 unsigned int sync_timeouts;
338 unsigned int no_time_syncs;
339 unsigned int invalid_sync_windows;
340 unsigned int undersize_sync_windows;
341 unsigned int oversize_sync_windows;
342 unsigned int rx_no_timestamp;
344 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
345 void (*xmit_skb)(struct efx_nic *efx, struct sk_buff *skb);