• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/atl1/

Lines Matching defs:smb

252 	adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block);
253 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0;
254 adapter->smb.dma += offset;
255 adapter->smb.smb = (struct stats_msg_block *)
287 struct stats_msg_block *smb = adapter->smb.smb;
290 adapter->soft_stats.rx_packets += smb->rx_ok;
291 adapter->soft_stats.tx_packets += smb->tx_ok;
292 adapter->soft_stats.rx_bytes += smb->rx_byte_cnt;
293 adapter->soft_stats.tx_bytes += smb->tx_byte_cnt;
294 adapter->soft_stats.multicast += smb->rx_mcast;
295 adapter->soft_stats.collisions += (smb->tx_1_col +
296 smb->tx_2_col * 2 +
297 smb->tx_late_col +
298 smb->tx_abort_col *
302 adapter->soft_stats.rx_errors += (smb->rx_frag +
303 smb->rx_fcs_err +
304 smb->rx_len_err +
305 smb->rx_sz_ov +
306 smb->rx_rxf_ov +
307 smb->rx_rrd_ov + smb->rx_align_err);
308 adapter->soft_stats.rx_fifo_errors += smb->rx_rxf_ov;
309 adapter->soft_stats.rx_length_errors += smb->rx_len_err;
310 adapter->soft_stats.rx_crc_errors += smb->rx_fcs_err;
311 adapter->soft_stats.rx_frame_errors += smb->rx_align_err;
312 adapter->soft_stats.rx_missed_errors += (smb->rx_rrd_ov +
313 smb->rx_rxf_ov);
315 adapter->soft_stats.rx_pause += smb->rx_pause;
316 adapter->soft_stats.rx_rrd_ov += smb->rx_rrd_ov;
317 adapter->soft_stats.rx_trunc += smb->rx_sz_ov;
320 adapter->soft_stats.tx_errors += (smb->tx_late_col +
321 smb->tx_abort_col +
322 smb->tx_underrun + smb->tx_trunc);
323 adapter->soft_stats.tx_fifo_errors += smb->tx_underrun;
324 adapter->soft_stats.tx_aborted_errors += smb->tx_abort_col;
325 adapter->soft_stats.tx_window_errors += smb->tx_late_col;
327 adapter->soft_stats.excecol += smb->tx_abort_col;
328 adapter->soft_stats.deffer += smb->tx_defer;
329 adapter->soft_stats.scc += smb->tx_1_col;
330 adapter->soft_stats.mcc += smb->tx_2_col;
331 adapter->soft_stats.latecol += smb->tx_late_col;
332 adapter->soft_stats.tx_underun += smb->tx_underrun;
333 adapter->soft_stats.tx_trunc += smb->tx_trunc;
334 adapter->soft_stats.tx_pause += smb->tx_pause;
1058 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL),