Home
last modified time | relevance | path

Searched refs:DMA_BIDIRECTIONAL (Results 26 – 50 of 269) sorted by relevance

1234567891011

/openbmc/linux/arch/hexagon/kernel/
H A Ddma.c26 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c173 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 Dcc_buffer_mgr.c349 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 Dcc_hash.c122 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 Di915_gem_dmabuf.c121 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 Damdgpu_gart.c82 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 Ddma.c22 case DMA_BIDIRECTIONAL: in __dma_sync()
/openbmc/linux/drivers/ps3/
H A Dps3stor_lib.c191 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 Dcaamhash.c415 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 Di915_gem_gtt.c34 DMA_BIDIRECTIONAL, in i915_gem_gtt_prepare_pages()
68 DMA_BIDIRECTIONAL); in i915_gem_gtt_finish_pages()
/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c576 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 Dxsk_buff_pool.c351 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 Docteon_mgmt.c244 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 Dskcipher.c41 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 Ddma.c65 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
/openbmc/linux/drivers/infiniband/core/
H A Dumem_dmabuf.c30 DMA_BIDIRECTIONAL); in ib_umem_dmabuf_map_pages()
107 DMA_BIDIRECTIONAL); in ib_umem_dmabuf_unmap_pages()
H A Dumem.c56 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 Ddpaa2-eth.c165 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 Ddirty.c110 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 Dmem.c90 DMA_BIDIRECTIONAL); in nvkm_mem_dtor()
211 DMA_BIDIRECTIONAL); in nvkm_mem_new_host()
/openbmc/linux/tools/virtio/linux/
H A Ddma-mapping.h10 DMA_BIDIRECTIONAL = 0, enumerator
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c73 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 Dasm-offsets.c146 DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL); in main()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c61 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 Drockchip_drm_gem.c340 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()

1234567891011