Lines Matching defs:e1000_adapter

207 struct e1000_adapter {  struct
208 struct timer_list watchdog_timer;
209 struct timer_list phy_info_timer;
210 struct timer_list blink_timer;
212 struct work_struct reset_task;
213 struct work_struct watchdog_task;
215 const struct e1000_info *ei;
217 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
218 u32 bd_number;
219 u32 rx_buffer_len;
220 u16 mng_vlan_id;
221 u16 link_speed;
222 u16 link_duplex;
223 u16 eeprom_vers;
226 unsigned long state;
229 u32 itr;
230 u32 itr_setting;
231 u16 tx_itr;
232 u16 rx_itr;
235 struct e1000_ring *tx_ring ____cacheline_aligned_in_smp;
236 u32 tx_fifo_limit;
238 struct napi_struct napi;
240 unsigned int uncorr_errors; /* uncorrectable ECC errors */
241 unsigned int corr_errors; /* correctable ECC errors */
242 unsigned int restart_queue;
243 u32 txd_cmd;
245 bool detect_tx_hung;
246 bool tx_hang_recheck;
247 u8 tx_timeout_factor;
249 u32 tx_int_delay;
250 u32 tx_abs_int_delay;
252 unsigned int total_tx_bytes;
253 unsigned int total_tx_packets;
254 unsigned int total_rx_bytes;
255 unsigned int total_rx_packets;
258 u64 tpt_old;
259 u64 colc_old;
260 u32 gotc;
261 u64 gotc_old;
262 u32 tx_timeout_count;
263 u32 tx_fifo_head;
264 u32 tx_head_addr;
265 u32 tx_fifo_size;
266 u32 tx_dma_failed;
267 u32 tx_hwtstamp_timeouts;
270 bool (*clean_rx)(struct e1000_ring *ring, int *work_done,
272 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
274 struct e1000_ring *rx_ring;
276 u32 rx_int_delay;
277 u32 rx_abs_int_delay;
280 u64 hw_csum_err;
281 u64 hw_csum_good;
282 u64 rx_hdr_split;
283 u32 gorc;
284 u64 gorc_old;
285 u32 alloc_rx_buff_failed;
286 u32 rx_dma_failed;
287 u32 rx_hwtstamp_cleared;
289 unsigned int rx_ps_pages;
290 u16 rx_ps_bsize0;
291 u32 max_frame_size;
292 u32 min_frame_size;
295 struct net_device *netdev;
296 struct pci_dev *pdev;
299 struct e1000_hw hw;
301 spinlock_t stats64_lock; /* protects statistics counters */
302 struct e1000_hw_stats stats;
303 struct e1000_phy_info phy_info;
304 struct e1000_phy_stats phy_stats;
307 struct e1000_phy_regs phy_regs;
309 struct e1000_ring test_tx_ring;
310 struct e1000_ring test_rx_ring;
311 u32 test_icr;
313 u32 msg_enable;
314 unsigned int num_vectors;
315 struct msix_entry *msix_entries;
316 int int_mode;
317 u32 eiac_mask;
319 u32 eeprom_wol;
320 u32 wol;
321 u32 pba;
322 u32 max_hw_frame_size;
324 bool fc_autoneg;
326 unsigned int flags;
327 unsigned int flags2;
328 struct work_struct downshift_task;
329 struct work_struct update_phy_task;
330 struct work_struct print_hang_task;
332 int phy_hang_count;
334 u16 tx_ring_count;
358 s32 (*get_variants)(struct e1000_adapter *); argument