/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() 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 D | direct.h | 92 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 D | dummy.c | 18 return DMA_MAPPING_ERROR; in dma_dummy_map_page()
|
H A D | direct.c | 73 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 D | ops_helpers.c | 80 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
|
H A D | swiotlb.c | 1385 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 D | mapping.c | 165 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 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() 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 D | qat_compression.c | 195 dma_addr_t obuff_p = DMA_MAPPING_ERROR; in qat_compression_alloc_dc_data()
|
/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 238 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 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() 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 D | swiotlb-xen.c | 227 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 D | dma-iommu.c | 859 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 D | dma-direct.h | 39 return DMA_MAPPING_ERROR; in translate_phys_to_dma() 127 if (addr == DMA_MAPPING_ERROR) in dma_capable()
|
H A D | dma-mapping.h | 71 #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 D | kfifo.h | 745 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 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()
|
/linux/drivers/usb/core/ |
H A D | buffer.c | 188 *dma = DMA_MAPPING_ERROR; in hcd_buffer_alloc_pages()
|
/linux/include/net/libeth/ |
H A D | rx.h | 107 return DMA_MAPPING_ERROR; in libeth_rx_alloc()
|
/linux/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 410 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 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()
|
H A D | io-unit.c | 155 return DMA_MAPPING_ERROR; in iounit_map_page()
|
/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 555 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 D | prestera_rxtx.c | 120 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 D | vio.c | 522 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()
|