Home
last modified time | relevance | path

Searched refs:tx_tag (Results 1 – 21 of 21) sorted by relevance

/NextBSD/sys/arm/at91/
HDuart_dev_at91usart.c73 bus_dma_tag_t tx_tag; member
469 NULL, &atsc->tx_tag); in at91_usart_bus_attach()
472 err = bus_dmamap_create(atsc->tx_tag, 0, &atsc->tx_map); in at91_usart_bus_attach()
557 if (bus_dmamap_load(atsc->tx_tag, atsc->tx_map, sc->sc_txbuf, in at91_usart_bus_transmit()
562 bus_dmamap_sync(atsc->tx_tag, atsc->tx_map, BUS_DMASYNC_PREWRITE); in at91_usart_bus_transmit()
667 bus_dmamap_sync(atsc->tx_tag, atsc->tx_map, in at91_usart_bus_ipend()
669 bus_dmamap_unload(atsc->tx_tag, atsc->tx_map); in at91_usart_bus_ipend()
/NextBSD/sys/dev/qlxgb/
HDqla_os.c1056 if ((ret = bus_dmamap_create(ha->tx_tag, BUS_DMA_NOWAIT, &map))) { in qla_send()
1064 ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, segs, &nsegs, in qla_send()
1086 if ((ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, in qla_send()
1095 bus_dmamap_destroy(ha->tx_tag, map); in qla_send()
1109 bus_dmamap_destroy(ha->tx_tag, map); in qla_send()
1120 bus_dmamap_sync(ha->tx_tag, map, BUS_DMASYNC_PREWRITE); in qla_send()
1179 &ha->tx_tag)) { in qla_alloc_xmt_bufs()
1199 bus_dmamap_unload(ha->tx_tag, txb->map); in qla_clear_tx_buf()
1200 bus_dmamap_destroy(ha->tx_tag, txb->map); in qla_clear_tx_buf()
1217 if (ha->tx_tag != NULL) { in qla_free_xmt_bufs()
[all …]
HDqla_def.h160 bus_dma_tag_t tx_tag; member
HDqla_hw.c1715 bus_dmamap_sync(ha->tx_tag, txb->map, in qla_hw_tx_done_locked()
1717 bus_dmamap_unload(ha->tx_tag, txb->map); in qla_hw_tx_done_locked()
1718 bus_dmamap_destroy(ha->tx_tag, txb->map); in qla_hw_tx_done_locked()
/NextBSD/sys/dev/qlxgbe/
HDql_os.c1212 ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, segs, &nsegs, in qla_send()
1235 if ((ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, in qla_send()
1268 bus_dmamap_sync(ha->tx_tag, map, BUS_DMASYNC_PREWRITE); in qla_send()
1333 &ha->tx_tag)) { in qla_alloc_xmt_bufs()
1349 if ((ret = bus_dmamap_create(ha->tx_tag, in qla_alloc_xmt_bufs()
1377 bus_dmamap_unload(ha->tx_tag, txb->map); in qla_clear_tx_buf()
1384 bus_dmamap_destroy(ha->tx_tag, txb->map); in qla_clear_tx_buf()
1399 if (ha->tx_tag != NULL) { in qla_free_xmt_bufs()
1400 bus_dma_tag_destroy(ha->tx_tag); in qla_free_xmt_bufs()
1401 ha->tx_tag = NULL; in qla_free_xmt_bufs()
HDql_def.h180 bus_dma_tag_t tx_tag; member
HDql_hw.c2944 bus_dmamap_sync(ha->tx_tag, txb->map, in qla_hw_tx_done_locked()
2946 bus_dmamap_unload(ha->tx_tag, txb->map); in qla_hw_tx_done_locked()
/NextBSD/sys/dev/qlxge/
HDqls_isr.c61 bus_dmamap_sync(ha->tx_tag, txb->map, in qls_tx_comp()
63 bus_dmamap_unload(ha->tx_tag, txb->map); in qls_tx_comp()
HDqls_hw.c1380 bus_dmamap_destroy(ha->tx_tag, txb->map); in qls_free_tx_dma()
1385 if (ha->tx_tag != NULL) { in qls_free_tx_dma()
1386 bus_dma_tag_destroy(ha->tx_tag); in qls_free_tx_dma()
1387 ha->tx_tag = NULL; in qls_free_tx_dma()
1475 &ha->tx_tag)) { in qls_alloc_tx_dma()
1494 ret = bus_dmamap_create(ha->tx_tag, in qls_alloc_tx_dma()
HDqls_os.c1147 ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, segs, &nsegs, in qls_send()
1170 if ((ret = bus_dmamap_load_mbuf_sg(ha->tx_tag, map, m_head, in qls_send()
1203 bus_dmamap_sync(ha->tx_tag, map, BUS_DMASYNC_PREWRITE); in qls_send()
1260 bus_dmamap_unload(ha->tx_tag, txb->map); in qls_flush_tx_buf()
HDqls_def.h304 bus_dma_tag_t tx_tag; member
/NextBSD/sys/dev/patm/
HDif_patm_tx.c533 error = bus_dmamap_load_mbuf(sc->tx_tag, map->map, m, in patm_launch()
540 error = bus_dmamap_load_mbuf(sc->tx_tag, map->map, m, in patm_launch()
697 bus_dmamap_sync(sc->tx_tag, map->map, in patm_tx()
699 bus_dmamap_unload(sc->tx_tag, map->map); in patm_tx()
1064 err = bus_dmamap_create(sc->tx_tag, 0, &map->map); in patm_txmaps_grow()
HDif_patm_attach.c500 bus_dmamap_destroy(sc->tx_tag, map->map); in patm_destroy()
510 if (sc->tx_tag != NULL) in patm_destroy()
908 0, NULL, NULL, &sc->tx_tag); in patm_txmap_init()
926 error = bus_dmamap_create(sc->tx_tag, 0, &map->map); in patm_txmap_init()
HDif_patmvar.h299 bus_dma_tag_t tx_tag; /* for transmission */ member
HDif_patm.c325 bus_dmamap_unload(sc->tx_tag, map->map); in patm_stop()
/NextBSD/sys/dev/fatm/
HDif_fatm.c490 bus_dmamap_unload(sc->tx_tag, tx->map); in fatm_stop()
1611 bus_dmamap_sync(sc->tx_tag, q->map, BUS_DMASYNC_POSTWRITE); in fatm_intr_drain_tx()
1612 bus_dmamap_unload(sc->tx_tag, q->map); in fatm_intr_drain_tx()
1974 error = bus_dmamap_load_mbuf(sc->tx_tag, q->map, m, in fatm_tx()
1984 bus_dmamap_sync(sc->tx_tag, q->map, BUS_DMASYNC_PREWRITE); in fatm_tx()
2561 bus_dmamap_destroy(sc->tx_tag, tx->map); in fatm_detach()
2605 if (sc->tx_tag != NULL) in fatm_detach()
2606 if (bus_dma_tag_destroy(sc->tx_tag)) in fatm_detach()
2906 NULL, NULL, &sc->tx_tag)) { in fatm_attach()
3016 if ((error = bus_dmamap_create(sc->tx_tag, 0, &tx->map))) { in fatm_attach()
[all …]
HDif_fatmvar.h244 bus_dma_tag_t tx_tag; /* transmission tag */ member
/NextBSD/sys/dev/hatm/
HDif_hatm_tx.c152 bus_dmamap_unload(sc->tx_tag, tpd->map); in hatm_free_tpd()
464 error = bus_dmamap_load_mbuf(sc->tx_tag, tpd->map, m, in hatm_start()
479 error = bus_dmamap_load_mbuf(sc->tx_tag, tpd->map, m, in hatm_start()
HDif_hatm.c362 bus_dmamap_destroy(sc->tx_tag, t->map); in hatm_destroy_tpds()
387 error = bus_dmamap_create(sc->tx_tag, 0, &t->map); in hatm_init_tpds()
392 bus_dmamap_destroy(sc->tx_tag, t->map); in hatm_init_tpds()
429 bus_dmamap_unload(sc->tx_tag, t->map); in hatm_stop_tpds()
480 if (sc->tx_tag != NULL) in hatm_destroy()
481 if (bus_dma_tag_destroy(sc->tx_tag)) in hatm_destroy()
1760 NULL, NULL, &sc->tx_tag)) { in hatm_attach()
HDif_hatmvar.h414 bus_dma_tag_t tx_tag; /* DMA tag for all tx mbufs */ member
/NextBSD/sys/dev/ixl/
HDixl.h389 bus_dma_tag_t tx_tag; member