Lines Matching defs:efx_ptp_data

282 struct efx_ptp_data {  struct
283 struct efx_nic *efx;
284 struct efx_channel *channel;
285 bool rx_ts_inline;
286 struct sk_buff_head rxq;
287 struct sk_buff_head txq;
288 struct list_head evt_list;
289 struct list_head evt_free_list;
290 spinlock_t evt_lock;
291 struct efx_ptp_event_rx rx_evts[MAX_RECEIVE_EVENTS];
292 struct workqueue_struct *workwq;
293 struct work_struct work;
294 bool reset_required;
295 u32 rxfilter_event;
296 u32 rxfilter_general;
297 bool rxfilter_installed;
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;
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);