Lines Matching refs:dev_stat
538 scc->dev_stat.rx_dropped++; in scc_rxint()
1628 scc->dev_stat.rx_packets++; in scc_net_rx()
1629 scc->dev_stat.rx_bytes += skb->len; in scc_net_rx()
1648 scc->dev_stat.tx_dropped++; /* bogus frame */ in scc_net_tx()
1653 scc->dev_stat.tx_packets++; in scc_net_tx()
1654 scc->dev_stat.tx_bytes += skb->len; in scc_net_tx()
1964 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1965 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
1966 scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; in scc_net_get_stats()
1967 scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; in scc_net_get_stats()
1969 return &scc->dev_stat; in scc_net_get_stats()