• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/atlx/

Lines Matching defs:smb

1112 	adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block);
1113 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0;
1114 adapter->smb.dma += offset;
1115 adapter->smb.smb = (struct stats_msg_block *)
1257 adapter->smb.dma = 0;
1258 adapter->smb.smb = NULL;
1503 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL),
1678 struct stats_msg_block *smb = adapter->smb.smb;
1681 adapter->soft_stats.rx_packets += smb->rx_ok;
1682 adapter->soft_stats.tx_packets += smb->tx_ok;
1683 adapter->soft_stats.rx_bytes += smb->rx_byte_cnt;
1684 adapter->soft_stats.tx_bytes += smb->tx_byte_cnt;
1685 adapter->soft_stats.multicast += smb->rx_mcast;
1686 adapter->soft_stats.collisions += (smb->tx_1_col + smb->tx_2_col * 2 +
1687 smb->tx_late_col + smb->tx_abort_col * adapter->hw.max_retry);
1690 adapter->soft_stats.rx_errors += (smb->rx_frag + smb->rx_fcs_err +
1691 smb->rx_len_err + smb->rx_sz_ov + smb->rx_rxf_ov +
1692 smb->rx_rrd_ov + smb->rx_align_err);
1693 adapter->soft_stats.rx_fifo_errors += smb->rx_rxf_ov;
1694 adapter->soft_stats.rx_length_errors += smb->rx_len_err;
1695 adapter->soft_stats.rx_crc_errors += smb->rx_fcs_err;
1696 adapter->soft_stats.rx_frame_errors += smb->rx_align_err;
1697 adapter->soft_stats.rx_missed_errors += (smb->rx_rrd_ov +
1698 smb->rx_rxf_ov);
1700 adapter->soft_stats.rx_pause += smb->rx_pause;
1701 adapter->soft_stats.rx_rrd_ov += smb->rx_rrd_ov;
1702 adapter->soft_stats.rx_trunc += smb->rx_sz_ov;
1705 adapter->soft_stats.tx_errors += (smb->tx_late_col +
1706 smb->tx_abort_col + smb->tx_underrun + smb->tx_trunc);
1707 adapter->soft_stats.tx_fifo_errors += smb->tx_underrun;
1708 adapter->soft_stats.tx_aborted_errors += smb->tx_abort_col;
1709 adapter->soft_stats.tx_window_errors += smb->tx_late_col;
1711 adapter->soft_stats.excecol += smb->tx_abort_col;
1712 adapter->soft_stats.deffer += smb->tx_defer;
1713 adapter->soft_stats.scc += smb->tx_1_col;
1714 adapter->soft_stats.mcc += smb->tx_2_col;
1715 adapter->soft_stats.latecol += smb->tx_late_col;
1716 adapter->soft_stats.tx_underun += smb->tx_underrun;
1717 adapter->soft_stats.tx_trunc += smb->tx_trunc;
1718 adapter->soft_stats.tx_pause += smb->tx_pause;
3505 struct atl1_smb smb;
3551 smb = adapter->smb;
3558 adapter->smb = smb;