Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/crypto/intel/keembay/
H A Docs-aes.c629 if (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
630 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
647 if (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
648 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
660 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
676 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
692 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
711 dst_dma_list == DMA_MAPPING_ERROR)) in ocs_aes_validate_inputs()
752 dst_dma_list == DMA_MAPPING_ERROR)) in ocs_aes_validate_inputs()
768 if (dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
[all …]
H A Dkeembay-ocs-aes-core.c246 rctx->src_dll.dma_addr = DMA_MAPPING_ERROR; in ocs_aes_init_rctx()
247 rctx->dst_dll.dma_addr = DMA_MAPPING_ERROR; in ocs_aes_init_rctx()
248 rctx->aad_src_dll.dma_addr = DMA_MAPPING_ERROR; in ocs_aes_init_rctx()
249 rctx->aad_dst_dll.dma_addr = DMA_MAPPING_ERROR; in ocs_aes_init_rctx()
371 dll->dma_addr = DMA_MAPPING_ERROR; in cleanup_ocs_dma_linked_list()
/openbmc/linux/kernel/dma/
H A Ddirect.h93 return DMA_MAPPING_ERROR; in dma_direct_map_page()
100 return DMA_MAPPING_ERROR; in dma_direct_map_page()
107 return DMA_MAPPING_ERROR; in dma_direct_map_page()
H A Ddummy.c18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
H A Dops_helpers.c75 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
H A Ddirect.c73 if (dma_addr == DMA_MAPPING_ERROR) in dma_coherent_ok()
506 if (sg->dma_address == DMA_MAPPING_ERROR) { in dma_direct_map_sg()
530 return DMA_MAPPING_ERROR; in dma_direct_map_resource()
H A Dswiotlb.c1317 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single()
1326 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single()
1337 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single()
1503 if (swiotlb_addr == (phys_addr_t)DMA_MAPPING_ERROR) in swiotlb_map()
1504 return DMA_MAPPING_ERROR; in swiotlb_map()
1514 return DMA_MAPPING_ERROR; in swiotlb_map()
H A Dmapping.c157 return DMA_MAPPING_ERROR; in dma_map_page_attrs()
303 dma_addr_t addr = DMA_MAPPING_ERROR; in dma_map_resource()
308 return DMA_MAPPING_ERROR; in dma_map_resource()
/openbmc/linux/drivers/xen/
H A Dgrant-dma-ops.c179 return DMA_MAPPING_ERROR; in xen_grant_dma_map_page()
183 return DMA_MAPPING_ERROR; in xen_grant_dma_map_page()
186 return DMA_MAPPING_ERROR; in xen_grant_dma_map_page()
189 return DMA_MAPPING_ERROR; in xen_grant_dma_map_page()
262 if (s->dma_address == DMA_MAPPING_ERROR) in xen_grant_dma_map_sg()
H A Dswiotlb-xen.c226 if (map == (phys_addr_t)DMA_MAPPING_ERROR) in xen_swiotlb_map_page()
227 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page()
238 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page()
343 if (sg->dma_address == DMA_MAPPING_ERROR) in xen_swiotlb_map_sg()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_bl.c65 dma_addr_t blp = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
66 dma_addr_t bloutp = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
92 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
149 buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
284 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in qat_bl_sgl_map()
371 dma_addr_t new_blp = DMA_MAPPING_ERROR; in qat_bl_realloc_map_new_dst()
H A Dqat_compression.c195 dma_addr_t obuff_p = DMA_MAPPING_ERROR; in qat_compression_alloc_dc_data()
/openbmc/linux/arch/mips/jazz/
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c237 return DMA_MAPPING_ERROR; in iommu_range_alloc()
241 return DMA_MAPPING_ERROR; in iommu_range_alloc()
320 return DMA_MAPPING_ERROR; in iommu_range_alloc()
352 dma_addr_t ret = DMA_MAPPING_ERROR; in iommu_alloc()
357 if (unlikely(entry == DMA_MAPPING_ERROR)) in iommu_alloc()
358 return DMA_MAPPING_ERROR; in iommu_alloc()
375 return DMA_MAPPING_ERROR; in iommu_alloc()
520 if (unlikely(entry == DMA_MAPPING_ERROR)) { in ppc_iommu_map_sg()
857 dma_addr_t dma_handle = DMA_MAPPING_ERROR; in iommu_map_page()
877 if (dma_handle == DMA_MAPPING_ERROR) { in iommu_map_page()
[all …]
/openbmc/linux/include/linux/
H A Ddma-direct.h37 return DMA_MAPPING_ERROR; in translate_phys_to_dma()
104 if (addr == DMA_MAPPING_ERROR) in dma_capable()
H A Ddma-mapping.h75 #define DMA_MAPPING_ERROR (~(dma_addr_t)0) macro
99 if (unlikely(dma_addr == DMA_MAPPING_ERROR)) in dma_mapping_error()
165 return DMA_MAPPING_ERROR; in dma_map_page_attrs()
191 return DMA_MAPPING_ERROR; in dma_map_resource()
334 return DMA_MAPPING_ERROR; in dma_map_single_attrs()
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c571 *handle = DMA_MAPPING_ERROR; in __dma_alloc()
793 return DMA_MAPPING_ERROR; in __alloc_iova()
801 return DMA_MAPPING_ERROR; in __alloc_iova()
1002 return DMA_MAPPING_ERROR; in __iommu_create_mapping()
1058 if (*handle == DMA_MAPPING_ERROR) in __iommu_alloc_simple()
1086 *handle = DMA_MAPPING_ERROR; in arm_iommu_alloc_attrs()
1098 if (*handle == DMA_MAPPING_ERROR) in arm_iommu_alloc_attrs()
1200 *handle = DMA_MAPPING_ERROR; in __map_sg_chunk()
1203 if (iova == DMA_MAPPING_ERROR) in __map_sg_chunk()
1396 return DMA_MAPPING_ERROR; in arm_iommu_map_page()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Damd_gart_64.c205 return DMA_MAPPING_ERROR; in dma_map_area()
214 return DMA_MAPPING_ERROR; in dma_map_area()
253 if (WARN_ON_ONCE(dma_addr == DMA_MAPPING_ERROR)) in gart_unmap_page()
305 if (addr == DMA_MAPPING_ERROR) { in dma_map_sg_nonforce()
477 if (unlikely(*dma_addr == DMA_MAPPING_ERROR)) in gart_alloc_coherent()
/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c756 return DMA_MAPPING_ERROR; in __iommu_dma_map()
762 return DMA_MAPPING_ERROR; in __iommu_dma_map()
766 return DMA_MAPPING_ERROR; in __iommu_dma_map()
1053 return DMA_MAPPING_ERROR; in iommu_dma_map_page()
1062 if (phys == DMA_MAPPING_ERROR) in iommu_dma_map_page()
1063 return DMA_MAPPING_ERROR; in iommu_dma_map_page()
1128 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg()
1190 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg()
1195 sg_dma_address(s) = DMA_MAPPING_ERROR; in __invalidate_sg()
1222 if (sg_dma_address(s) == DMA_MAPPING_ERROR) in iommu_dma_map_sg_swiotlb()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dplane.c47 state->iova[i] = DMA_MAPPING_ERROR; in tegra_plane_reset()
77 copy->iova[i] = DMA_MAPPING_ERROR; in tegra_plane_atomic_duplicate_state()
182 state->iova[i] = DMA_MAPPING_ERROR; in tegra_dc_pin()
195 state->iova[i] = DMA_MAPPING_ERROR; in tegra_dc_unpin()
/openbmc/linux/arch/s390/pci/
H A Dpci_dma.c322 return DMA_MAPPING_ERROR; in dma_alloc_address()
370 if (dma_addr == DMA_MAPPING_ERROR) { in s390_dma_map_pages()
393 return DMA_MAPPING_ERROR; in s390_dma_map_pages()
470 if (dma_addr_base == DMA_MAPPING_ERROR) in __s390_dma_map_sg()
/openbmc/linux/arch/alpha/kernel/
H A Dpci_iommu.c274 return DMA_MAPPING_ERROR; in pci_map_single_1()
290 return DMA_MAPPING_ERROR; in pci_map_single_1()
438 if (*dma_addrp == DMA_MAPPING_ERROR) { in alpha_pci_alloc_coherent()
654 if (sg->dma_address == DMA_MAPPING_ERROR) in alpha_pci_map_sg()
/openbmc/linux/drivers/usb/core/
H A Dbuffer.c188 *dma = DMA_MAPPING_ERROR; in hcd_buffer_alloc_pages()
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c387 return DMA_MAPPING_ERROR; in vduse_domain_map_page()
406 return DMA_MAPPING_ERROR; in vduse_domain_map_page()
449 *dma_addr = DMA_MAPPING_ERROR; in vduse_domain_alloc_coherent()
/openbmc/linux/arch/sparc/mm/
H A Diommu.c198 return DMA_MAPPING_ERROR; in __sbus_iommu_map_page()
259 if (sg->dma_address == DMA_MAPPING_ERROR) in __sbus_iommu_map_sg()

12