Lines Matching refs:sg_dmat
3006 bus_dmamap_unload(pACB->sg_dmat, pSRB->sg_dmamap); in trm_destroySRB()
3007 bus_dmamem_free(pACB->sg_dmat, pSRB->pSRBSGL, in trm_destroySRB()
3009 bus_dmamap_destroy(pACB->sg_dmat, pSRB->sg_dmamap); in trm_destroySRB()
3027 if (bus_dmamem_alloc(pACB->sg_dmat, (void **)&pSRB->pSRBSGL, in trm_initSRB()
3031 bus_dmamap_load(pACB->sg_dmat, pSRB->sg_dmamap, pSRB->pSRBSGL, in trm_initSRB()
3502 /*dmat*/ &pACB->sg_dmat) != 0) in trm_init()
3526 if (pACB->sg_dmat) { in trm_init()
3528 bus_dma_tag_destroy(pACB->sg_dmat); in trm_init()
3635 if (pACB->sg_dmat) { in trm_attach()
3637 bus_dma_tag_destroy(pACB->sg_dmat); in trm_attach()
3698 bus_dma_tag_destroy(pACB->sg_dmat); in trm_detach()