Lines Matching defs:e1000_adapter

191 struct e1000_adapter {  struct
192 struct timer_list watchdog_timer;
193 struct timer_list phy_info_timer;
194 struct timer_list blink_timer;
196 struct work_struct reset_task;
197 struct work_struct watchdog_task;
199 const struct e1000_info *ei;
201 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
202 u32 bd_number;
203 u32 rx_buffer_len;
204 u16 mng_vlan_id;
205 u16 link_speed;
206 u16 link_duplex;
207 u16 eeprom_vers;
210 unsigned long state;
213 u32 itr;
214 u32 itr_setting;
215 u16 tx_itr;
216 u16 rx_itr;
219 struct e1000_ring *tx_ring ____cacheline_aligned_in_smp;
220 u32 tx_fifo_limit;
222 struct napi_struct napi;
224 unsigned int uncorr_errors; /* uncorrectable ECC errors */
225 unsigned int corr_errors; /* correctable ECC errors */
226 unsigned int restart_queue;
227 u32 txd_cmd;
229 bool detect_tx_hung;
230 bool tx_hang_recheck;
231 u8 tx_timeout_factor;
233 u32 tx_int_delay;
234 u32 tx_abs_int_delay;
236 unsigned int total_tx_bytes;
237 unsigned int total_tx_packets;
238 unsigned int total_rx_bytes;
239 unsigned int total_rx_packets;
242 u64 tpt_old;
243 u64 colc_old;
244 u32 gotc;
245 u64 gotc_old;
246 u32 tx_timeout_count;
247 u32 tx_fifo_head;
248 u32 tx_head_addr;
249 u32 tx_fifo_size;
250 u32 tx_dma_failed;
251 u32 tx_hwtstamp_timeouts;
252 u32 tx_hwtstamp_skipped;
255 bool (*clean_rx)(struct e1000_ring *ring, int *work_done,
257 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
259 struct e1000_ring *rx_ring;
261 u32 rx_int_delay;
262 u32 rx_abs_int_delay;
265 u64 hw_csum_err;
266 u64 hw_csum_good;
267 u64 rx_hdr_split;
268 u32 gorc;
269 u64 gorc_old;
270 u32 alloc_rx_buff_failed;
271 u32 rx_dma_failed;
272 u32 rx_hwtstamp_cleared;
274 unsigned int rx_ps_pages;
275 u16 rx_ps_bsize0;
276 u32 max_frame_size;
277 u32 min_frame_size;
280 struct net_device *netdev;
281 struct pci_dev *pdev;
284 struct e1000_hw hw;
286 spinlock_t stats64_lock; /* protects statistics counters */
287 struct e1000_hw_stats stats;
288 struct e1000_phy_info phy_info;
289 struct e1000_phy_stats phy_stats;
292 struct e1000_phy_regs phy_regs;
294 struct e1000_ring test_tx_ring;
295 struct e1000_ring test_rx_ring;
296 u32 test_icr;
298 u32 msg_enable;
299 unsigned int num_vectors;
300 struct msix_entry *msix_entries;
301 int int_mode;
302 u32 eiac_mask;
304 u32 eeprom_wol;
305 u32 wol;
306 u32 pba;
307 u32 max_hw_frame_size;
309 bool fc_autoneg;
311 unsigned int flags;
312 unsigned int flags2;
313 struct work_struct downshift_task;
314 struct work_struct update_phy_task;
315 struct work_struct print_hang_task;
317 int phy_hang_count;
319 u16 tx_ring_count;
320 u16 rx_ring_count;
344 s32 (*get_variants)(struct e1000_adapter *); argument