Lines Matching refs:report
267 static void nb8800_rx_error(struct net_device *dev, u32 report)
269 if (report & RX_LENGTH_ERR)
272 if (report & RX_FCS_ERR)
275 if (report & RX_FIFO_OVERRUN)
278 if (report & RX_ALIGNMENT_ERROR)
303 if (!rxd->report)
306 len = RX_BYTES_TRANSFERRED(rxd->report);
308 if (IS_RX_ERROR(rxd->report))
309 nb8800_rx_error(dev, rxd->report);
316 if (rxd->report & RX_MULTICAST_PKT)
319 rxd->report = 0;
339 if (priv->rx_descs[next].report)
473 static void nb8800_tx_error(struct net_device *dev, u32 report)
475 if (report & TX_LATE_COLLISION)
478 if (report & TX_PACKET_DROPPED)
481 if (report & TX_FIFO_UNDERRUN)
500 if (!txd->report)
509 if (IS_TX_ERROR(txd->report)) {
510 nb8800_tx_error(dev, txd->report);
517 dev->stats.tx_bytes += TX_BYTES_TRANSFERRED(txd->report);
518 dev->stats.collisions += TX_EARLY_COLLISIONS(txd->report);
522 txd->report = 0;
794 rx_dma + offsetof(struct nb8800_rx_desc, report);
796 rxd->report = 0;
807 offsetof(struct nb8800_tx_desc, report);
812 txd->report = 0;