Lines Matching refs:nst
1975 struct net_device_stats *nst = &ndev->stats; in emac_stats() local
1982 nst->rx_packets = (unsigned long)st->rx_packets; in emac_stats()
1983 nst->rx_bytes = (unsigned long)st->rx_bytes; in emac_stats()
1984 nst->tx_packets = (unsigned long)st->tx_packets; in emac_stats()
1985 nst->tx_bytes = (unsigned long)st->tx_bytes; in emac_stats()
1986 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + in emac_stats()
1990 nst->tx_dropped = (unsigned long)est->tx_dropped; in emac_stats()
1992 nst->rx_errors = (unsigned long)est->rx_bd_errors; in emac_stats()
1993 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + in emac_stats()
1996 nst->rx_frame_errors = (unsigned long)(est->rx_bd_alignment_error + in emac_stats()
1998 nst->rx_crc_errors = (unsigned long)(est->rx_bd_bad_fcs + in emac_stats()
2000 nst->rx_length_errors = (unsigned long)(est->rx_bd_runt_packet + in emac_stats()
2011 nst->tx_errors = (unsigned long)(est->tx_bd_errors + est->tx_errors); in emac_stats()
2012 nst->tx_fifo_errors = (unsigned long)(est->tx_bd_underrun + in emac_stats()
2014 nst->tx_carrier_errors = (unsigned long)est->tx_bd_carrier_loss; in emac_stats()
2015 nst->collisions = (unsigned long)(est->tx_bd_excessive_deferral + in emac_stats()
2020 return nst; in emac_stats()