Searched refs:mh_dmat (Results 1 – 3 of 3) sorted by relevance
| /trueos/sys/dev/malo/ |
| HD | if_malohal.c | 129 &mh->mh_dmat); in malo_hal_attach() 137 error = bus_dmamap_create(mh->mh_dmat, BUS_DMA_NOWAIT, &mh->mh_dmamap); in malo_hal_attach() 144 error = bus_dmamem_alloc(mh->mh_dmat, (void**) &mh->mh_cmdbuf, in malo_hal_attach() 153 error = bus_dmamap_load(mh->mh_dmat, mh->mh_dmamap, in malo_hal_attach() 167 bus_dmamap_unload(mh->mh_dmat, mh->mh_dmamap); in malo_hal_attach() 169 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, in malo_hal_attach() 171 bus_dmamap_destroy(mh->mh_dmat, mh->mh_dmamap); in malo_hal_attach() 173 if (mh->mh_dmat) in malo_hal_attach() 174 bus_dma_tag_destroy(mh->mh_dmat); in malo_hal_attach() 189 bus_dmamap_sync(mh->mh_dmat, mh->mh_dmamap, in malo_hal_send_cmd() [all …]
|
| HD | if_malohal.h | 189 bus_dma_tag_t mh_dmat; /* bus DMA tag for cmd buffer */ member
|
| /trueos/sys/dev/mwl/ |
| HD | mwlhal.c | 156 bus_dma_tag_t mh_dmat; /* bus DMA tag for cmd buffer */ member 310 &mh->mh_dmat); in mwl_hal_attach() 318 error = bus_dmamap_create(mh->mh_dmat, BUS_DMA_NOWAIT, &mh->mh_dmamap); in mwl_hal_attach() 325 error = bus_dmamem_alloc(mh->mh_dmat, (void**) &mh->mh_cmdbuf, in mwl_hal_attach() 334 error = bus_dmamap_load(mh->mh_dmat, mh->mh_dmamap, in mwl_hal_attach() 366 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, mh->mh_dmamap); in mwl_hal_attach() 368 bus_dmamap_destroy(mh->mh_dmat, mh->mh_dmamap); in mwl_hal_attach() 370 bus_dma_tag_destroy(mh->mh_dmat); in mwl_hal_attach() 381 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, mh->mh_dmamap); in mwl_hal_detach() 382 bus_dmamap_destroy(mh->mh_dmat, mh->mh_dmamap); in mwl_hal_detach() [all …]
|