/openbmc/linux/include/linux/ |
H A D | dma-direction.h | 6 DMA_BIDIRECTIONAL = 0, enumerator 14 return dir == DMA_BIDIRECTIONAL || dir == DMA_TO_DEVICE || in valid_dma_direction()
|
/openbmc/linux/arch/nios2/mm/ |
H A 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()
|
/openbmc/linux/arch/arc/mm/ |
H A D | dma.c | 63 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 81 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A 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()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | pci-dma.c | 50 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu() 68 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device()
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A 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()
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A 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()
|
/openbmc/linux/arch/csky/mm/ |
H A D | dma-mapping.c | 66 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 81 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A 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()
|
/openbmc/linux/drivers/fpga/ |
H A 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()
|
/openbmc/linux/arch/mips/mm/ |
H A D | dma-noncoherent.c | 67 case DMA_BIDIRECTIONAL: in dma_sync_virt_for_device() 82 case DMA_BIDIRECTIONAL: in dma_sync_virt_for_cpu()
|
/openbmc/linux/include/sound/ |
H A D | memalloc.h | 84 return snd_dma_alloc_dir_pages(type, dev, DMA_BIDIRECTIONAL, size, dmab); in snd_dma_alloc_pages() 115 return snd_devm_alloc_dir_pages(dev, type, DMA_BIDIRECTIONAL, size); in snd_devm_alloc_pages()
|
/openbmc/linux/drivers/crypto/caam/ |
H A 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() 612 sizeof(drv_req->fd_sgt), DMA_BIDIRECTIONAL); in caam_rsp_fq_dqrr_cb()
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 84 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_device() 106 case DMA_BIDIRECTIONAL: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A 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()
|
/openbmc/linux/drivers/char/tpm/ |
H A 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()
|
/openbmc/u-boot/include/linux/ |
H A D | dma-direction.h | 8 DMA_BIDIRECTIONAL = 0, enumerator
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A 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 …]
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | sgl.c | 236 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 250 dma_unmap_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 283 dma_unmap_sg(dev, sgl, sg_nents(sgl), DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_unmap()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A 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()
|
/openbmc/linux/drivers/firmware/tegra/ |
H A 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()
|
/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()
|