Lines Matching refs:dev_stat
536 scc->dev_stat.rx_dropped++; in scc_rxint()
1627 scc->dev_stat.rx_packets++; in scc_net_rx()
1628 scc->dev_stat.rx_bytes += skb->len; in scc_net_rx()
1647 scc->dev_stat.tx_dropped++; /* bogus frame */ in scc_net_tx()
1652 scc->dev_stat.tx_packets++; in scc_net_tx()
1653 scc->dev_stat.tx_bytes += skb->len; in scc_net_tx()
1961 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1962 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
1963 scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; in scc_net_get_stats()
1964 scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; in scc_net_get_stats()
1966 return &scc->dev_stat; in scc_net_get_stats()