Lines Matching refs:stats
758 struct net_device_stats *stats = &dev->stats; in epic_pause() local
771 stats->rx_missed_errors += er8(MPCNT); in epic_pause()
772 stats->rx_frame_errors += er8(ALICNT); in epic_pause()
773 stats->rx_crc_errors += er8(CRCCNT); in epic_pause()
885 dev->stats.tx_fifo_errors++; in epic_tx_timeout()
893 dev->stats.tx_errors++; in epic_tx_timeout()
1000 struct net_device_stats *stats = &dev->stats; in epic_tx_error() local
1008 stats->tx_errors++; in epic_tx_error()
1010 stats->tx_aborted_errors++; in epic_tx_error()
1012 stats->tx_carrier_errors++; in epic_tx_error()
1014 stats->tx_window_errors++; in epic_tx_error()
1016 stats->tx_fifo_errors++; in epic_tx_error()
1037 dev->stats.collisions += (txstatus >> 8) & 15; in epic_tx()
1038 dev->stats.tx_packets++; in epic_tx()
1039 dev->stats.tx_bytes += ep->tx_skbuff[entry]->len; in epic_tx()
1103 struct net_device_stats *stats = &dev->stats; in epic_interrupt() local
1109 stats->rx_missed_errors += er8(MPCNT); in epic_interrupt()
1110 stats->rx_frame_errors += er8(ALICNT); in epic_interrupt()
1111 stats->rx_crc_errors += er8(CRCCNT); in epic_interrupt()
1114 stats->tx_fifo_errors++; in epic_interrupt()
1168 dev->stats.rx_length_errors++; in epic_rx()
1171 dev->stats.rx_errors++; in epic_rx()
1207 dev->stats.rx_packets++; in epic_rx()
1208 dev->stats.rx_bytes += pkt_len; in epic_rx()
1243 dev->stats.rx_errors++; in epic_rx_err()
1346 struct net_device_stats *stats = &dev->stats; in epic_get_stats() local
1348 stats->rx_missed_errors += er8(MPCNT); in epic_get_stats()
1349 stats->rx_frame_errors += er8(ALICNT); in epic_get_stats()
1350 stats->rx_crc_errors += er8(CRCCNT); in epic_get_stats()
1353 return &dev->stats; in epic_get_stats()