Home
last modified time | relevance | path

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

12

/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()
659 if (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
660 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
675 if (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
676 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
691 if (src_dma_list == DMA_MAPPING_ERROR || in ocs_aes_validate_inputs()
692 dst_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs()
[all …]
/linux/kernel/dma/
H A Ddirect.h92 return DMA_MAPPING_ERROR; in dma_direct_map_page()
99 return DMA_MAPPING_ERROR; in dma_direct_map_page()
106 return DMA_MAPPING_ERROR; in dma_direct_map_page()
H A Ddummy.c18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
H A Ddirect.c73 if (dma_addr == DMA_MAPPING_ERROR) in dma_coherent_ok()
491 if (sg->dma_address == DMA_MAPPING_ERROR) { in dma_direct_map_sg()
515 return DMA_MAPPING_ERROR; in dma_direct_map_resource()
H A Dops_helpers.c80 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
H A Dswiotlb.c1385 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single()
1409 return (phys_addr_t)DMA_MAPPING_ERROR; in swiotlb_tbl_map_single()
1585 if (swiotlb_addr == (phys_addr_t)DMA_MAPPING_ERROR) in swiotlb_map()
1586 return DMA_MAPPING_ERROR; in swiotlb_map()
1597 return DMA_MAPPING_ERROR; in swiotlb_map()
H A Dmapping.c165 return DMA_MAPPING_ERROR; in dma_map_page_attrs()
325 dma_addr_t addr = DMA_MAPPING_ERROR; in dma_map_resource()
330 return DMA_MAPPING_ERROR; in dma_map_resource()
/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()
93 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
151 buffers[i].addr = DMA_MAPPING_ERROR; in __qat_bl_sgl_to_bufl()
286 bufl->buffers[i].addr = DMA_MAPPING_ERROR; in qat_bl_sgl_map()
373 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()
/linux/arch/powerpc/kernel/
H A Diommu.c238 return DMA_MAPPING_ERROR; in iommu_range_alloc()
242 return DMA_MAPPING_ERROR; in iommu_range_alloc()
321 return DMA_MAPPING_ERROR; in iommu_range_alloc()
353 dma_addr_t ret = DMA_MAPPING_ERROR; in iommu_alloc()
358 if (unlikely(entry == DMA_MAPPING_ERROR)) in iommu_alloc()
359 return DMA_MAPPING_ERROR; in iommu_alloc()
376 return DMA_MAPPING_ERROR; in iommu_alloc()
521 if (unlikely(entry == DMA_MAPPING_ERROR)) { in ppc_iommu_map_sg()
858 dma_addr_t dma_handle = DMA_MAPPING_ERROR; in iommu_map_page()
878 if (dma_handle == DMA_MAPPING_ERROR) { in iommu_map_page()
[all …]
/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()
971 if (dma_addr == DMA_MAPPING_ERROR) in __iommu_create_mapping()
999 return DMA_MAPPING_ERROR; in __iommu_create_mapping()
1055 if (*handle == DMA_MAPPING_ERROR) in __iommu_alloc_simple()
1083 *handle = DMA_MAPPING_ERROR; in arm_iommu_alloc_attrs()
1095 if (*handle == DMA_MAPPING_ERROR) in arm_iommu_alloc_attrs()
1197 *handle = DMA_MAPPING_ERROR; in __map_sg_chunk()
1200 if (iova == DMA_MAPPING_ERROR) in __map_sg_chunk()
[all …]
/linux/drivers/xen/
H A Dswiotlb-xen.c227 if (map == (phys_addr_t)DMA_MAPPING_ERROR) in xen_swiotlb_map_page()
228 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page()
240 return DMA_MAPPING_ERROR; in xen_swiotlb_map_page()
352 if (sg->dma_address == DMA_MAPPING_ERROR) in xen_swiotlb_map_sg()
/linux/drivers/iommu/
H A Ddma-iommu.c859 return DMA_MAPPING_ERROR; in __iommu_dma_map()
864 return DMA_MAPPING_ERROR; in __iommu_dma_map()
870 return DMA_MAPPING_ERROR; in __iommu_dma_map()
874 return DMA_MAPPING_ERROR; in __iommu_dma_map()
1183 return DMA_MAPPING_ERROR; in iommu_dma_map_page()
1191 if (phys == DMA_MAPPING_ERROR) in iommu_dma_map_page()
1192 return DMA_MAPPING_ERROR; in iommu_dma_map_page()
1218 if (iova == DMA_MAPPING_ERROR) in iommu_dma_map_page()
1263 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg()
1325 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg()
[all …]
/linux/include/linux/
H A Ddma-direct.h39 return DMA_MAPPING_ERROR; in translate_phys_to_dma()
127 if (addr == DMA_MAPPING_ERROR) in dma_capable()
H A Ddma-mapping.h71 #define DMA_MAPPING_ERROR (~(dma_addr_t)0) macro
95 if (unlikely(dma_addr == DMA_MAPPING_ERROR)) in dma_mapping_error()
153 return DMA_MAPPING_ERROR; in dma_map_page_attrs()
179 return DMA_MAPPING_ERROR; in dma_map_resource()
382 return DMA_MAPPING_ERROR; in dma_map_single_attrs()
H A Dkfifo.h745 kfifo_dma_in_prepare_mapped(fifo, sgl, nents, len, DMA_MAPPING_ERROR)
801 kfifo_dma_out_prepare_mapped(fifo, sgl, nents, len, DMA_MAPPING_ERROR)
/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()
/linux/drivers/usb/core/
H A Dbuffer.c188 *dma = DMA_MAPPING_ERROR; in hcd_buffer_alloc_pages()
/linux/include/net/libeth/
H A Drx.h107 return DMA_MAPPING_ERROR; in libeth_rx_alloc()
/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c410 return DMA_MAPPING_ERROR; in vduse_domain_map_page()
430 return DMA_MAPPING_ERROR; in vduse_domain_map_page()
473 *dma_addr = DMA_MAPPING_ERROR; in vduse_domain_alloc_coherent()
/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()
H A Dio-unit.c155 return DMA_MAPPING_ERROR; in iounit_map_page()
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c555 msg->in = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_msg_request_set()
556 msg->out = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_msg_request_set()
1519 msg->in = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_ecdh_msg_request_set()
1520 msg->out = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_ecdh_msg_request_set()
1831 msg->in = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_curve25519_msg_request_set()
1832 msg->out = cpu_to_le64(DMA_MAPPING_ERROR); in hpre_curve25519_msg_request_set()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c120 buf->buf_dma = DMA_MAPPING_ERROR; in prestera_sdma_buf_init()
358 if (buf->buf_dma != DMA_MAPPING_ERROR) in prestera_sdma_rx_fini()
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c522 dma_addr_t ret = DMA_MAPPING_ERROR; in vio_dma_iommu_map_page()
528 if (unlikely(ret == DMA_MAPPING_ERROR)) in vio_dma_iommu_map_page()
536 return DMA_MAPPING_ERROR; in vio_dma_iommu_map_page()

12