Lines Matching full:rxd
190 struct nb8800_rx_desc *rxd = &priv->rx_descs[i]; in nb8800_alloc_rx() local
215 rxd->desc.s_addr = dma_addr; in nb8800_alloc_rx()
224 struct nb8800_rx_desc *rxd = &priv->rx_descs[i]; in nb8800_receive() local
228 dma_addr_t dma = rxd->desc.s_addr; in nb8800_receive()
288 struct nb8800_rx_desc *rxd; in nb8800_poll() local
301 rxd = &priv->rx_descs[next]; in nb8800_poll()
303 if (!rxd->report) in nb8800_poll()
306 len = RX_BYTES_TRANSFERRED(rxd->report); in nb8800_poll()
308 if (IS_RX_ERROR(rxd->report)) in nb8800_poll()
309 nb8800_rx_error(dev, rxd->report); in nb8800_poll()
316 if (rxd->report & RX_MULTICAST_PKT) in nb8800_poll()
319 rxd->report = 0; in nb8800_poll()
784 struct nb8800_rx_desc *rxd; in nb8800_dma_reset() local
789 dma_addr_t rx_dma = priv->rx_desc_dma + i * sizeof(*rxd); in nb8800_dma_reset()
791 rxd = &priv->rx_descs[i]; in nb8800_dma_reset()
792 rxd->desc.n_addr = rx_dma + sizeof(*rxd); in nb8800_dma_reset()
793 rxd->desc.r_addr = in nb8800_dma_reset()
795 rxd->desc.config = priv->rx_dma_config; in nb8800_dma_reset()
796 rxd->report = 0; in nb8800_dma_reset()
799 rxd->desc.n_addr = priv->rx_desc_dma; in nb8800_dma_reset()
800 rxd->desc.config |= DESC_EOC; in nb8800_dma_reset()