/openbmc/linux/arch/hexagon/kernel/ |
H A D | dma.c | 26 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
|
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 173 DMA_BIDIRECTIONAL); in srp_direct_data() 187 dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL); in srp_direct_data() 244 DMA_BIDIRECTIONAL); in srp_indirect_data() 259 dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL); in srp_indirect_data()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 349 ivsize, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 365 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request() 382 int src_direction = (src != dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_map_cipher_request() 392 dma_map_single(dev, info, ivsize, DMA_BIDIRECTIONAL); in cc_map_cipher_request() 466 MAX_MAC_SIZE, DMA_BIDIRECTIONAL); in cc_unmap_aead_request() 472 AES_BLOCK_SIZE, DMA_BIDIRECTIONAL); in cc_unmap_aead_request() 501 hw_iv_size, DMA_BIDIRECTIONAL); in cc_unmap_aead_request() 567 DMA_BIDIRECTIONAL); in cc_aead_chain_iv() 978 DMA_BIDIRECTIONAL); in cc_map_aead_request() 1010 DMA_BIDIRECTIONAL); in cc_map_aead_request() [all …]
|
H A D | cc_hash.c | 122 digestsize, DMA_BIDIRECTIONAL); in cc_map_result() 147 DMA_BIDIRECTIONAL); in cc_init_req() 166 DMA_BIDIRECTIONAL); in cc_init_req() 213 DMA_BIDIRECTIONAL); in cc_map_req() 230 HASH_MAX_LEN_SIZE, DMA_BIDIRECTIONAL); in cc_map_req() 236 ctx->inter_digestsize, DMA_BIDIRECTIONAL); in cc_map_req() 255 HASH_MAX_LEN_SIZE, DMA_BIDIRECTIONAL); in cc_unmap_req() 274 DMA_BIDIRECTIONAL); in cc_unmap_result() 1061 DMA_BIDIRECTIONAL); in cc_free_ctx() 1078 DMA_BIDIRECTIONAL); in cc_alloc_ctx() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_dmabuf.c | 121 bool write = (direction == DMA_BIDIRECTIONAL || direction == DMA_TO_DEVICE); in i915_gem_begin_cpu_access() 245 DMA_BIDIRECTIONAL); in i915_gem_object_get_pages_dmabuf() 273 DMA_BIDIRECTIONAL); in i915_gem_object_put_pages_dmabuf()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gart.c | 82 PAGE_SIZE, DMA_BIDIRECTIONAL); in amdgpu_gart_dummy_page_init() 103 DMA_BIDIRECTIONAL); in amdgpu_gart_dummy_page_fini() 139 DMA_BIDIRECTIONAL); in amdgpu_gart_table_ram_alloc()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | dma.c | 22 case DMA_BIDIRECTIONAL: in __dma_sync()
|
/openbmc/linux/drivers/ps3/ |
H A D | ps3stor_lib.c | 191 dev->bounce_size, DMA_BIDIRECTIONAL); in ps3stor_setup() 209 DMA_BIDIRECTIONAL); in ps3stor_setup() 233 DMA_BIDIRECTIONAL); in ps3stor_teardown()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 415 dma_unmap_single(jrdev, key_dma, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key() 632 ahash_done_cpy(jrdev, desc, err, context, DMA_BIDIRECTIONAL); in ahash_done_ctx_src() 689 ahash_done_switch(jrdev, desc, err, context, DMA_BIDIRECTIONAL); in ahash_done_bi() 890 edesc->sec4_sg, DMA_BIDIRECTIONAL); in ahash_update_ctx() 927 ctx->ctx_len, DMA_BIDIRECTIONAL); in ahash_update_ctx() 972 edesc->sec4_sg, DMA_BIDIRECTIONAL); in ahash_final_ctx() 999 digestsize, DMA_BIDIRECTIONAL); in ahash_final_ctx() 1052 edesc->sec4_sg, DMA_BIDIRECTIONAL); in ahash_finup_ctx() 1073 digestsize, DMA_BIDIRECTIONAL); in ahash_finup_ctx() 1797 ctx->key_dir = DMA_BIDIRECTIONAL; in caam_hash_cra_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 34 DMA_BIDIRECTIONAL, in i915_gem_gtt_prepare_pages() 68 DMA_BIDIRECTIONAL); in i915_gem_gtt_finish_pages()
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 576 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_prepare_io_req_external() 594 dma_unmap_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_prepare_io_req_external() 633 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_finish_io_req_external() 651 dma_unmap_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_finish_io_req_external() 688 nents = dma_map_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_prepare_io_req_pipelined() 712 dma_unmap_sg(mxic->dev, ctx->sg, 2, DMA_BIDIRECTIONAL); in mxic_ecc_finish_io_req_pipelined()
|
/openbmc/linux/net/xdp/ |
H A D | xsk_buff_pool.c | 351 DMA_BIDIRECTIONAL, attrs); in __xp_dma_unmap() 444 DMA_BIDIRECTIONAL, attrs); in xp_dma_map() 549 DMA_BIDIRECTIONAL); in xp_alloc() 686 xskb->pool->frame_len, DMA_BIDIRECTIONAL); in xp_dma_sync_for_cpu_slow() 694 size, DMA_BIDIRECTIONAL); in xp_dma_sync_for_device_slow()
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H A D | octeon_mgmt.c | 244 DMA_BIDIRECTIONAL); in octeon_mgmt_rx_fill_ring() 274 DMA_BIDIRECTIONAL); in octeon_mgmt_clean_tx_buffers() 376 DMA_BIDIRECTIONAL); in octeon_mgmt_dequeue_rx_buffer() 987 DMA_BIDIRECTIONAL); in octeon_mgmt_open() 1000 DMA_BIDIRECTIONAL); in octeon_mgmt_open() 1230 DMA_BIDIRECTIONAL); in octeon_mgmt_open() 1235 DMA_BIDIRECTIONAL); in octeon_mgmt_open() 1264 DMA_BIDIRECTIONAL); in octeon_mgmt_stop() 1269 DMA_BIDIRECTIONAL); in octeon_mgmt_stop() 1317 DMA_BIDIRECTIONAL); in octeon_mgmt_xmit()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | skcipher.c | 41 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_done() 42 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_done() 82 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_async_req_handle() 83 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_async_req_handle()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | dma.c | 65 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem_dmabuf.c | 30 DMA_BIDIRECTIONAL); in ib_umem_dmabuf_map_pages() 107 DMA_BIDIRECTIONAL); in ib_umem_dmabuf_unmap_pages()
|
H A D | umem.c | 56 DMA_BIDIRECTIONAL, 0); in __ib_umem_release() 239 DMA_BIDIRECTIONAL, dma_attr); in ib_umem_get()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 165 DMA_BIDIRECTIONAL); in dpaa2_eth_free_rx_fd() 223 DMA_BIDIRECTIONAL); in dpaa2_eth_build_frag_skb() 295 DMA_BIDIRECTIONAL); in dpaa2_eth_free_bufs() 599 DMA_BIDIRECTIONAL); in dpaa2_eth_rx() 672 DMA_BIDIRECTIONAL); in dpaa2_eth_rx_err() 1148 DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd() 1152 DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd() 1165 DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd() 1174 DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd() 1192 DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd() [all …]
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | dirty.c | 110 DMA_BIDIRECTIONAL); in __pds_vfio_dirty_free_sgl() 144 sgl_addr = dma_map_single(pdsc_dev, sgl, sgl_size, DMA_BIDIRECTIONAL); in __pds_vfio_dirty_alloc_sgl() 255 DMA_BIDIRECTIONAL); in pds_vfio_dirty_enable() 262 dma_unmap_single(pdsc_dev, regions_dma, len, DMA_BIDIRECTIONAL); in pds_vfio_dirty_enable()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | mem.c | 90 DMA_BIDIRECTIONAL); in nvkm_mem_dtor() 211 DMA_BIDIRECTIONAL); in nvkm_mem_new_host()
|
/openbmc/linux/tools/virtio/linux/ |
H A D | dma-mapping.h | 10 DMA_BIDIRECTIONAL = 0, enumerator
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 73 dma_unmap_sgtable(dev, bo->base.sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc() 83 ret = dma_map_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc() 99 dma_unmap_sgtable(dev, &sgt, DMA_BIDIRECTIONAL, 0); in lima_heap_alloc()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | asm-offsets.c | 146 DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL); in main()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.c | 61 DMA_BIDIRECTIONAL); in mlx4_free_icm_pages() 209 DMA_BIDIRECTIONAL); in mlx4_alloc_icm() 223 chunk->npages, DMA_BIDIRECTIONAL); in mlx4_alloc_icm()
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 340 DMA_BIDIRECTIONAL, 0); in rockchip_gem_free_object() 468 int err = dma_map_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg() 474 dma_unmap_sgtable(drm->dev, sg, DMA_BIDIRECTIONAL, 0); in rockchip_gem_dma_map_sg()
|