/linux-4.1.27/include/linux/ |
H A D | dma-direction.h | 8 DMA_BIDIRECTIONAL = 0, enumerator in enum:dma_data_direction
|
H A D | dma-mapping.h | 75 return ((dma_direction == DMA_BIDIRECTIONAL) || valid_dma_direction()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | consistent.c | 52 dma_cache_sync(dev, ret, size, DMA_BIDIRECTIONAL); dma_generic_alloc_coherent() 96 case DMA_BIDIRECTIONAL: /* writeback and invalidate */ dma_cache_sync()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gf100.c | 77 DMA_BIDIRECTIONAL); gf100_fb_dtor() local 102 DMA_BIDIRECTIONAL); gf100_fb_ctor()
|
H A D | nv50.c | 259 DMA_BIDIRECTIONAL); nv50_fb_ctor() 278 DMA_BIDIRECTIONAL); nv50_fb_dtor() local
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | floppy.h | 17 dma_cache_sync(NULL, addr, size, DMA_BIDIRECTIONAL); fd_cacheflush()
|
/linux-4.1.27/drivers/staging/android/ion/ |
H A D | ion_carveout_heap.c | 120 DMA_BIDIRECTIONAL); ion_carveout_heap_free() 160 ion_pages_sync_for_device(NULL, page, size, DMA_BIDIRECTIONAL); ion_carveout_heap_create()
|
H A D | ion_chunk_heap.c | 109 DMA_BIDIRECTIONAL); ion_chunk_heap_free() 151 ion_pages_sync_for_device(NULL, page, size, DMA_BIDIRECTIONAL); ion_chunk_heap_create()
|
H A D | ion_page_pool.c | 34 DMA_BIDIRECTIONAL); ion_page_pool_alloc_pages()
|
H A D | ion_system_heap.c | 74 DMA_BIDIRECTIONAL); alloc_buffer_page() 348 ion_pages_sync_for_device(NULL, page, len, DMA_BIDIRECTIONAL); ion_system_contig_heap_allocate()
|
H A D | ion.c | 1221 buffer->sg_table->nents, DMA_BIDIRECTIONAL); ion_sync_for_device()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | asm-offsets.c | 107 DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL); main()
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | dma-mapping.h | 30 case DMA_BIDIRECTIONAL: /* flush and invalidate */ __dma_sync_for_device() 43 case DMA_BIDIRECTIONAL: __dma_sync_for_cpu()
|
/linux-4.1.27/drivers/crypto/qce/ |
H A D | ablkcipher.c | 38 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_done() 39 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_done() 80 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_async_req_handle() 81 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; qce_ablkcipher_async_req_handle()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_dmabuf.c | 204 bool write = (direction == DMA_BIDIRECTIONAL || direction == DMA_TO_DEVICE); i915_gem_begin_cpu_access() 254 sg = dma_buf_map_attachment(obj->base.import_attach, DMA_BIDIRECTIONAL); i915_gem_object_get_pages_dmabuf() 266 obj->pages, DMA_BIDIRECTIONAL); i915_gem_object_put_pages_dmabuf()
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm_ibmvtpm.c | 290 CRQ_RES_BUF_SIZE, DMA_BIDIRECTIONAL); tpm_ibmvtpm_remove() 295 ibmvtpm->rtce_size, DMA_BIDIRECTIONAL); tpm_ibmvtpm_remove() 502 DMA_BIDIRECTIONAL); ibmvtpm_crq_process() 594 DMA_BIDIRECTIONAL); tpm_ibmvtpm_probe() 651 DMA_BIDIRECTIONAL); tpm_ibmvtpm_probe()
|
/linux-4.1.27/drivers/net/ethernet/octeon/ |
H A D | octeon_mgmt.c | 241 DMA_BIDIRECTIONAL); octeon_mgmt_rx_fill_ring() 271 DMA_BIDIRECTIONAL); octeon_mgmt_clean_tx_buffers() 373 DMA_BIDIRECTIONAL); octeon_mgmt_dequeue_rx_buffer() 990 DMA_BIDIRECTIONAL); octeon_mgmt_open() 1003 DMA_BIDIRECTIONAL); octeon_mgmt_open() 1230 DMA_BIDIRECTIONAL); octeon_mgmt_open() 1235 DMA_BIDIRECTIONAL); octeon_mgmt_open() 1263 DMA_BIDIRECTIONAL); octeon_mgmt_stop() 1268 DMA_BIDIRECTIONAL); octeon_mgmt_stop() 1315 DMA_BIDIRECTIONAL); octeon_mgmt_xmit()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmc_spi.c | 541 DMA_BIDIRECTIONAL); mmc_spi_command_send() 548 DMA_BIDIRECTIONAL); mmc_spi_command_send() 685 DMA_BIDIRECTIONAL); mmc_spi_writeblock() 697 DMA_BIDIRECTIONAL); mmc_spi_writeblock() 815 DMA_BIDIRECTIONAL); mmc_spi_readblock() 826 DMA_BIDIRECTIONAL); mmc_spi_readblock() 924 dir = DMA_BIDIRECTIONAL; mmc_spi_data_do() 1015 DMA_BIDIRECTIONAL); mmc_spi_data_do() 1022 DMA_BIDIRECTIONAL); mmc_spi_data_do() 1397 sizeof(*host->data), DMA_BIDIRECTIONAL); mmc_spi_probe() 1403 DMA_BIDIRECTIONAL); mmc_spi_probe() 1470 sizeof(*host->data), DMA_BIDIRECTIONAL); mmc_spi_probe() 1502 sizeof(*host->data), DMA_BIDIRECTIONAL); mmc_spi_remove()
|
H A D | wbsd.c | 1397 WBSD_DMA_SIZE, DMA_BIDIRECTIONAL); wbsd_request_dma() 1421 WBSD_DMA_SIZE, DMA_BIDIRECTIONAL); wbsd_request_dma() local 1439 WBSD_DMA_SIZE, DMA_BIDIRECTIONAL); wbsd_release_dma() local
|
H A D | au1xmmc.c | 628 host->dma.dir = DMA_BIDIRECTIONAL; au1xmmc_prepare_data()
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3stor_lib.c | 203 dev->bounce_size, DMA_BIDIRECTIONAL); ps3stor_setup() 221 DMA_BIDIRECTIONAL); ps3stor_setup() 245 DMA_BIDIRECTIONAL); ps3stor_teardown()
|
/linux-4.1.27/arch/mips/mm/ |
H A D | dma-default.c | 170 plat_unmap_dma_mem(dev, dma_handle, size, DMA_BIDIRECTIONAL); dma_free_noncoherent() 186 plat_unmap_dma_mem(dev, dma_handle, size, DMA_BIDIRECTIONAL); mips_dma_free_coherent() 209 case DMA_BIDIRECTIONAL: __dma_sync_virtual()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | dma-mapping.h | 120 case DMA_BIDIRECTIONAL: /* writeback and invalidate */ dma_cache_sync()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | dma-mapping.h | 80 case DMA_BIDIRECTIONAL: __dma_sync()
|
/linux-4.1.27/arch/avr32/mm/ |
H A D | dma-coherent.c | 31 case DMA_BIDIRECTIONAL: /* writeback and invalidate */ dma_cache_sync()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | dma.c | 31 case DMA_BIDIRECTIONAL: c6x_dma_sync()
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | dma.c | 108 case DMA_BIDIRECTIONAL: dma_sync_single_for_device()
|
/linux-4.1.27/arch/arm/common/ |
H A D | dmabounce.c | 265 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) { map_single() 286 if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) { unmap_single() 386 if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) { __dmabounce_sync_for_cpu() 426 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) { __dmabounce_sync_for_device()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_dmabuf.c | 231 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); exynos_dmabuf_prime_import() 280 dma_buf_unmap_attachment(attach, sgt, DMA_BIDIRECTIONAL); exynos_dmabuf_prime_import()
|
H A D | exynos_drm_g2d.c | 383 DMA_BIDIRECTIONAL); g2d_userptr_put_dma_addr() 526 DMA_BIDIRECTIONAL); g2d_userptr_get_dma_addr()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 638 bl->bufers[i].len, DMA_BIDIRECTIONAL); qat_alg_free_bufl() 649 DMA_BIDIRECTIONAL); qat_alg_free_bufl() 692 DMA_BIDIRECTIONAL); for_each_sg() 700 DMA_BIDIRECTIONAL); 715 DMA_BIDIRECTIONAL); for_each_sg() 755 DMA_BIDIRECTIONAL); for_each_sg() 779 DMA_BIDIRECTIONAL); 790 DMA_BIDIRECTIONAL);
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_dmabuf.c | 261 sg = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); udl_gem_prime_import() 277 dma_buf_unmap_attachment(attach, sg, DMA_BIDIRECTIONAL); udl_gem_prime_import()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | asm-offsets.c | 72 DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL); main()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | asm-offsets.c | 165 DEFINE(DMA_BIDIRECTIONAL, DMA_BIDIRECTIONAL); main()
|
H A D | dma-isa.c | 76 direction = DMA_BIDIRECTIONAL; isa_enable_dma()
|
/linux-4.1.27/drivers/dma/ |
H A D | mic_x100_dma.c | 350 desc_ring_size, DMA_BIDIRECTIONAL); mic_dma_alloc_desc_ring() 360 DMA_BIDIRECTIONAL); mic_dma_alloc_desc_ring() 373 desc_ring_size, DMA_BIDIRECTIONAL); mic_dma_free_desc_ring() 381 L1_CACHE_BYTES, DMA_BIDIRECTIONAL); mic_dma_free_status_dest() 393 L1_CACHE_BYTES, DMA_BIDIRECTIONAL); mic_dma_alloc_status_dest()
|
H A D | dmatest.c | 560 /* map with DMA_BIDIRECTIONAL to force writeback/invalidate */ dmatest_func() 568 DMA_BIDIRECTIONAL); dmatest_func()
|
H A D | dmaengine.c | 1036 DMA_BIDIRECTIONAL); dmaengine_unmap()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pagealloc.c | 235 PAGE_SIZE, DMA_BIDIRECTIONAL); free_4k() 256 PAGE_SIZE, DMA_BIDIRECTIONAL); alloc_system_page() 271 dma_unmap_page(&dev->pdev->dev, addr, PAGE_SIZE, DMA_BIDIRECTIONAL); alloc_system_page()
|
/linux-4.1.27/drivers/crypto/ |
H A D | talitos.c | 221 DMA_BIDIRECTIONAL); talitos_submit() 272 DMA_BIDIRECTIONAL); flush_channel() 784 talitos_unmap_sg_chain(dev, src, DMA_BIDIRECTIONAL); talitos_sg_unmap() 786 dma_unmap_sg(dev, src, src_nents, DMA_BIDIRECTIONAL); talitos_sg_unmap() 810 DMA_BIDIRECTIONAL); ipsec_esp_unmap() 982 edesc->dma_len, DMA_BIDIRECTIONAL); ipsec_esp() 1014 (areq->src == areq->dst) ? DMA_BIDIRECTIONAL ipsec_esp() 1033 DMA_BIDIRECTIONAL); ipsec_esp() 1075 edesc->dma_len, DMA_BIDIRECTIONAL); ipsec_esp() 1212 DMA_BIDIRECTIONAL); talitos_edesc_alloc() 1343 DMA_BIDIRECTIONAL); common_nonsnoop_unmap() 1397 (areq->src == areq->dst) ? DMA_BIDIRECTIONAL common_nonsnoop() 1411 DMA_BIDIRECTIONAL); common_nonsnoop() 1441 edesc->dma_len, DMA_BIDIRECTIONAL); common_nonsnoop() 1527 DMA_BIDIRECTIONAL); common_nonsnoop_hash_unmap() 1609 DMA_BIDIRECTIONAL); common_nonsnoop_hash()
|
H A D | picoxcell_crypto.c | 356 DMA_BIDIRECTIONAL); spacc_aead_make_ddts() 365 giv ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); spacc_aead_make_ddts() 420 dma_unmap_sg(engine->dev, areq->src, nents, DMA_BIDIRECTIONAL); spacc_aead_free_ddts() 425 dma_unmap_single(engine->dev, req->giv_pa, ivsize, DMA_BIDIRECTIONAL); spacc_aead_free_ddts() 937 ablk_req->nbytes, DMA_BIDIRECTIONAL); spacc_ablk_complete() 1034 req->nbytes, DMA_BIDIRECTIONAL, &dev_req->dst_addr); spacc_ablk_setup() 1068 DMA_BIDIRECTIONAL : DMA_FROM_DEVICE); spacc_ablk_setup()
|
H A D | ixp4xx_crypto.c | 874 enum dma_data_direction src_direction = DMA_BIDIRECTIONAL; ablk_perform() 1051 DMA_BIDIRECTIONAL); aead_perform() 1071 DMA_BIDIRECTIONAL); aead_perform()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | dma-mapping.h | 54 case DMA_BIDIRECTIONAL: /* flush and invalidate */ __dma_sync_inline()
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | dma.c | 155 case DMA_BIDIRECTIONAL: dma_sync()
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | dma-mapping.h | 72 case DMA_BIDIRECTIONAL: __inline_dma_cache_sync()
|
/linux-4.1.27/net/rds/ |
H A D | ib_rdma.c | 380 DMA_BIDIRECTIONAL); rds_ib_map_fmr() 459 ibmr->sg_dma_len, DMA_BIDIRECTIONAL); rds_ib_sync_mr() 463 ibmr->sg_dma_len, DMA_BIDIRECTIONAL); rds_ib_sync_mr() 475 DMA_BIDIRECTIONAL); __rds_ib_teardown_mr()
|
H A D | iw_rdma.c | 270 sg->dma_len = ib_dma_map_sg(dev, sg->list, sg->len, DMA_BIDIRECTIONAL); rds_iw_map_scatterlist() 327 ib_dma_unmap_sg(rds_iwdev->dev, sg->list, sg->len, DMA_BIDIRECTIONAL); rds_iw_map_scatterlist() 467 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); rds_iw_sync_mr() 471 ibmr->mapping.m_sg.dma_len, DMA_BIDIRECTIONAL); rds_iw_sync_mr()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | umem.c | 56 DMA_BIDIRECTIONAL); __ib_umem_release() 217 DMA_BIDIRECTIONAL,
|
H A D | umem_odp.c | 462 DMA_BIDIRECTIONAL); ib_umem_odp_map_dma_single_page() 646 DMA_BIDIRECTIONAL); ib_umem_odp_unmap_dma_pages()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | dma.c | 437 case DMA_BIDIRECTIONAL: dma_sync_for_device() 486 case DMA_BIDIRECTIONAL: dma_sync_for_cpu()
|
/linux-4.1.27/arch/s390/pci/ |
H A D | pci_dma.c | 354 size, DMA_BIDIRECTIONAL, NULL); s390_dma_alloc() 374 s390_dma_unmap_pages(dev, dma_handle, size, DMA_BIDIRECTIONAL, NULL); s390_dma_free()
|
/linux-4.1.27/lib/ |
H A D | swiotlb.c | 16 * DMA_BIDIRECTIONAL mappings, miscellaneous cleanup. 529 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) swiotlb_tbl_map_single() 564 ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) swiotlb_tbl_unmap_single() 609 if (likely(dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL)) swiotlb_tbl_sync_single() 616 if (likely(dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL)) swiotlb_tbl_sync_single() 716 if (dir == DMA_BIDIRECTIONAL) swiotlb_full()
|
H A D | dma-debug.c | 156 static const char *dir2name[4] = { "DMA_BIDIRECTIONAL", "DMA_TO_DEVICE", 1219 if (entry->direction == DMA_BIDIRECTIONAL) check_sync() 1462 entry->direction = DMA_BIDIRECTIONAL; debug_dma_alloc_coherent() 1478 .direction = DMA_BIDIRECTIONAL, debug_dma_free_coherent()
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | lpc32xx_mlc.c | 401 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma() 423 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma() 427 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma()
|
H A D | lpc32xx_slc.c | 451 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma() 473 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma() 478 DMA_BIDIRECTIONAL); lpc32xx_xmit_dma()
|
H A D | denali.c | 1495 DMA_BIDIRECTIONAL); denali_init() 1619 DMA_BIDIRECTIONAL); denali_remove()
|
/linux-4.1.27/drivers/scsi/ibmvscsi/ |
H A D | ibmvscsi.c | 167 queue->size * sizeof(*queue->msgs), DMA_BIDIRECTIONAL); ibmvscsi_release_crq_queue() 353 DMA_BIDIRECTIONAL); ibmvscsi_init_crq_queue() 411 queue->size * sizeof(*queue->msgs), DMA_BIDIRECTIONAL); ibmvscsi_init_crq_queue() 774 case DMA_BIDIRECTIONAL: map_data_for_srp_cmd() 776 "Can't map DMA_BIDIRECTIONAL to read/write\n"); map_data_for_srp_cmd() 1107 sizeof(hostdata->caps), DMA_BIDIRECTIONAL); map_persist_bufs() 1117 DMA_BIDIRECTIONAL); map_persist_bufs() 1121 sizeof(hostdata->caps), DMA_BIDIRECTIONAL); map_persist_bufs() 1137 sizeof(hostdata->caps), DMA_BIDIRECTIONAL); unmap_persist_bufs() 1140 sizeof(hostdata->madapter_info), DMA_BIDIRECTIONAL); unmap_persist_bufs() 1890 addr = dma_map_single(hostdata->dev, buffer, length, DMA_BIDIRECTIONAL); ibmvscsi_do_host_config() 1908 dma_unmap_single(hostdata->dev, addr, length, DMA_BIDIRECTIONAL); ibmvscsi_do_host_config()
|
H A D | ibmvfc.c | 667 dma_unmap_single(vhost->dev, crq->msg_token, PAGE_SIZE, DMA_BIDIRECTIONAL); ibmvfc_release_crq_queue() 4524 PAGE_SIZE, DMA_BIDIRECTIONAL); ibmvfc_init_crq() 4567 dma_unmap_single(dev, crq->msg_token, PAGE_SIZE, DMA_BIDIRECTIONAL); ibmvfc_init_crq() 4593 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); ibmvfc_free_mem() 4620 DMA_BIDIRECTIONAL); ibmvfc_alloc_mem() 4682 async_q->size * sizeof(*async_q->msgs), DMA_BIDIRECTIONAL); ibmvfc_alloc_mem()
|
/linux-4.1.27/drivers/scsi/ |
H A D | aha1740.c | 593 DMA_BIDIRECTIONAL); aha1740_probe() 621 sizeof (host->ecb), DMA_BIDIRECTIONAL); aha1740_probe() 639 sizeof (host->ecb), DMA_BIDIRECTIONAL); aha1740_remove()
|
H A D | 53c700.c | 582 SCp->sc_data_direction != DMA_BIDIRECTIONAL) NCR_700_unmap() 1230 MSG_ARRAY_SIZE, DMA_BIDIRECTIONAL); process_script_interrupt() 1345 DMA_BIDIRECTIONAL); process_selection() 1849 case DMA_BIDIRECTIONAL: NCR_700_queuecommand_lck()
|
H A D | 3w-9xxx.c | 1851 srb->sc_data_direction == DMA_BIDIRECTIONAL) twa_scsiop_execute_scsi() 1924 cmd->sc_data_direction == DMA_BIDIRECTIONAL)) { twa_scsiop_execute_scsi_complete()
|
H A D | virtio_scsi.c | 539 BUG_ON(sc->sc_data_direction == DMA_BIDIRECTIONAL); virtscsi_queuecommand()
|
H A D | initio.c | 2608 DMA_BIDIRECTIONAL); initio_build_scb() 2753 DMA_BIDIRECTIONAL); i91u_unmap_scb()
|
H A D | mvumi.c | 2084 case DMA_BIDIRECTIONAL: mvumi_build_frame()
|
H A D | u14-34f.c | 1230 if (SCpnt->sc_data_direction != DMA_BIDIRECTIONAL) scsi_to_dev_dir()
|
H A D | ncr53c8xx.c | 4295 case DMA_BIDIRECTIONAL: ncr_queue_command() 4304 if (direction != DMA_BIDIRECTIONAL) ncr_queue_command() 4331 if (direction == DMA_BIDIRECTIONAL) ncr_queue_command()
|
H A D | scsi_error.c | 2350 scmd->sc_data_direction = DMA_BIDIRECTIONAL; scsi_ioctl_reset()
|
H A D | dpt_i2o.c | 2253 case DMA_BIDIRECTIONAL: adpt_scsi_to_i2o()
|
H A D | eata.c | 1729 if (SCpnt->sc_data_direction != DMA_BIDIRECTIONAL) scsi_to_dev_dir()
|
H A D | qla1280.c | 476 case DMA_BIDIRECTIONAL: qla1280_data_direction()
|
H A D | hpsa.c | 4027 case DMA_BIDIRECTIONAL: hpsa_ciss_submit()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_prime.c | 526 sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL); drm_gem_prime_import() 543 dma_buf_unmap_attachment(attach, sgt, DMA_BIDIRECTIONAL); drm_gem_prime_import() 756 dma_buf_unmap_attachment(attach, sg, DMA_BIDIRECTIONAL); drm_prime_gem_destroy()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 467 DMA_BIDIRECTIONAL); ibmveth_cleanup() 477 DMA_BIDIRECTIONAL); ibmveth_cleanup() 501 DMA_BIDIRECTIONAL); ibmveth_cleanup() 588 adapter->buffer_list_addr, 4096, DMA_BIDIRECTIONAL); ibmveth_open() 590 adapter->filter_list_addr, 4096, DMA_BIDIRECTIONAL); ibmveth_open() 663 netdev->mtu + IBMVETH_BUFF_OH, DMA_BIDIRECTIONAL); ibmveth_open()
|
/linux-4.1.27/drivers/net/ethernet/altera/ |
H A D | altera_sgdma.c | 84 priv->rxdescmem, DMA_BIDIRECTIONAL); sgdma_initialize() 119 priv->rxdescmem, DMA_BIDIRECTIONAL); sgdma_uninitialize()
|
/linux-4.1.27/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 459 info->mem_size, DMA_BIDIRECTIONAL); knav_acc_free_range() 569 DMA_BIDIRECTIONAL); knav_init_acc_range()
|
H A D | knav_qmss_queue.c | 1002 DMA_BIDIRECTIONAL); knav_queue_setup_region() 1040 DMA_BIDIRECTIONAL);
|
/linux-4.1.27/crypto/async_tx/ |
H A D | async_pq.c | 228 offset, len, DMA_BIDIRECTIONAL); async_gen_syndrome() 237 offset, len, DMA_BIDIRECTIONAL); async_gen_syndrome()
|
H A D | async_raid6_recov.c | 58 unmap->addr[2] = dma_map_page(dev, dest, 0, len, DMA_BIDIRECTIONAL); async_sum_product() 120 unmap->addr[1] = dma_map_page(dev, dest, 0, len, DMA_BIDIRECTIONAL); async_mult()
|
H A D | async_xor.c | 205 DMA_BIDIRECTIONAL); async_xor()
|
/linux-4.1.27/drivers/net/ethernet/i825xx/ |
H A D | lasi_82596.c | 108 do { dma_cache_sync((ndev)->dev.parent, (void *)addr, len, DMA_BIDIRECTIONAL); } while (0)
|
/linux-4.1.27/include/target/ |
H A D | target_core_fabric.h | 229 return DMA_BIDIRECTIONAL; target_reverse_dma_direction()
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | dma.c | 160 * NOTE: If dir == DMA_BIDIRECTIONAL then there's no need to or1k_map_page()
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 951 DMA_BIDIRECTIONAL); ccp_run_aes_cmac_cmd() 1104 DMA_BIDIRECTIONAL); ccp_run_aes_cmd() 1129 in_place ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); ccp_run_aes_cmd() 1281 DMA_BIDIRECTIONAL); ccp_run_xts_aes_cmd() 1302 in_place ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); ccp_run_xts_aes_cmd() 1431 DMA_BIDIRECTIONAL); ccp_run_sha_cmd() 1731 in_place ? DMA_BIDIRECTIONAL : DMA_TO_DEVICE); ccp_run_passthru_cmd()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | mpsc.c | 47 * a DMA_TO_DEVICE/cache clean so DMA_BIDIRECTIONAL/flushes are used in places 877 MPSC_DMA_ALLOC_SIZE, DMA_BIDIRECTIONAL); mpsc_init_rings() 1061 DMA_BIDIRECTIONAL); mpsc_rx_intr() 1107 DMA_BIDIRECTIONAL); mpsc_setup_tx_desc() 1154 DMA_BIDIRECTIONAL); mpsc_copy_tx_data() 1626 MPSC_RXRE_SIZE, DMA_BIDIRECTIONAL); mpsc_get_poll_char() 1752 DMA_BIDIRECTIONAL); mpsc_console_write()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 728 DMA_BIDIRECTIONAL); b44_alloc_rx_skb() 756 DMA_BIDIRECTIONAL); b44_recycle_rx() 772 DMA_BIDIRECTIONAL); b44_recycle_rx() 1143 DMA_TABLE_BYTES, DMA_BIDIRECTIONAL); b44_init_rings() 1168 DMA_TABLE_BYTES, DMA_BIDIRECTIONAL); b44_free_consistent() 1223 DMA_BIDIRECTIONAL); b44_alloc_consistent()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-sirf.c | 367 DMA_FROM_DEVICE : DMA_BIDIRECTIONAL); spi_sirfsoc_dma_transfer() 376 DMA_TO_DEVICE : DMA_BIDIRECTIONAL); spi_sirfsoc_dma_transfer()
|
H A D | spi-au1550.c | 375 t->len, DMA_BIDIRECTIONAL); au1550_spi_dma_txrxb()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | amd_gart_64.c | 494 DMA_BIDIRECTIONAL, align_mask); gart_alloc_coherent() 514 gart_unmap_page(dev, dma_addr, size, DMA_BIDIRECTIONAL, NULL); gart_free_coherent()
|
H A D | pci-calgary_64.c | 455 mapping = iommu_alloc(dev, tbl, ret, npages, DMA_BIDIRECTIONAL); calgary_alloc_coherent()
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 105 msm_obj->sgt->nents, DMA_BIDIRECTIONAL); get_pages() 121 msm_obj->sgt->nents, DMA_BIDIRECTIONAL); put_pages()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_buffer.c | 337 DMA_BIDIRECTIONAL); vmw_ttm_unmap_from_dma() 360 DMA_BIDIRECTIONAL); vmw_ttm_map_for_dma()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem.c | 254 0, PAGE_SIZE, DMA_BIDIRECTIONAL); omap_gem_attach_pages() 287 PAGE_SIZE, DMA_BIDIRECTIONAL); omap_gem_detach_pages() 703 PAGE_SIZE, DMA_BIDIRECTIONAL); omap_gem_cpu_sync() 723 PAGE_SIZE, DMA_BIDIRECTIONAL); omap_gem_dma_sync()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 338 case DMA_BIDIRECTIONAL: /* writeback and invalidate */ __dma_sync()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | recv.c | 184 DMA_BIDIRECTIONAL); ath_rx_edma_cleanup() 234 DMA_BIDIRECTIONAL); ath_rx_edma_init() 1017 dma_type = DMA_BIDIRECTIONAL; ath_rx_tasklet()
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | core.c | 291 DMA_BIDIRECTIONAL); dwc3_setup_scratch_buffers() 318 DWC3_SCRATCHBUF_SIZE, DMA_BIDIRECTIONAL); dwc3_setup_scratch_buffers() 337 DWC3_SCRATCHBUF_SIZE, DMA_BIDIRECTIONAL); dwc3_free_scratch_buffers()
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 304 GELIC_DESCR_SIZE, DMA_BIDIRECTIONAL); gelic_card_free_chain() local 337 DMA_BIDIRECTIONAL); gelic_card_init_chain() 368 DMA_BIDIRECTIONAL); gelic_card_init_chain() local
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 1522 DMA_BIDIRECTIONAL); nouveau_ttm_tt_populate() 1527 PAGE_SIZE, DMA_BIDIRECTIONAL); nouveau_ttm_tt_populate() 1585 DMA_BIDIRECTIONAL); nouveau_ttm_tt_unpopulate()
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 1459 va, len, DMA_BIDIRECTIONAL); rpcrdma_register_internal() 1505 iov->addr, iov->length, DMA_BIDIRECTIONAL); rpcrdma_deregister_internal() 1642 DMA_BIDIRECTIONAL); rpcrdma_ep_post_recv()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | pci-dma.c | 129 direction == DMA_BIDIRECTIONAL); __dma_prep_page()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 539 DMA_BIDIRECTIONAL : DMA_TO_DEVICE; radeon_ttm_tt_pin_userptr() 600 DMA_BIDIRECTIONAL : DMA_TO_DEVICE; radeon_ttm_tt_unpin_userptr()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | iommu.c | 850 mapping = iommu_alloc(dev, tbl, ret, nio_pages, DMA_BIDIRECTIONAL, iommu_alloc_coherent() 909 return DMA_BIDIRECTIONAL; iommu_tce_direction()
|
/linux-4.1.27/sound/oss/ |
H A D | dmabuf.c | 118 dmap->raw_buf_phys = dma_map_single(NULL, start_addr, dmap->buffsize, DMA_BIDIRECTIONAL); sound_alloc_dmap() 143 dma_unmap_single(NULL, dmap->raw_buf_phys, dmap->buffsize, DMA_BIDIRECTIONAL); sound_free_dmap()
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
H A D | adma.c | 3751 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_test_raid6() 4180 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_probe() 4182 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_probe() 4223 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_probe() 4225 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_probe() 4275 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_remove() 4277 PAGE_SIZE, DMA_BIDIRECTIONAL); ppc440spe_adma_remove()
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamhash.c | 686 ahash_unmap_ctx(jrdev, edesc, req, ctx->ctx_len, DMA_BIDIRECTIONAL); ahash_done_bi() 825 edesc->sec4_sg, DMA_BIDIRECTIONAL); ahash_update_ctx() 878 DMA_BIDIRECTIONAL); ahash_update_ctx()
|
H A D | caamalg.c | 2143 DMA_BIDIRECTIONAL, src_chained); caam_unmap() 2650 DMA_BIDIRECTIONAL, src_chained); aead_edesc_alloc() 2869 DMA_BIDIRECTIONAL, src_chained); aead_giv_edesc_alloc() 3081 DMA_BIDIRECTIONAL, src_chained); ablkcipher_edesc_alloc() 3260 DMA_BIDIRECTIONAL, src_chained); ablkcipher_giv_edesc_alloc()
|
/linux-4.1.27/drivers/sh/maple/ |
H A D | maple.c | 304 PAGE_SIZE, DMA_BIDIRECTIONAL); maple_send()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | ni_pcidio.c | 963 s->async_dma_dir = DMA_BIDIRECTIONAL; nidio_auto_attach()
|
H A D | ni_660x.c | 1125 s->async_dma_dir = DMA_BIDIRECTIONAL; ni_660x_auto_attach()
|
H A D | ni_mio_common.c | 5488 s->async_dma_dir = DMA_BIDIRECTIONAL; ni_E_init() 5648 s->async_dma_dir = DMA_BIDIRECTIONAL; ni_E_init()
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | system-bus.c | 605 case DMA_BIDIRECTIONAL: ps3_ioc0_map_page()
|
/linux-4.1.27/drivers/iommu/ |
H A D | intel-iommu.c | 3077 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL || \ __intel_map_single() 3080 if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) __intel_map_single() 3288 DMA_BIDIRECTIONAL, intel_alloc_coherent() 3370 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL || \ intel_map_sg() 3373 if (dir == DMA_FROM_DEVICE || dir == DMA_BIDIRECTIONAL) intel_map_sg()
|
H A D | amd_iommu.c | 2600 else if (direction == DMA_BIDIRECTIONAL) dma_ops_domain_map() 2958 size, DMA_BIDIRECTIONAL, true, dma_mask); alloc_coherent() 3001 __unmap_single(domain->priv, dma_addr, size, DMA_BIDIRECTIONAL); free_coherent()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 381 case DMA_BIDIRECTIONAL: sym_setup_data_and_start() 382 scmd_printk(KERN_INFO, cmd, "got DMA_BIDIRECTIONAL command"); sym_setup_data_and_start()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | mv_u3d_core.c | 211 DMA_BIDIRECTIONAL); 473 DMA_BIDIRECTIONAL); mv_u3d_req_to_trb()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-ismt.c | 482 dma_direction = DMA_BIDIRECTIONAL; ismt_access()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 155 DMA_BIDIRECTIONAL); isp_stat_buf_insert_magic()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | commctrl.c | 552 data_dir = DMA_BIDIRECTIONAL; aac_send_raw_srb()
|
H A D | aachba.c | 1419 case DMA_BIDIRECTIONAL: aac_scsi_common()
|
/linux-4.1.27/drivers/staging/rts5208/ |
H A D | rtsx.c | 447 if (chip->srb->sc_data_direction == DMA_BIDIRECTIONAL) { rtsx_control_thread()
|
/linux-4.1.27/drivers/ata/ |
H A D | sata_dwc_460ex.c | 243 case DMA_BIDIRECTIONAL: get_dma_dir_descript()
|
H A D | libata-eh.c | 2511 [DMA_BIDIRECTIONAL] = "bidi", ata_eh_link_report()
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | uas.c | 645 case DMA_BIDIRECTIONAL: uas_queuecommand_lck()
|
H A D | usb.c | 340 if (us->srb->sc_data_direction == DMA_BIDIRECTIONAL) { usb_stor_control_thread()
|
/linux-4.1.27/drivers/block/ |
H A D | cciss_scsi.c | 1481 case DMA_BIDIRECTIONAL: cciss_scsi_queue_command_lck()
|
/linux-4.1.27/drivers/xen/ |
H A D | xen-scsiback.c | 687 if ((pending_req->sc_data_direction != DMA_BIDIRECTIONAL) && prepare_pending_reqs()
|
/linux-4.1.27/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 2165 case DMA_BIDIRECTIONAL: zfcp_fsf_set_data_dir()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | dma-mapping.c | 1473 case DMA_BIDIRECTIONAL: __dma_direction_to_prot()
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 870 DMA_BIDIRECTIONAL); myri10ge_dma_test() 918 pci_unmap_page(mgp->pdev, dmatest_bus, PAGE_SIZE, DMA_BIDIRECTIONAL); myri10ge_dma_test()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_transport.c | 822 case DMA_BIDIRECTIONAL: transport_dump_cmd_direction()
|