Lines Matching refs:new_stats

860 	struct net_device_stats *new_stats = &dev->stats;  in amd8111e_get_stats()  local
863 return new_stats; in amd8111e_get_stats()
867 new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ in amd8111e_get_stats()
872 new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); in amd8111e_get_stats()
875 new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); in amd8111e_get_stats()
878 new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); in amd8111e_get_stats()
882 new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ in amd8111e_get_stats()
891 new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
894 new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
897 new_stats->tx_dropped = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
900 new_stats->multicast = amd8111e_read_mib(mmio, rcv_multicast_pkts); in amd8111e_get_stats()
903 new_stats->collisions = amd8111e_read_mib(mmio, xmt_collisions); in amd8111e_get_stats()
906 new_stats->rx_length_errors = in amd8111e_get_stats()
911 new_stats->rx_over_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
914 new_stats->rx_crc_errors = amd8111e_read_mib(mmio, rcv_fcs_errors); in amd8111e_get_stats()
917 new_stats->rx_frame_errors = in amd8111e_get_stats()
921 new_stats->rx_fifo_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
924 new_stats->rx_missed_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); in amd8111e_get_stats()
927 new_stats->tx_aborted_errors = in amd8111e_get_stats()
931 new_stats->tx_carrier_errors = in amd8111e_get_stats()
935 new_stats->tx_fifo_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); in amd8111e_get_stats()
938 new_stats->tx_window_errors = in amd8111e_get_stats()
946 return new_stats; in amd8111e_get_stats()