Lines Matching defs:e1000_adapter

187 struct e1000_adapter {  struct
188 struct timer_list watchdog_timer;
189 struct timer_list phy_info_timer;
190 struct timer_list blink_timer;
192 struct work_struct reset_task;
193 struct work_struct watchdog_task;
195 const struct e1000_info *ei;
197 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
198 u32 bd_number;
199 u32 rx_buffer_len;
200 u16 mng_vlan_id;
201 u16 link_speed;
202 u16 link_duplex;
203 u16 eeprom_vers;
206 unsigned long state;
209 u32 itr;
210 u32 itr_setting;
211 u16 tx_itr;
212 u16 rx_itr;
215 struct e1000_ring *tx_ring ____cacheline_aligned_in_smp;
216 u32 tx_fifo_limit;
218 struct napi_struct napi;
220 unsigned int uncorr_errors; /* uncorrectable ECC errors */
221 unsigned int corr_errors; /* correctable ECC errors */
222 unsigned int restart_queue;
223 u32 txd_cmd;
225 bool detect_tx_hung;
226 bool tx_hang_recheck;
227 u8 tx_timeout_factor;
229 u32 tx_int_delay;
230 u32 tx_abs_int_delay;
232 unsigned int total_tx_bytes;
233 unsigned int total_tx_packets;
234 unsigned int total_rx_bytes;
235 unsigned int total_rx_packets;
238 u64 tpt_old;
239 u64 colc_old;
240 u32 gotc;
241 u64 gotc_old;
242 u32 tx_timeout_count;
243 u32 tx_fifo_head;
244 u32 tx_head_addr;
245 u32 tx_fifo_size;
246 u32 tx_dma_failed;
247 u32 tx_hwtstamp_timeouts;
248 u32 tx_hwtstamp_skipped;
251 bool (*clean_rx)(struct e1000_ring *ring, int *work_done,
253 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
255 struct e1000_ring *rx_ring;
257 u32 rx_int_delay;
258 u32 rx_abs_int_delay;
261 u64 hw_csum_err;
262 u64 hw_csum_good;
263 u64 rx_hdr_split;
264 u32 gorc;
265 u64 gorc_old;
266 u32 alloc_rx_buff_failed;
267 u32 rx_dma_failed;
268 u32 rx_hwtstamp_cleared;
270 unsigned int rx_ps_pages;
271 u16 rx_ps_bsize0;
272 u32 max_frame_size;
273 u32 min_frame_size;
276 struct net_device *netdev;
277 struct pci_dev *pdev;
280 struct e1000_hw hw;
282 spinlock_t stats64_lock; /* protects statistics counters */
283 struct e1000_hw_stats stats;
284 struct e1000_phy_info phy_info;
285 struct e1000_phy_stats phy_stats;
288 struct e1000_phy_regs phy_regs;
290 struct e1000_ring test_tx_ring;
291 struct e1000_ring test_rx_ring;
292 u32 test_icr;
294 u32 msg_enable;
295 unsigned int num_vectors;
296 struct msix_entry *msix_entries;
297 int int_mode;
298 u32 eiac_mask;
300 u32 eeprom_wol;
301 u32 wol;
302 u32 pba;
303 u32 max_hw_frame_size;
305 bool fc_autoneg;
307 unsigned int flags;
308 unsigned int flags2;
309 struct work_struct downshift_task;
310 struct work_struct update_phy_task;
311 struct work_struct print_hang_task;
313 int phy_hang_count;
315 u16 tx_ring_count;
316 u16 rx_ring_count;
340 s32 (*get_variants)(struct e1000_adapter *); argument