Lines Matching refs:report

276 static void nb8800_rx_error(struct net_device *dev, u32 report)  in nb8800_rx_error()  argument
278 if (report & RX_LENGTH_ERR) in nb8800_rx_error()
281 if (report & RX_FCS_ERR) in nb8800_rx_error()
284 if (report & RX_FIFO_OVERRUN) in nb8800_rx_error()
287 if (report & RX_ALIGNMENT_ERROR) in nb8800_rx_error()
314 if (!rxd->report) in nb8800_poll()
317 len = RX_BYTES_TRANSFERRED(rxd->report); in nb8800_poll()
319 if (IS_RX_ERROR(rxd->report)) in nb8800_poll()
320 nb8800_rx_error(dev, rxd->report); in nb8800_poll()
327 if (rxd->report & RX_MULTICAST_PKT) in nb8800_poll()
330 rxd->report = 0; in nb8800_poll()
350 if (priv->rx_descs[next].report) in nb8800_poll()
482 static void nb8800_tx_error(struct net_device *dev, u32 report) in nb8800_tx_error() argument
484 if (report & TX_LATE_COLLISION) in nb8800_tx_error()
487 if (report & TX_PACKET_DROPPED) in nb8800_tx_error()
490 if (report & TX_FIFO_UNDERRUN) in nb8800_tx_error()
509 if (!txd->report) in nb8800_tx_done()
518 if (IS_TX_ERROR(txd->report)) { in nb8800_tx_done()
519 nb8800_tx_error(dev, txd->report); in nb8800_tx_done()
526 dev->stats.tx_bytes += TX_BYTES_TRANSFERRED(txd->report); in nb8800_tx_done()
527 dev->stats.collisions += TX_EARLY_COLLISIONS(txd->report); in nb8800_tx_done()
531 txd->report = 0; in nb8800_tx_done()
803 rx_dma + offsetof(struct nb8800_rx_desc, report); in nb8800_dma_reset()
805 rxd->report = 0; in nb8800_dma_reset()
816 offsetof(struct nb8800_tx_desc, report); in nb8800_dma_reset()
821 txd->report = 0; in nb8800_dma_reset()