Lines Matching defs:e1000_adapter

188 struct e1000_adapter {  struct
189 struct timer_list watchdog_timer;
190 struct timer_list phy_info_timer;
191 struct timer_list blink_timer;
193 struct work_struct reset_task;
194 struct work_struct watchdog_task;
196 const struct e1000_info *ei;
198 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
199 u32 bd_number;
200 u32 rx_buffer_len;
201 u16 mng_vlan_id;
202 u16 link_speed;
203 u16 link_duplex;
204 u16 eeprom_vers;
207 unsigned long state;
210 u32 itr;
211 u32 itr_setting;
212 u16 tx_itr;
213 u16 rx_itr;
216 struct e1000_ring *tx_ring ____cacheline_aligned_in_smp;
217 u32 tx_fifo_limit;
219 struct napi_struct napi;
221 unsigned int uncorr_errors; /* uncorrectable ECC errors */
222 unsigned int corr_errors; /* correctable ECC errors */
223 unsigned int restart_queue;
224 u32 txd_cmd;
226 bool detect_tx_hung;
227 bool tx_hang_recheck;
228 u8 tx_timeout_factor;
230 u32 tx_int_delay;
231 u32 tx_abs_int_delay;
233 unsigned int total_tx_bytes;
234 unsigned int total_tx_packets;
235 unsigned int total_rx_bytes;
236 unsigned int total_rx_packets;
239 u64 tpt_old;
240 u64 colc_old;
241 u32 gotc;
242 u64 gotc_old;
243 u32 tx_timeout_count;
244 u32 tx_fifo_head;
245 u32 tx_head_addr;
246 u32 tx_fifo_size;
247 u32 tx_dma_failed;
248 u32 tx_hwtstamp_timeouts;
249 u32 tx_hwtstamp_skipped;
252 bool (*clean_rx)(struct e1000_ring *ring, int *work_done,
254 void (*alloc_rx_buf)(struct e1000_ring *ring, int cleaned_count,
256 struct e1000_ring *rx_ring;
258 u32 rx_int_delay;
259 u32 rx_abs_int_delay;
262 u64 hw_csum_err;
263 u64 hw_csum_good;
264 u64 rx_hdr_split;
265 u32 gorc;
266 u64 gorc_old;
267 u32 alloc_rx_buff_failed;
268 u32 rx_dma_failed;
269 u32 rx_hwtstamp_cleared;
271 unsigned int rx_ps_pages;
272 u16 rx_ps_bsize0;
273 u32 max_frame_size;
274 u32 min_frame_size;
277 struct net_device *netdev;
278 struct pci_dev *pdev;
281 struct e1000_hw hw;
283 spinlock_t stats64_lock; /* protects statistics counters */
284 struct e1000_hw_stats stats;
285 struct e1000_phy_info phy_info;
286 struct e1000_phy_stats phy_stats;
289 struct e1000_phy_regs phy_regs;
291 struct e1000_ring test_tx_ring;
292 struct e1000_ring test_rx_ring;
293 u32 test_icr;
295 u32 msg_enable;
296 unsigned int num_vectors;
297 struct msix_entry *msix_entries;
298 int int_mode;
299 u32 eiac_mask;
301 u32 eeprom_wol;
302 u32 wol;
303 u32 pba;
304 u32 max_hw_frame_size;
306 bool fc_autoneg;
308 unsigned int flags;
309 unsigned int flags2;
310 struct work_struct downshift_task;
311 struct work_struct update_phy_task;
312 struct work_struct print_hang_task;
314 int phy_hang_count;
316 u16 tx_ring_count;
317 u16 rx_ring_count;
341 s32 (*get_variants)(struct e1000_adapter *); argument