Lines Matching refs:aiomt_dmahdl
310 DDI_DMA_SLEEP, NULL, &iommu->aiomt_dmahdl);
321 err = ddi_dma_mem_alloc(iommu->aiomt_dmahdl, dma_bufsz,
330 ddi_dma_free_handle(&iommu->aiomt_dmahdl);
331 iommu->aiomt_dmahdl = NULL;
345 err = ddi_dma_addr_bind_handle(iommu->aiomt_dmahdl, NULL,
362 ddi_dma_free_handle(&iommu->aiomt_dmahdl);
363 iommu->aiomt_dmahdl = NULL;
377 (void) ddi_dma_unbind_handle(iommu->aiomt_dmahdl);
386 ddi_dma_free_handle(&iommu->aiomt_dmahdl);
387 iommu->aiomt_dmahdl = NULL;
472 SYNC_FORDEV(iommu->aiomt_dmahdl);
518 if (iommu->aiomt_dmahdl == NULL || type == AMD_IOMMU_QUIESCE)
522 if (ddi_dma_unbind_handle(iommu->aiomt_dmahdl) != DDI_SUCCESS) {
525 (void *)iommu->aiomt_dmahdl, iommu->aiomt_idx);
539 ddi_dma_free_handle(&iommu->aiomt_dmahdl);
540 iommu->aiomt_dmahdl = NULL;