Lines Matching defs:e1000_adapter
209 struct e1000_adapter { struct
210 struct timer_list watchdog_timer;
211 struct timer_list phy_info_timer;
212 struct timer_list blink_timer;
214 struct work_struct reset_task;
215 struct work_struct watchdog_task;
217 const struct e1000_info *ei;
219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
220 u32 bd_number;
221 u32 rx_buffer_len;
222 u16 mng_vlan_id;
223 u16 link_speed;
224 u16 link_duplex;
225 u16 eeprom_vers;
228 unsigned long state;
231 u32 itr;
232 u32 itr_setting;
233 u16 tx_itr;
234 u16 rx_itr;
237 struct e1000_ring *tx_ring ____cacheline_aligned_in_smp;
238 u32 tx_fifo_limit;
240 struct napi_struct napi;
242 unsigned int uncorr_errors; /* uncorrectable ECC errors */
243 unsigned int corr_errors; /* correctable ECC errors */
244 unsigned int restart_queue;
245 u32 txd_cmd;
247 bool detect_tx_hung;
248 bool tx_hang_recheck;
249 u8 tx_timeout_factor;
251 u32 tx_int_delay;
252 u32 tx_abs_int_delay;
254 unsigned int total_tx_bytes;
255 unsigned int total_tx_packets;
256 unsigned int total_rx_bytes;
257 unsigned int total_rx_packets;
260 u64 tpt_old;
261 u64 colc_old;
262 u32 gotc;
263 u64 gotc_old;
264 u32 tx_timeout_count;
265 u32 tx_fifo_head;
266 u32 tx_head_addr;
267 u32 tx_fifo_size;
268 u32 tx_dma_failed;
269 u32 tx_hwtstamp_timeouts;
272 bool (*clean_rx)(struct e1000_ring *ring, int *work_done,
274 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
276 struct e1000_ring *rx_ring;
278 u32 rx_int_delay;
279 u32 rx_abs_int_delay;
282 u64 hw_csum_err;
283 u64 hw_csum_good;
284 u64 rx_hdr_split;
285 u32 gorc;
286 u64 gorc_old;
287 u32 alloc_rx_buff_failed;
288 u32 rx_dma_failed;
289 u32 rx_hwtstamp_cleared;
291 unsigned int rx_ps_pages;
292 u16 rx_ps_bsize0;
293 u32 max_frame_size;
294 u32 min_frame_size;
297 struct net_device *netdev;
298 struct pci_dev *pdev;
301 struct e1000_hw hw;
303 spinlock_t stats64_lock; /* protects statistics counters */
304 struct e1000_hw_stats stats;
305 struct e1000_phy_info phy_info;
306 struct e1000_phy_stats phy_stats;
309 struct e1000_phy_regs phy_regs;
311 struct e1000_ring test_tx_ring;
312 struct e1000_ring test_rx_ring;
313 u32 test_icr;
315 u32 msg_enable;
316 unsigned int num_vectors;
317 struct msix_entry *msix_entries;
318 int int_mode;
319 u32 eiac_mask;
321 u32 eeprom_wol;
322 u32 wol;
323 u32 pba;
324 u32 max_hw_frame_size;
326 bool fc_autoneg;
328 unsigned int flags;
329 unsigned int flags2;
330 struct work_struct downshift_task;
331 struct work_struct update_phy_task;
332 struct work_struct print_hang_task;
334 int phy_hang_count;
336 u16 tx_ring_count;
360 s32 (*get_variants)(struct e1000_adapter *); argument