Lines Matching refs:bfe_map
324 td->bfe_map = NULL; in bfe_dma_alloc()
325 error = bus_dmamap_create(sc->bfe_txmbuf_tag, 0, &td->bfe_map); in bfe_dma_alloc()
343 rd->bfe_map = NULL; in bfe_dma_alloc()
345 error = bus_dmamap_create(sc->bfe_rxmbuf_tag, 0, &rd->bfe_map); in bfe_dma_alloc()
394 if (td->bfe_map != NULL) { in bfe_dma_free()
396 td->bfe_map); in bfe_dma_free()
397 td->bfe_map = NULL; in bfe_dma_free()
408 if (rd->bfe_map != NULL) { in bfe_dma_free()
410 rd->bfe_map); in bfe_dma_free()
411 rd->bfe_map = NULL; in bfe_dma_free()
698 sc->bfe_tx_ring[i].bfe_map, BUS_DMASYNC_POSTWRITE); in bfe_tx_ring_free()
700 sc->bfe_tx_ring[i].bfe_map); in bfe_tx_ring_free()
718 sc->bfe_rx_ring[i].bfe_map, BUS_DMASYNC_POSTREAD); in bfe_rx_ring_free()
720 sc->bfe_rx_ring[i].bfe_map); in bfe_rx_ring_free()
804 bus_dmamap_sync(sc->bfe_rxmbuf_tag, r->bfe_map, in bfe_list_newbuf()
806 bus_dmamap_unload(sc->bfe_rxmbuf_tag, r->bfe_map); in bfe_list_newbuf()
808 map = r->bfe_map; in bfe_list_newbuf()
809 r->bfe_map = sc->bfe_rx_sparemap; in bfe_list_newbuf()
816 bus_dmamap_sync(sc->bfe_rxmbuf_tag, r->bfe_map, BUS_DMASYNC_PREREAD); in bfe_list_newbuf()
1352 bus_dmamap_sync(sc->bfe_txmbuf_tag, r->bfe_map, in bfe_txeof()
1354 bus_dmamap_unload(sc->bfe_txmbuf_tag, r->bfe_map); in bfe_txeof()
1515 error = bus_dmamap_load_mbuf_sg(sc->bfe_txmbuf_tag, r->bfe_map, *m_head, in bfe_encap()
1525 error = bus_dmamap_load_mbuf_sg(sc->bfe_txmbuf_tag, r->bfe_map, in bfe_encap()
1541 bus_dmamap_unload(sc->bfe_txmbuf_tag, r->bfe_map); in bfe_encap()
1574 map = r->bfe_map; in bfe_encap()
1575 r->bfe_map = r1->bfe_map; in bfe_encap()
1576 r1->bfe_map = map; in bfe_encap()