Lines Matching refs:dev_stat
535 scc->dev_stat.rx_dropped++; in scc_rxint()
1624 scc->dev_stat.rx_packets++; in scc_net_rx()
1625 scc->dev_stat.rx_bytes += skb->len; in scc_net_rx()
1642 scc->dev_stat.tx_dropped++; /* bogus frame */ in scc_net_tx()
1647 scc->dev_stat.tx_packets++; in scc_net_tx()
1648 scc->dev_stat.tx_bytes += skb->len; in scc_net_tx()
1956 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1957 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
1958 scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; in scc_net_get_stats()
1959 scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; in scc_net_get_stats()
1961 return &scc->dev_stat; in scc_net_get_stats()