/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/i825xx/ |
D | lasi_82596.c | 184 DMA_BIDIRECTIONAL, GFP_KERNEL); in lan_init_chip() 195 lp->dma, lp->dma_addr, DMA_BIDIRECTIONAL); in lan_init_chip() 208 lp->dma_addr, DMA_BIDIRECTIONAL); in lan_remove_chip()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_reqmgr.h | 168 info->dma_len, DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy() 177 DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy() 185 DMA_BIDIRECTIONAL); in otx2_cpt_info_destroy()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/mmc/host/ |
D | mmc_spi.c | 518 DMA_BIDIRECTIONAL); in mmc_spi_command_send() 525 DMA_BIDIRECTIONAL); in mmc_spi_command_send() 659 DMA_BIDIRECTIONAL); in mmc_spi_writeblock() 671 DMA_BIDIRECTIONAL); in mmc_spi_writeblock() 789 DMA_BIDIRECTIONAL); in mmc_spi_readblock() 804 DMA_BIDIRECTIONAL); in mmc_spi_readblock() 899 dir = DMA_BIDIRECTIONAL; in mmc_spi_data_do() 986 DMA_BIDIRECTIONAL); in mmc_spi_data_do() 993 DMA_BIDIRECTIONAL); in mmc_spi_data_do() 1285 DMA_BIDIRECTIONAL); in mmc_spi_dma_alloc() [all …]
|
/linux-5.19.10/drivers/crypto/caam/ |
D | qi.c | 110 DMA_BIDIRECTIONAL); in caam_qi_enqueue() 160 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_fq_ern_cb() 371 DMA_BIDIRECTIONAL); in caam_drv_ctx_update() 426 DMA_BIDIRECTIONAL); in caam_drv_ctx_init() 455 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init() 505 DMA_BIDIRECTIONAL); in caam_drv_ctx_rel() 605 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_rsp_fq_dqrr_cb()
|
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 | caampkc.c | 93 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap() 94 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f2_unmap() 112 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in rsa_priv_f3_unmap() 113 dma_unmap_single(dev, pdb->tmp2_dma, q_sz, DMA_BIDIRECTIONAL); in rsa_priv_f3_unmap() 520 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 526 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 556 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f2_pdb() 609 pdb->tmp1_dma = dma_map_single(dev, key->tmp1, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb() 615 pdb->tmp2_dma = dma_map_single(dev, key->tmp2, q_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb() 645 dma_unmap_single(dev, pdb->tmp1_dma, p_sz, DMA_BIDIRECTIONAL); in set_rsa_priv_f3_pdb()
|
/linux-5.19.10/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-5.19.10/include/sound/ |
D | memalloc.h | 87 return snd_dma_alloc_dir_pages(type, dev, DMA_BIDIRECTIONAL, size, dmab); in snd_dma_alloc_pages() 118 return snd_devm_alloc_dir_pages(dev, type, DMA_BIDIRECTIONAL, size); in snd_devm_alloc_pages()
|
/linux-5.19.10/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-5.19.10/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() 710 DMA_BIDIRECTIONAL); in tpm_ibmvtpm_probe()
|
/linux-5.19.10/drivers/firmware/tegra/ |
D | ivc.c | 640 DMA_BIDIRECTIONAL); in tegra_ivc_init() 645 DMA_BIDIRECTIONAL); in tegra_ivc_init() 648 DMA_BIDIRECTIONAL); in tegra_ivc_init() 682 DMA_BIDIRECTIONAL); in tegra_ivc_cleanup() 684 DMA_BIDIRECTIONAL); in tegra_ivc_cleanup()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | gf100.c | 67 PAGE_SIZE, DMA_BIDIRECTIONAL); in gf100_fb_oneinit() 111 DMA_BIDIRECTIONAL); in gf100_fb_dtor()
|
/linux-5.19.10/drivers/crypto/hisilicon/ |
D | sgl.c | 237 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 251 dma_unmap_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 285 dma_unmap_sg(dev, sgl, sg_nents(sgl), DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_unmap()
|
/linux-5.19.10/drivers/crypto/ccree/ |
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() 462 int src_direction = (req->src != req->dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_unmap_aead_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() [all …]
|
/linux-5.19.10/drivers/scsi/ibmvscsi_tgt/ |
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()
|
/linux-5.19.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_dmabuf.c | 120 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() 274 DMA_BIDIRECTIONAL); in i915_gem_object_put_pages_dmabuf()
|