/linux-6.12.1/include/linux/ |
D | dma-direction.h | 6 DMA_BIDIRECTIONAL = 0, enumerator 14 return dir == DMA_BIDIRECTIONAL || dir == DMA_TO_DEVICE || in valid_dma_direction()
|
/linux-6.12.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_reqmgr.h | 189 info->dma_len, DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy() 198 DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy() 206 DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy() 230 DMA_BIDIRECTIONAL); in setup_sgio_components() 273 list[j].size, DMA_BIDIRECTIONAL); in setup_sgio_components() 299 DMA_BIDIRECTIONAL); in sgv2io_components_setup() 338 list[j].size, DMA_BIDIRECTIONAL); in sgv2io_components_setup() 394 info->dma_len, DMA_BIDIRECTIONAL); in cn10k_sgv2_info_create() 470 info->dma_len, DMA_BIDIRECTIONAL); in otx2_sg_info_create()
|
/linux-6.12.1/drivers/crypto/cavium/cpt/ |
D | cptvf_reqmanager.c | 62 DMA_BIDIRECTIONAL); in setup_sgio_components() 112 list[i].size, DMA_BIDIRECTIONAL); in setup_sgio_components() 190 DMA_BIDIRECTIONAL); in setup_sgio_list() 209 DMA_BIDIRECTIONAL); in setup_sgio_list() 275 info->dlen, DMA_BIDIRECTIONAL); in do_request_cleanup() 279 COMPLETION_CODE_SIZE, DMA_BIDIRECTIONAL); in do_request_cleanup() 283 sizeof(union cpt_res_s), DMA_BIDIRECTIONAL); in do_request_cleanup() 292 DMA_BIDIRECTIONAL); in do_request_cleanup() 300 DMA_BIDIRECTIONAL); in do_request_cleanup() 454 DMA_BIDIRECTIONAL); in process_request()
|
/linux-6.12.1/arch/arc/mm/ |
D | dma.c | 63 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 81 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/linux-6.12.1/arch/nios2/mm/ |
D | dma-mapping.c | 36 case DMA_BIDIRECTIONAL: /* flush and invalidate */ in arch_sync_dma_for_device() 51 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/linux-6.12.1/drivers/net/ethernet/i825xx/ |
D | lasi_82596.c | 183 DMA_BIDIRECTIONAL, GFP_KERNEL); in lan_init_chip() 194 lp->dma, lp->dma_addr, DMA_BIDIRECTIONAL); in lan_init_chip() 207 lp->dma_addr, DMA_BIDIRECTIONAL); in lan_remove_chip()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/ |
D | paging.c | 29 paging->fw_paging_size, DMA_BIDIRECTIONAL); in iwl_free_fw_paging() 84 DMA_BIDIRECTIONAL); in iwl_alloc_fw_paging_mem() 159 DMA_BIDIRECTIONAL); in iwl_fill_paging_mem() 205 DMA_BIDIRECTIONAL); in iwl_fill_paging_mem()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | pci-dma.c | 50 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu() 68 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
|
/linux-6.12.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_reqmgr.h | 198 info->dma_len, DMA_BIDIRECTIONAL); in do_request_cleanup() 207 DMA_BIDIRECTIONAL); in do_request_cleanup() 215 DMA_BIDIRECTIONAL); in do_request_cleanup()
|
/linux-6.12.1/arch/csky/mm/ |
D | dma-mapping.c | 66 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 81 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/linux-6.12.1/drivers/fpga/ |
D | dfl-afu-dma-region.c | 220 DMA_BIDIRECTIONAL); in afu_dma_region_destroy() 343 DMA_BIDIRECTIONAL); in afu_dma_map_region() 364 region->iova, region->length, DMA_BIDIRECTIONAL); in afu_dma_map_region() 400 region->iova, region->length, DMA_BIDIRECTIONAL); in afu_dma_unmap_region()
|
/linux-6.12.1/arch/mips/mm/ |
D | dma-noncoherent.c | 67 case DMA_BIDIRECTIONAL: in dma_sync_virt_for_device() 82 case DMA_BIDIRECTIONAL: in dma_sync_virt_for_cpu()
|
/linux-6.12.1/include/sound/ |
D | memalloc.h | 79 return snd_dma_alloc_dir_pages(type, dev, DMA_BIDIRECTIONAL, size, dmab); in snd_dma_alloc_pages() 110 return snd_devm_alloc_dir_pages(dev, type, DMA_BIDIRECTIONAL, size); in snd_devm_alloc_pages()
|
/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-mmu.c | 130 dma = dma_map_single(mmu_info->dev, ptr, PAGE_SIZE, DMA_BIDIRECTIONAL); in map_single() 167 PAGE_SIZE, DMA_BIDIRECTIONAL); in free_dummy_page() 205 PAGE_SIZE, DMA_BIDIRECTIONAL); in free_dummy_l2_pt() 403 PAGE_SIZE, DMA_BIDIRECTIONAL); in allocate_trash_buffer() 438 PAGE_SIZE, DMA_BIDIRECTIONAL); in allocate_trash_buffer() 765 PAGE_SIZE, DMA_BIDIRECTIONAL); in ipu6_mmu_destroy() 774 PAGE_SIZE, DMA_BIDIRECTIONAL); in ipu6_mmu_destroy() 782 PAGE_SIZE, DMA_BIDIRECTIONAL); in ipu6_mmu_destroy()
|
D | ipu6-dma.c | 184 PAGE_SIZE, DMA_BIDIRECTIONAL, in ipu6_dma_alloc() 200 PAGE_SIZE, DMA_BIDIRECTIONAL, in ipu6_dma_alloc() 225 DMA_BIDIRECTIONAL, attrs); in ipu6_dma_alloc() 278 DMA_BIDIRECTIONAL, attrs); in ipu6_dma_free() 346 ipu6_dma_sync_sg_for_cpu(dev, sglist, nents, DMA_BIDIRECTIONAL); in ipu6_dma_unmap_sg() 449 ipu6_dma_sync_sg_for_cpu(dev, sglist, nents, DMA_BIDIRECTIONAL); in ipu6_dma_map_sg()
|
/linux-6.12.1/drivers/crypto/cavium/nitrox/ |
D | nitrox_reqmgr.c | 62 DMA_BIDIRECTIONAL); in softreq_unmap_sgbufs() 70 DMA_BIDIRECTIONAL); in softreq_unmap_sgbufs() 166 DMA_BIDIRECTIONAL); in dma_map_inbufs() 182 dma_unmap_sg(dev, req->src, sg_nents(req->src), DMA_BIDIRECTIONAL); in dma_map_inbufs() 194 DMA_BIDIRECTIONAL); in dma_map_outbufs() 207 dma_unmap_sg(dev, req->dst, sg_nents(req->dst), DMA_BIDIRECTIONAL); in dma_map_outbufs()
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_gem.c | 217 dma_sync_sgtable_for_cpu(dev, shmem_obj->sgt, DMA_BIDIRECTIONAL); in pvr_gem_object_vmap() 257 dma_sync_sgtable_for_device(dev, shmem_obj->sgt, DMA_BIDIRECTIONAL); in pvr_gem_object_vunmap() 364 DMA_BIDIRECTIONAL); in pvr_gem_object_create()
|
/linux-6.12.1/arch/riscv/mm/ |
D | dma-noncoherent.c | 84 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 106 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/linux-6.12.1/drivers/crypto/caam/ |
D | key_gen.c | 75 dma_addr = dma_map_single(jrdev, key_out, local_max, DMA_BIDIRECTIONAL); in gen_split_key() 121 dma_unmap_single(jrdev, dma_addr, local_max, DMA_BIDIRECTIONAL); in gen_split_key()
|
D | qi.c | 117 DMA_BIDIRECTIONAL); in caam_qi_enqueue() 167 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_fq_ern_cb() 378 DMA_BIDIRECTIONAL); in caam_drv_ctx_update() 433 DMA_BIDIRECTIONAL); in caam_drv_ctx_init() 462 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init() 512 DMA_BIDIRECTIONAL); in caam_drv_ctx_rel() 613 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_rsp_fq_dqrr_cb()
|
D | caampkc.c | 99 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap() 100 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap() 118 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in rsa_priv_f3_unmap() 119 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f3_unmap() 527 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 533 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 563 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 616 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb() 622 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb() 652 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb()
|
/linux-6.12.1/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 147 DMA_BIDIRECTIONAL); in aspeed_ahash_dma_prepare() 192 DMA_BIDIRECTIONAL); in aspeed_ahash_dma_prepare_sg() 263 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_dma_prepare_sg() 298 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_transfer() 359 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_hmac_resume() 376 DMA_BIDIRECTIONAL); in aspeed_ahash_hmac_resume() 400 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_hmac_resume() 419 DMA_BIDIRECTIONAL); in aspeed_ahash_req_final() 448 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_req_final() 470 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_update_resume_sg() [all …]
|
/linux-6.12.1/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 360 CRQ_RES_BUF_SIZE, DMA_BIDIRECTIONAL); in tpm_ibmvtpm_remove() 365 ibmvtpm->rtce_size, DMA_BIDIRECTIONAL); in tpm_ibmvtpm_remove() 534 DMA_BIDIRECTIONAL); in ibmvtpm_crq_process() 631 DMA_BIDIRECTIONAL); in tpm_ibmvtpm_probe() 714 DMA_BIDIRECTIONAL); in tpm_ibmvtpm_probe()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 148 *dma_addr = dma_map_page(dev, dpage, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_copy_one() 154 dma_unmap_page(dev, *dma_addr, PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_copy_one() 215 dma_unmap_page(drm->dev->dev, dma_addr, PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_migrate_to_ram() 412 dma_unmap_page(chunk->drm->dev->dev, dma_addrs[i], PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_evict_chunk() 634 DMA_BIDIRECTIONAL); in nouveau_dmem_migrate_copy_one() 655 dma_unmap_page(dev, *dma_addr, PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_migrate_copy_one() 685 DMA_BIDIRECTIONAL); in nouveau_dmem_migrate_chunk()
|
/linux-6.12.1/drivers/firmware/tegra/ |
D | ivc.c | 674 DMA_BIDIRECTIONAL); in tegra_ivc_init() 679 DMA_BIDIRECTIONAL); in tegra_ivc_init() 682 DMA_BIDIRECTIONAL); in tegra_ivc_init() 716 DMA_BIDIRECTIONAL); in tegra_ivc_cleanup() 718 DMA_BIDIRECTIONAL); in tegra_ivc_cleanup()
|