Home
last modified time | relevance | path

Searched refs:DMA_NONE (Results 1 – 25 of 89) sorted by relevance

1234

/linux/arch/xtensa/kernel/
H A Dpci-dma.c55 case DMA_NONE: in arch_sync_dma_for_cpu()
74 case DMA_NONE: in arch_sync_dma_for_device()
/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c377 if (dir == DMA_NONE) in kvmppc_tce_validate()
442 enum dma_data_direction dir = DMA_NONE; in kvmppc_clear_tce()
472 enum dma_data_direction dir = DMA_NONE; in kvmppc_tce_iommu_do_unmap()
480 if (dir == DMA_NONE) in kvmppc_tce_iommu_do_unmap()
539 if (dir != DMA_NONE) in kvmppc_tce_iommu_do_map()
598 if ((dir != DMA_NONE) && kvmppc_tce_to_ua(vcpu->kvm, tce, &ua)) { in kvmppc_h_put_tce()
606 if (dir == DMA_NONE) in kvmppc_h_put_tce()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c246 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_attach()
263 if (attach->dma_dir != DMA_NONE) in vb2_vmalloc_dmabuf_ops_detach()
282 if (attach->dma_dir != DMA_NONE) { in vb2_vmalloc_dmabuf_ops_map()
284 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_map()
/linux/drivers/xen/
H A Dgrant-dma-ops.c182 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_map_phys()
215 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_phys()
245 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_sg()
260 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_map_sg()
H A Dswiotlb-xen.c212 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_phys()
287 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_phys()
352 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_sg()
367 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_sg()
H A Dgntdev-dmabuf.c230 gntdev_dmabuf_attach->dir = DMA_NONE; in dmabuf_exp_ops_attach()
244 if (gntdev_dmabuf_attach->dir != DMA_NONE) in dmabuf_exp_ops_detach()
268 if (dir == DMA_NONE || !gntdev_dmabuf_attach) in dmabuf_exp_ops_map_dma_buf()
279 if (gntdev_dmabuf_attach->dir != DMA_NONE) in dmabuf_exp_ops_map_dma_buf()
/linux/drivers/ufs/core/
H A Dufs_bsg.c91 dir = DMA_NONE; in ufs_bsg_exec_advanced_rpmb_req()
106 if (dir != DMA_NONE) { in ufs_bsg_exec_advanced_rpmb_req()
122 if (dir != DMA_NONE) { in ufs_bsg_exec_advanced_rpmb_req()
/linux/drivers/comedi/
H A Dcomedi_buf.c29 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release()
45 if (bm->dma_dir != DMA_NONE) in comedi_buf_map_kref_release()
79 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc()
88 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc()
126 if (!IS_ENABLED(CONFIG_HAS_DMA) && s->async_dma_dir != DMA_NONE) { in __comedi_buf_alloc()
/linux/include/linux/
H A Ddma-direction.h9 DMA_NONE = 3, enumerator
/linux/drivers/scsi/
H A Dsr_ioctl.c155 cgc.data_direction = DMA_NONE; in sr_fake_playtrkind()
175 cgc.data_direction = DMA_NONE; in sr_play_trkind()
280 cgc.data_direction = DMA_NONE; in sr_tray_move()
445 cgc.data_direction = DMA_NONE; in sr_select_speed()
/linux/drivers/scsi/aic7xxx/
H A Dcam.h108 CAM_DIR_NONE = DMA_NONE,
/linux/include/target/
H A Dtarget_core_fabric.h250 case DMA_NONE: in target_reverse_dma_direction()
252 return DMA_NONE; in target_reverse_dma_direction()
/linux/tools/virtio/linux/
H A Ddma-mapping.h13 DMA_NONE = 3, enumerator
/linux/arch/powerpc/mm/
H A Ddma-noncoherent.c28 case DMA_NONE: in __dma_sync()
/linux/arch/sparc/kernel/
H A Diommu.c288 if (unlikely(direction == DMA_NONE)) in dma_4u_map_phys()
403 if (unlikely(direction == DMA_NONE)) { in dma_4u_unmap_phys()
454 BUG_ON(direction == DMA_NONE); in dma_4u_map_sg()
622 BUG_ON(direction == DMA_NONE); in dma_4u_unmap_sg()
H A Dpci_sun4v.c381 if (unlikely(direction == DMA_NONE)) in dma_4v_map_phys()
449 if (unlikely(direction == DMA_NONE)) { in dma_4v_unmap_phys()
493 BUG_ON(direction == DMA_NONE); in dma_4v_map_sg()
643 BUG_ON(direction == DMA_NONE); in dma_4v_unmap_sg()
/linux/arch/powerpc/kernel/
H A Diommu.c484 BUG_ON(direction == DMA_NONE); in ppc_iommu_map_sg()
621 BUG_ON(direction == DMA_NONE); in ppc_iommu_unmap_sg()
864 BUG_ON(direction == DMA_NONE); in iommu_map_phys()
899 BUG_ON(direction == DMA_NONE); in iommu_unmap_phys()
1050 return DMA_NONE; in iommu_tce_direction()
/linux/arch/arm/mach-footbridge/
H A Ddma-isa.c83 direction = DMA_NONE; in isa_enable_dma()
/linux/drivers/net/thunderbolt/
H A Dtrace.h23 { DMA_NONE, "DMA_NONE" }
/linux/drivers/vfio/pci/mlx5/
H A Dmain.c93 bool is_header = vhca_buf->dma_dir == DMA_NONE; in mlx5vf_buf_read_done()
346 DMA_NONE); in mlx5vf_add_stop_copy_header()
423 DMA_NONE); in mlx5vf_prep_stop_copy()
903 migf, npages, DMA_NONE); in mlx5vf_resume_write()
1025 DMA_NONE); in mlx5vf_pci_resume_device_data()
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c461 direction = DMA_NONE; in tce_iommu_clear()
468 if (direction == DMA_NONE) in tce_iommu_clear()
533 if (dirtmp != DMA_NONE) in tce_iommu_build()
590 if (dirtmp != DMA_NONE) in tce_iommu_build_v2()
/linux/drivers/usb/storage/
H A Disd200.c512 isd200_set_srb(info, DMA_NONE, NULL, 0); in isd200_action()
521 isd200_set_srb(info, DMA_NONE, NULL, 0); in isd200_action()
530 isd200_set_srb(info, DMA_NONE, NULL, 0); in isd200_action()
539 isd200_set_srb(info, DMA_NONE, NULL, 0); in isd200_action()
/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c458 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_cleanup_dma()
692 if (pd->dma_direction != DMA_NONE) in sh_mobile_xfer()
919 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_probe()
/linux/include/trace/events/
H A Ddma.h16 TRACE_DEFINE_ENUM(DMA_NONE);
23 { DMA_NONE, "NONE" })
/linux/drivers/crypto/caam/
H A Dcaamhash.c1803 ctx->key_dir = DMA_NONE; in caam_hash_cra_init()
1809 ctx->key_dir = caam_hash->is_hmac ? DMA_TO_DEVICE : DMA_NONE; in caam_hash_cra_init()
1812 ctx->key_dir = DMA_NONE; in caam_hash_cra_init()
1820 if (ctx->key_dir != DMA_NONE) { in caam_hash_cra_init()
1839 if (ctx->key_dir != DMA_NONE) in caam_hash_cra_init()
1878 if (ctx->key_dir != DMA_NONE) in caam_hash_cra_exit()

1234