Lines Matching defs:smb

1092 	adapter->smb.dma = adapter->cmb.dma + sizeof(struct coals_msg_block);
1093 offset = (adapter->smb.dma & 0x7) ? (8 - (adapter->smb.dma & 0x7)) : 0;
1094 adapter->smb.dma += offset;
1095 adapter->smb.smb = (struct stats_msg_block *)
1237 adapter->smb.dma = 0;
1238 adapter->smb.smb = NULL;
1482 iowrite32((u32) (adapter->smb.dma & 0x00000000ffffffffULL),
1657 struct stats_msg_block *smb = adapter->smb.smb;
1659 u64 new_rx_errors = smb->rx_frag +
1660 smb->rx_fcs_err +
1661 smb->rx_len_err +
1662 smb->rx_sz_ov +
1663 smb->rx_rxf_ov +
1664 smb->rx_rrd_ov +
1665 smb->rx_align_err;
1666 u64 new_tx_errors = smb->tx_late_col +
1667 smb->tx_abort_col +
1668 smb->tx_underrun +
1669 smb->tx_trunc;
1672 adapter->soft_stats.rx_packets += smb->rx_ok + new_rx_errors;
1673 adapter->soft_stats.tx_packets += smb->tx_ok + new_tx_errors;
1674 adapter->soft_stats.rx_bytes += smb->rx_byte_cnt;
1675 adapter->soft_stats.tx_bytes += smb->tx_byte_cnt;
1676 adapter->soft_stats.multicast += smb->rx_mcast;
1677 adapter->soft_stats.collisions += smb->tx_1_col +
1678 smb->tx_2_col +
1679 smb->tx_late_col +
1680 smb->tx_abort_col;
1684 adapter->soft_stats.rx_fifo_errors += smb->rx_rxf_ov;
1685 adapter->soft_stats.rx_length_errors += smb->rx_len_err;
1686 adapter->soft_stats.rx_crc_errors += smb->rx_fcs_err;
1687 adapter->soft_stats.rx_frame_errors += smb->rx_align_err;
1689 adapter->soft_stats.rx_pause += smb->rx_pause;
1690 adapter->soft_stats.rx_rrd_ov += smb->rx_rrd_ov;
1691 adapter->soft_stats.rx_trunc += smb->rx_sz_ov;
1695 adapter->soft_stats.tx_fifo_errors += smb->tx_underrun;
1696 adapter->soft_stats.tx_aborted_errors += smb->tx_abort_col;
1697 adapter->soft_stats.tx_window_errors += smb->tx_late_col;
1699 adapter->soft_stats.excecol += smb->tx_abort_col;
1700 adapter->soft_stats.deffer += smb->tx_defer;
1701 adapter->soft_stats.scc += smb->tx_1_col;
1702 adapter->soft_stats.mcc += smb->tx_2_col;
1703 adapter->soft_stats.latecol += smb->tx_late_col;
1704 adapter->soft_stats.tx_underrun += smb->tx_underrun;
1705 adapter->soft_stats.tx_trunc += smb->tx_trunc;
1706 adapter->soft_stats.tx_pause += smb->tx_pause;
3469 struct atl1_smb smb;
3515 smb = adapter->smb;
3522 adapter->smb = smb;