Home
last modified time | relevance | path

Searched refs:DMA_MAPPING_ERROR (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Diommu.c187 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/
Djazzdma.c106 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/
Ddma-direct.h37 return DMA_MAPPING_ERROR; in translate_phys_to_dma()
104 if (addr == DMA_MAPPING_ERROR) in dma_capable()
Ddma-mapping.h74 #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/
Damd_gart_64.c207 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/
Dswiotlb.c582 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()
Ddummy.c18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
Dmapping.c150 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()
Ddirect.c72 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()
Dops_helpers.c75 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
Ddirect.h100 return DMA_MAPPING_ERROR; in dma_direct_map_page()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dplane.c45 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/
Dswiotlb-xen.c399 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/
Dpci_dma.c300 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/
Ddma-iommu.c492 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/
Ddma-mapping.c708 *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/
Dvdpa_sim.c277 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/
Ddmabounce.c258 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/
Dpci_iommu.c301 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/
Diommu.c197 return DMA_MAPPING_ERROR; in __sbus_iommu_map_page()
258 if (sg->dma_address == DMA_MAPPING_ERROR) in __sbus_iommu_map_sg()
Dio-unit.c154 return DMA_MAPPING_ERROR; in iounit_map_page()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Diommu.c317 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()
Dpci_sun4v.c420 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/
Dprestera_rxtx.c122 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/
Dqat_algs.c667 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()

12