Lines Matching defs:efx_ptp_data

284 struct efx_ptp_data {  struct
285 struct efx_nic *efx;
286 struct efx_channel *channel;
287 bool rx_ts_inline;
288 struct sk_buff_head rxq;
289 struct sk_buff_head txq;
290 struct list_head evt_list;
291 struct list_head evt_free_list;
292 spinlock_t evt_lock;
293 struct efx_ptp_event_rx rx_evts[MAX_RECEIVE_EVENTS];
294 struct workqueue_struct *workwq;
295 struct work_struct work;
296 bool reset_required;
297 u32 rxfilter_event;
298 u32 rxfilter_general;
299 bool rxfilter_installed;
300 struct hwtstamp_config config;
301 bool enabled;
302 unsigned int mode;
303 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor);
304 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor,
306 struct {
311 } nic_time;
312 unsigned int min_synchronisation_ns;
313 unsigned int capabilities;
314 struct {
321 } ts_corrections;
322 efx_qword_t evt_frags[MAX_EVENT_FRAGS];
323 int evt_frag_idx;
324 int evt_code;
325 struct efx_buffer start;
326 struct pps_event_time host_time_pps;
327 unsigned int adjfreq_ppb_shift;
328 s64 current_adjfreq;
329 struct ptp_clock *phc_clock;
330 struct ptp_clock_info phc_clock_info;
331 struct work_struct pps_work;
332 struct workqueue_struct *pps_workwq;
333 bool nic_ts_enabled;
334 efx_dword_t txbuf[MCDI_TX_BUF_LEN(MC_CMD_PTP_IN_TRANSMIT_LENMAX)];
336 unsigned int good_syncs;
337 unsigned int fast_syncs;
338 unsigned int bad_syncs;
339 unsigned int sync_timeouts;
340 unsigned int no_time_syncs;
341 unsigned int invalid_sync_windows;
342 unsigned int undersize_sync_windows;
343 unsigned int oversize_sync_windows;
344 unsigned int rx_no_timestamp;
346 timeset[MC_CMD_PTP_OUT_SYNCHRONIZE_TIMESET_MAXNUM];
347 void (*xmit_skb)(struct efx_nic *efx, struct sk_buff *skb);