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