Home
last modified time | relevance | path

Searched refs:IOMMU_ERROR_CODE (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/sparc/kernel/
Diommu-common.c122 return IOMMU_ERROR_CODE; in iommu_tbl_range_alloc()
205 n = IOMMU_ERROR_CODE; in iommu_tbl_range_alloc()
257 if (entry == IOMMU_ERROR_CODE) /* use default addr->entry mapping */ in iommu_tbl_range_free()
Diommu.c165 if (unlikely(entry == IOMMU_ERROR_CODE)) in alloc_npages()
257 iommu_tbl_range_free(&iommu->tbl, dvma, npages, IOMMU_ERROR_CODE); in dma_4u_free_coherent()
430 iommu_tbl_range_free(&iommu->tbl, bus_addr, npages, IOMMU_ERROR_CODE); in dma_4u_unmap_page()
496 if (unlikely(entry == IOMMU_ERROR_CODE)) { in dma_4u_map_sg()
575 IOMMU_ERROR_CODE); in dma_4u_map_sg()
652 IOMMU_ERROR_CODE); in dma_4u_unmap_sg()
Dpci_sun4v.c219 if (unlikely(entry == IOMMU_ERROR_CODE)) in dma_4v_alloc_coherent()
248 iommu_tbl_range_free(tbl, *dma_addrp, npages, IOMMU_ERROR_CODE); in dma_4v_alloc_coherent()
345 iommu_tbl_range_free(tbl, dvma, npages, IOMMU_ERROR_CODE); in dma_4v_free_coherent()
385 if (unlikely(entry == IOMMU_ERROR_CODE)) in dma_4v_map_page()
421 iommu_tbl_range_free(tbl, bus_addr, npages, IOMMU_ERROR_CODE); in dma_4v_map_page()
462 iommu_tbl_range_free(tbl, bus_addr, npages, IOMMU_ERROR_CODE); in dma_4v_unmap_page()
536 if (unlikely(entry == IOMMU_ERROR_CODE)) { in dma_4v_map_sg()
610 IOMMU_ERROR_CODE); in dma_4v_map_sg()
667 IOMMU_ERROR_CODE); in dma_4v_unmap_sg()
Dldc.c2024 if (unlikely(entry == IOMMU_ERROR_CODE)) in alloc_npages()
/Linux-v4.19/arch/sparc/include/asm/
Diommu-common.h11 #define IOMMU_ERROR_CODE (~(unsigned long) 0) macro