/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-aes.c | 629 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 D | keembay-ocs-aes-core.c | 246 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 D | direct.h | 93 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 D | dummy.c | 18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
|
H A D | ops_helpers.c | 75 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
|
H A D | direct.c | 73 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 D | swiotlb.c | 1317 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 D | mapping.c | 157 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 D | grant-dma-ops.c | 179 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 D | swiotlb-xen.c | 226 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 D | qat_bl.c | 65 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 D | qat_compression.c | 195 dma_addr_t obuff_p = DMA_MAPPING_ERROR; in qat_compression_alloc_dc_data()
|
/openbmc/linux/arch/mips/jazz/ |
H A 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()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 237 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 D | dma-direct.h | 37 return DMA_MAPPING_ERROR; in translate_phys_to_dma() 104 if (addr == DMA_MAPPING_ERROR) in dma_capable()
|
H A D | dma-mapping.h | 75 #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 D | dma-mapping.c | 571 *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 D | amd_gart_64.c | 205 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 D | dma-iommu.c | 756 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 D | plane.c | 47 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 D | pci_dma.c | 322 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 D | pci_iommu.c | 274 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 D | buffer.c | 188 *dma = DMA_MAPPING_ERROR; in hcd_buffer_alloc_pages()
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 387 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 D | iommu.c | 198 return DMA_MAPPING_ERROR; in __sbus_iommu_map_page() 259 if (sg->dma_address == DMA_MAPPING_ERROR) in __sbus_iommu_map_sg()
|