/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | iommu.c | 187 return DMA_MAPPING_ERROR; in iommu_range_alloc() 191 return DMA_MAPPING_ERROR; in iommu_range_alloc() 261 return DMA_MAPPING_ERROR; in iommu_range_alloc() 293 dma_addr_t ret = DMA_MAPPING_ERROR; in iommu_alloc() 298 if (unlikely(entry == DMA_MAPPING_ERROR)) in iommu_alloc() 299 return DMA_MAPPING_ERROR; in iommu_alloc() 316 return DMA_MAPPING_ERROR; in iommu_alloc() 461 if (unlikely(entry == DMA_MAPPING_ERROR)) { in ppc_iommu_map_sg() 528 outs->dma_address = DMA_MAPPING_ERROR; in ppc_iommu_map_sg() 546 s->dma_address = DMA_MAPPING_ERROR; in ppc_iommu_map_sg() [all …]
|
/kernel/linux/linux-5.10/arch/mips/jazz/ |
D | jazzdma.c | 106 return DMA_MAPPING_ERROR; /* invalid physical address */ in vdma_alloc() 111 return DMA_MAPPING_ERROR; /* invalid physical address */ in vdma_alloc() 125 return DMA_MAPPING_ERROR; in vdma_alloc() 507 if (*dma_handle == DMA_MAPPING_ERROR) in jazz_dma_alloc() 554 if (sg->dma_address == DMA_MAPPING_ERROR) in jazz_dma_map_sg()
|
/kernel/linux/linux-5.10/include/linux/ |
D | dma-direct.h | 37 return DMA_MAPPING_ERROR; in translate_phys_to_dma() 104 if (addr == DMA_MAPPING_ERROR) in dma_capable()
|
D | dma-mapping.h | 74 #define DMA_MAPPING_ERROR (~(dma_addr_t)0) macro 98 if (dma_addr == DMA_MAPPING_ERROR) in dma_mapping_error() 152 return DMA_MAPPING_ERROR; in dma_map_page_attrs() 172 return DMA_MAPPING_ERROR; in dma_map_resource() 277 return DMA_MAPPING_ERROR; in dma_map_single_attrs()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | amd_gart_64.c | 207 return DMA_MAPPING_ERROR; in dma_map_area() 216 return DMA_MAPPING_ERROR; in dma_map_area() 255 if (WARN_ON_ONCE(dma_addr == DMA_MAPPING_ERROR)) in gart_unmap_page() 307 if (addr == DMA_MAPPING_ERROR) { in dma_map_sg_nonforce() 460 s->dma_address = DMA_MAPPING_ERROR; in gart_map_sg() 479 if (unlikely(*dma_addr == DMA_MAPPING_ERROR)) in gart_alloc_coherent()
|
/kernel/linux/linux-5.10/kernel/dma/ |
D | swiotlb.c | 582 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single() 591 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single() 716 if (swiotlb_addr == (phys_addr_t)DMA_MAPPING_ERROR) in swiotlb_map() 717 return DMA_MAPPING_ERROR; in swiotlb_map() 727 return DMA_MAPPING_ERROR; in swiotlb_map()
|
D | dummy.c | 18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
|
D | mapping.c | 150 return DMA_MAPPING_ERROR; in dma_map_page_attrs() 221 dma_addr_t addr = DMA_MAPPING_ERROR; in dma_map_resource() 226 return DMA_MAPPING_ERROR; in dma_map_resource() 230 return DMA_MAPPING_ERROR; in dma_map_resource()
|
D | direct.c | 72 if (dma_addr == DMA_MAPPING_ERROR) in dma_coherent_ok() 401 if (sg->dma_address == DMA_MAPPING_ERROR) in dma_direct_map_sg() 423 return DMA_MAPPING_ERROR; in dma_direct_map_resource()
|
D | ops_helpers.c | 75 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
|
D | direct.h | 100 return DMA_MAPPING_ERROR; in dma_direct_map_page()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | plane.c | 45 state->iova[i] = DMA_MAPPING_ERROR; in tegra_plane_reset() 72 copy->iova[i] = DMA_MAPPING_ERROR; in tegra_plane_atomic_duplicate_state() 169 state->iova[i] = DMA_MAPPING_ERROR; in tegra_dc_pin() 188 state->iova[i] = DMA_MAPPING_ERROR; in tegra_dc_unpin()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | swiotlb-xen.c | 399 if (map == (phys_addr_t)DMA_MAPPING_ERROR) in xen_swiotlb_map_page() 400 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page() 411 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page() 516 if (sg->dma_address == DMA_MAPPING_ERROR) in xen_swiotlb_map_sg()
|
/kernel/linux/linux-5.10/arch/s390/pci/ |
D | pci_dma.c | 300 return DMA_MAPPING_ERROR; in dma_alloc_address() 348 if (dma_addr == DMA_MAPPING_ERROR) { in s390_dma_map_pages() 371 return DMA_MAPPING_ERROR; in s390_dma_map_pages() 448 if (dma_addr_base == DMA_MAPPING_ERROR) in __s390_dma_map_sg() 495 s->dma_address = DMA_MAPPING_ERROR; in s390_dma_map_sg()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | dma-iommu.c | 492 return DMA_MAPPING_ERROR; in __iommu_dma_map() 498 return DMA_MAPPING_ERROR; in __iommu_dma_map() 502 return DMA_MAPPING_ERROR; in __iommu_dma_map() 599 *dma_handle = DMA_MAPPING_ERROR; in iommu_dma_alloc_remap() 738 dma_handle != DMA_MAPPING_ERROR) in iommu_dma_map_page() 774 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg() 817 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg() 821 sg_dma_address(s) = DMA_MAPPING_ERROR; in __invalidate_sg() 1051 if (*handle == DMA_MAPPING_ERROR) { in iommu_dma_alloc()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | dma-mapping.c | 708 *handle = DMA_MAPPING_ERROR; in __dma_alloc() 1138 return DMA_MAPPING_ERROR; in __alloc_iova() 1146 return DMA_MAPPING_ERROR; in __alloc_iova() 1319 if (dma_addr == DMA_MAPPING_ERROR) in __iommu_create_mapping() 1346 return DMA_MAPPING_ERROR; in __iommu_create_mapping() 1402 if (*handle == DMA_MAPPING_ERROR) in __iommu_alloc_simple() 1430 *handle = DMA_MAPPING_ERROR; in __arm_iommu_alloc_attrs() 1451 if (*handle == DMA_MAPPING_ERROR) in __arm_iommu_alloc_attrs() 1590 *handle = DMA_MAPPING_ERROR; in __map_sg_chunk() 1593 if (iova == DMA_MAPPING_ERROR) in __map_sg_chunk() [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 277 return DMA_MAPPING_ERROR; in vdpasim_map_page() 287 return DMA_MAPPING_ERROR; in vdpasim_map_page() 316 *dma_addr = DMA_MAPPING_ERROR; in vdpasim_alloc_coherent() 324 *dma_addr = DMA_MAPPING_ERROR; in vdpasim_alloc_coherent()
|
/kernel/linux/linux-5.10/arch/arm/common/ |
D | dmabounce.c | 258 return DMA_MAPPING_ERROR; in map_single() 328 return DMA_MAPPING_ERROR; in dmabounce_map_page() 337 return DMA_MAPPING_ERROR; in dmabounce_map_page()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | pci_iommu.c | 301 return DMA_MAPPING_ERROR; in pci_map_single_1() 317 return DMA_MAPPING_ERROR; in pci_map_single_1() 465 if (*dma_addrp == DMA_MAPPING_ERROR) { in alpha_pci_alloc_coherent() 681 return sg->dma_address != DMA_MAPPING_ERROR; in alpha_pci_map_sg()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | iommu.c | 197 return DMA_MAPPING_ERROR; in __sbus_iommu_map_page() 258 if (sg->dma_address == DMA_MAPPING_ERROR) in __sbus_iommu_map_sg()
|
D | io-unit.c | 154 return DMA_MAPPING_ERROR; in iounit_map_page()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | iommu.c | 317 return DMA_MAPPING_ERROR; in dma_4u_map_page() 549 outs->dma_address = DMA_MAPPING_ERROR; in dma_4u_map_sg() 575 s->dma_address = DMA_MAPPING_ERROR; in dma_4u_map_sg()
|
D | pci_sun4v.c | 420 return DMA_MAPPING_ERROR; in dma_4v_map_page() 425 return DMA_MAPPING_ERROR; in dma_4v_map_page() 597 outs->dma_address = DMA_MAPPING_ERROR; in dma_4v_map_sg() 614 s->dma_address = DMA_MAPPING_ERROR; in dma_4v_map_sg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_rxtx.c | 122 buf->buf_dma = DMA_MAPPING_ERROR; in prestera_sdma_buf_init() 356 if (buf->buf_dma != DMA_MAPPING_ERROR) in prestera_sdma_rx_fini()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 667 dma_addr_t blp = DMA_MAPPING_ERROR; in qat_alg_sgl_to_bufl() 668 dma_addr_t bloutp = DMA_MAPPING_ERROR; in qat_alg_sgl_to_bufl() 693 bufl->bufers[i].addr = DMA_MAPPING_ERROR; in qat_alg_sgl_to_bufl() 736 bufers[i].addr = DMA_MAPPING_ERROR; in qat_alg_sgl_to_bufl()
|