Lines Matching refs:stats
76 struct net_device_stats stats; member
199 priv->stats.rx_errors++; in cirrus_receive()
200 if ((status & (Runt | Extradata))) priv->stats.rx_length_errors++; in cirrus_receive()
201 if ((status & CRCerror)) priv->stats.rx_crc_errors++; in cirrus_receive()
206 priv->stats.rx_dropped++; in cirrus_receive()
224 priv->stats.rx_packets++; in cirrus_receive()
225 priv->stats.rx_bytes += length; in cirrus_receive()
242 priv->stats.tx_errors++; in cirrus_send_start()
243 priv->stats.tx_aborted_errors++; in cirrus_send_start()
250 priv->stats.tx_errors++; in cirrus_send_start()
291 priv->stats.collisions += ColCount (cirrus_read (dev,PP_TxCOL)); in cirrus_interrupt()
293 priv->stats.tx_errors++; in cirrus_interrupt()
294 if ((RegContent (status) & Out_of_window)) priv->stats.tx_window_errors++; in cirrus_interrupt()
295 if ((RegContent (status) & Jabber)) priv->stats.tx_aborted_errors++; in cirrus_interrupt()
298 priv->stats.tx_packets++; in cirrus_interrupt()
299 priv->stats.tx_bytes += priv->txlen; in cirrus_interrupt()
308 priv->stats.rx_errors += missed; in cirrus_interrupt()
309 priv->stats.rx_missed_errors += missed; in cirrus_interrupt()
312 priv->stats.tx_errors++; in cirrus_interrupt()
313 priv->stats.tx_fifo_errors++; in cirrus_interrupt()
321 priv->stats.collisions += ColCount (cirrus_read (dev,PP_TxCOL)); in cirrus_interrupt()
326 priv->stats.rx_errors += status; in cirrus_interrupt()
327 priv->stats.rx_missed_errors += status; in cirrus_interrupt()
336 priv->stats.tx_errors++; in cirrus_transmit_timeout()
337 priv->stats.tx_heartbeat_errors++; in cirrus_transmit_timeout()
421 return (&priv->stats); in cirrus_get_stats()