Lines Matching refs:rxbuf
1201 struct mvneta_buf *rxbuf; in mvneta_ring_alloc_rx_queue() local
1231 rxbuf = &rx->rxbuf[i]; in mvneta_ring_alloc_rx_queue()
1232 rxbuf->dmap = dmap; in mvneta_ring_alloc_rx_queue()
1233 rxbuf->m = NULL; in mvneta_ring_alloc_rx_queue()
1474 struct mvneta_buf *rxbuf; in mvneta_ring_flush_rx_queue() local
1482 rxbuf = &rx->rxbuf[i]; in mvneta_ring_flush_rx_queue()
1483 mvneta_rx_buf_free(sc, rxbuf); in mvneta_ring_flush_rx_queue()
2981 struct mvneta_buf *rxbuf; in mvneta_rx_queue() local
3004 mvneta_prefetch(&rx->rxbuf[ndma]); in mvneta_rx_queue()
3008 rxbuf = &rx->rxbuf[rx->dma]; in mvneta_rx_queue()
3009 m = rxbuf->m; in mvneta_rx_queue()
3010 rxbuf->m = NULL; in mvneta_rx_queue()
3012 bus_dmamap_sync(sc->rxbuf_dtag, rxbuf->dmap, in mvneta_rx_queue()
3014 bus_dmamap_unload(sc->rxbuf_dtag, rxbuf->dmap); in mvneta_rx_queue()
3106 mvneta_rx_buf_free(struct mvneta_softc *sc, struct mvneta_buf *rxbuf) in mvneta_rx_buf_free() argument
3109 bus_dmamap_unload(sc->rxbuf_dtag, rxbuf->dmap); in mvneta_rx_buf_free()
3111 m_freem(rxbuf->m); in mvneta_rx_buf_free()
3119 struct mvneta_buf *rxbuf; in mvneta_rx_queue_refill() local
3139 rxbuf = &rx->rxbuf[rx->cpu]; in mvneta_rx_queue_refill()
3147 error = bus_dmamap_load_mbuf_sg(sc->rxbuf_dtag, rxbuf->dmap, in mvneta_rx_queue_refill()
3156 rxbuf->m = m; in mvneta_rx_queue_refill()