• Home
  • Raw
  • Download

Lines Matching refs:nstats

2085 	struct net_device_stats *nstats, *stats0, *stats1;  in ravb_get_stats()  local
2087 nstats = &ndev->stats; in ravb_get_stats()
2091 nstats->tx_dropped += ravb_read(ndev, TROCR); in ravb_get_stats()
2096 nstats->collisions += ravb_read(ndev, CXR41); in ravb_get_stats()
2098 nstats->tx_carrier_errors += ravb_read(ndev, CXR42); in ravb_get_stats()
2102 nstats->rx_packets = stats0->rx_packets; in ravb_get_stats()
2103 nstats->tx_packets = stats0->tx_packets; in ravb_get_stats()
2104 nstats->rx_bytes = stats0->rx_bytes; in ravb_get_stats()
2105 nstats->tx_bytes = stats0->tx_bytes; in ravb_get_stats()
2106 nstats->multicast = stats0->multicast; in ravb_get_stats()
2107 nstats->rx_errors = stats0->rx_errors; in ravb_get_stats()
2108 nstats->rx_crc_errors = stats0->rx_crc_errors; in ravb_get_stats()
2109 nstats->rx_frame_errors = stats0->rx_frame_errors; in ravb_get_stats()
2110 nstats->rx_length_errors = stats0->rx_length_errors; in ravb_get_stats()
2111 nstats->rx_missed_errors = stats0->rx_missed_errors; in ravb_get_stats()
2112 nstats->rx_over_errors = stats0->rx_over_errors; in ravb_get_stats()
2116 nstats->rx_packets += stats1->rx_packets; in ravb_get_stats()
2117 nstats->tx_packets += stats1->tx_packets; in ravb_get_stats()
2118 nstats->rx_bytes += stats1->rx_bytes; in ravb_get_stats()
2119 nstats->tx_bytes += stats1->tx_bytes; in ravb_get_stats()
2120 nstats->multicast += stats1->multicast; in ravb_get_stats()
2121 nstats->rx_errors += stats1->rx_errors; in ravb_get_stats()
2122 nstats->rx_crc_errors += stats1->rx_crc_errors; in ravb_get_stats()
2123 nstats->rx_frame_errors += stats1->rx_frame_errors; in ravb_get_stats()
2124 nstats->rx_length_errors += stats1->rx_length_errors; in ravb_get_stats()
2125 nstats->rx_missed_errors += stats1->rx_missed_errors; in ravb_get_stats()
2126 nstats->rx_over_errors += stats1->rx_over_errors; in ravb_get_stats()
2129 return nstats; in ravb_get_stats()