Lines Matching refs:dev_stat
535 scc->dev_stat.rx_dropped++; in scc_rxint()
1626 scc->dev_stat.rx_packets++; in scc_net_rx()
1627 scc->dev_stat.rx_bytes += skb->len; in scc_net_rx()
1643 scc->dev_stat.tx_dropped++; /* bogus frame */ in scc_net_tx()
1648 scc->dev_stat.tx_packets++; in scc_net_tx()
1649 scc->dev_stat.tx_bytes += skb->len; in scc_net_tx()
1957 scc->dev_stat.rx_errors = scc->stat.rxerrs + scc->stat.rx_over; in scc_net_get_stats()
1958 scc->dev_stat.tx_errors = scc->stat.txerrs + scc->stat.tx_under; in scc_net_get_stats()
1959 scc->dev_stat.rx_fifo_errors = scc->stat.rx_over; in scc_net_get_stats()
1960 scc->dev_stat.tx_fifo_errors = scc->stat.tx_under; in scc_net_get_stats()
1962 return &scc->dev_stat; in scc_net_get_stats()