Home
last modified time | relevance | path

Searched refs:cmd_tag (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/sys/dev/tws/
H A Dtws.c317 bus_dmamap_unload(sc->cmd_tag, sc->cmd_map); in tws_attach()
319 bus_dmamem_free(sc->cmd_tag, sc->dma_mem, sc->cmd_map); in tws_attach()
320 if (sc->cmd_tag) in tws_attach()
321 bus_dma_tag_destroy(sc->cmd_tag); in tws_attach()
396 bus_dmamap_unload(sc->cmd_tag, sc->cmd_map); in tws_detach()
398 bus_dmamem_free(sc->cmd_tag, sc->dma_mem, sc->cmd_map); in tws_detach()
399 if (sc->cmd_tag) in tws_detach()
400 bus_dma_tag_destroy(sc->cmd_tag); in tws_detach()
570 &sc->cmd_tag /* tag */ in tws_init()
576 if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem, in tws_init()
[all …]
H A Dtws.h260 bus_dma_tag_t cmd_tag; /* command DMA tag */ member
/freebsd-12.1/sys/dev/twa/
H A Dtw_osl_freebsd.c587 &sc->cmd_tag /* tag */)) { in tw_osli_alloc_mem()
598 if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem, in tw_osli_alloc_mem()
601 if (bus_dmamem_alloc(sc->cmd_tag, &sc->dma_mem, in tw_osli_alloc_mem()
614 bus_dmamap_load(sc->cmd_tag, sc->cmd_map, sc->dma_mem, in tw_osli_alloc_mem()
771 bus_dmamap_unload(sc->cmd_tag, sc->cmd_map); in tw_osli_free_resources()
772 bus_dmamem_free(sc->cmd_tag, sc->dma_mem, in tw_osli_free_resources()
775 if (sc->cmd_tag) in tw_osli_free_resources()
776 if ((error = bus_dma_tag_destroy(sc->cmd_tag))) in tw_osli_free_resources()
H A Dtw_osl.h167 bus_dma_tag_t cmd_tag; /* DMA tag for CL's DMA'able mem */ member