Lines Matching defs:stats
302 struct net_device_stats stats;
972 np->stats.tx_errors++;
1076 np->stats.tx_errors++;
1077 if (tx_status & 0x0104) np->stats.tx_aborted_errors++;
1078 if (tx_status & 0x0C80) np->stats.tx_carrier_errors++;
1079 if (tx_status & 0x0200) np->stats.tx_window_errors++;
1080 if (tx_status & 0x0002) np->stats.tx_fifo_errors++;
1082 np->stats.tx_heartbeat_errors++;
1089 np->stats.tx_bytes += np->tx_skbuff[entry]->len;
1090 np->stats.collisions += (tx_status >> 3) & 15;
1091 np->stats.tx_packets++;
1207 np->stats.rx_length_errors++;
1214 np->stats.rx_errors++; /* end of a packet.*/
1215 if (status & 0x0890) np->stats.rx_length_errors++;
1216 if (status & 0x004C) np->stats.rx_frame_errors++;
1217 if (status & 0x0002) np->stats.rx_crc_errors++;
1259 np->stats.rx_packets++;
1260 np->stats.rx_bytes += pkt_len;
1312 np->stats.rx_errors++;
1319 np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff;
1332 np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff;
1335 return &np->stats;
1502 np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff;
1589 np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff;