Lines Matching defs:efx_ptp_data
279 struct efx_ptp_data { struct
280 struct efx_nic *efx;
281 struct efx_channel *channel;
282 bool rx_ts_inline;
283 struct sk_buff_head rxq;
284 struct sk_buff_head txq;
285 struct list_head evt_list;
286 struct list_head evt_free_list;
287 spinlock_t evt_lock;
288 struct efx_ptp_event_rx rx_evts[MAX_RECEIVE_EVENTS];
289 struct workqueue_struct *workwq;
290 struct work_struct work;
291 bool reset_required;
292 u32 rxfilter_event;
293 u32 rxfilter_general;
294 bool rxfilter_installed;
295 struct hwtstamp_config config;
296 bool enabled;
297 unsigned int mode;
298 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor);
299 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor,
301 struct {
306 } nic_time;
307 unsigned int min_synchronisation_ns;
308 unsigned int capabilities;
309 struct {
316 } ts_corrections;
317 efx_qword_t evt_frags[MAX_EVENT_FRAGS];
318 int evt_frag_idx;
319 int evt_code;
320 struct efx_buffer start;
321 struct pps_event_time host_time_pps;
322 unsigned int adjfreq_ppb_shift;
323 s64 current_adjfreq;
324 struct ptp_clock *phc_clock;
325 struct ptp_clock_info phc_clock_info;
326 struct work_struct pps_work;
327 struct workqueue_struct *pps_workwq;
328 bool nic_ts_enabled;
331 unsigned int good_syncs;
332 unsigned int fast_syncs;
333 unsigned int bad_syncs;
334 unsigned int sync_timeouts;
335 unsigned int no_time_syncs;
336 unsigned int invalid_sync_windows;
337 unsigned int undersize_sync_windows;
338 unsigned int oversize_sync_windows;
339 unsigned int rx_no_timestamp;
341 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
342 void (*xmit_skb)(struct efx_nic *efx, struct sk_buff *skb);