Lines Matching refs:nst
1875 struct net_device_stats *nst = &dev->nstats; in emac_stats() local
1882 nst->rx_packets = (unsigned long)st->rx_packets; in emac_stats()
1883 nst->rx_bytes = (unsigned long)st->rx_bytes; in emac_stats()
1884 nst->tx_packets = (unsigned long)st->tx_packets; in emac_stats()
1885 nst->tx_bytes = (unsigned long)st->tx_bytes; in emac_stats()
1886 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + in emac_stats()
1890 nst->tx_dropped = (unsigned long)est->tx_dropped; in emac_stats()
1892 nst->rx_errors = (unsigned long)est->rx_bd_errors; in emac_stats()
1893 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + in emac_stats()
1896 nst->rx_frame_errors = (unsigned long)(est->rx_bd_alignment_error + in emac_stats()
1898 nst->rx_crc_errors = (unsigned long)(est->rx_bd_bad_fcs + in emac_stats()
1900 nst->rx_length_errors = (unsigned long)(est->rx_bd_runt_packet + in emac_stats()
1911 nst->tx_errors = (unsigned long)(est->tx_bd_errors + est->tx_errors); in emac_stats()
1912 nst->tx_fifo_errors = (unsigned long)(est->tx_bd_underrun + in emac_stats()
1914 nst->tx_carrier_errors = (unsigned long)est->tx_bd_carrier_loss; in emac_stats()
1915 nst->collisions = (unsigned long)(est->tx_bd_excessive_deferral + in emac_stats()
1920 return nst; in emac_stats()