Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-queue.h20 return s->dma == DMA_NONE || (SLICED_VBI_PIO && s->type == IVTV_ENC_STREAM_TYPE_VBI); in ivtv_might_use_pio()
27 return s->dma == DMA_NONE || in ivtv_use_pio()
33 return s->dma != DMA_NONE; in ivtv_might_use_dma()
H A Divtv-streams.c134 DMA_NONE, 1,
148 DMA_NONE, 1,
155 DMA_NONE, 1,
182 s->dma = DMA_NONE; in ivtv_stream_init()
220 if (ivtv_stream_info[type].dma != DMA_NONE && in ivtv_prep_dev()
/openbmc/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()
/openbmc/linux/drivers/comedi/
H A Dcomedi_buf.c29 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release()
47 if (bm->dma_dir != DMA_NONE) in comedi_buf_map_kref_release()
60 if (s->async_dma_dir == DMA_NONE) in __comedi_buf_free()
87 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc()
96 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc()
150 if (!IS_ENABLED(CONFIG_HAS_DMA) && s->async_dma_dir != DMA_NONE) { in __comedi_buf_alloc()
164 if (bm->dma_dir != DMA_NONE) { in __comedi_buf_alloc()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c379 if (dir == DMA_NONE) in kvmppc_tce_validate()
444 enum dma_data_direction dir = DMA_NONE; in kvmppc_clear_tce()
474 enum dma_data_direction dir = DMA_NONE; in kvmppc_tce_iommu_do_unmap()
482 if (dir == DMA_NONE) in kvmppc_tce_iommu_do_unmap()
541 if (dir != DMA_NONE) in kvmppc_tce_iommu_do_map()
600 if ((dir != DMA_NONE) && kvmppc_tce_to_ua(vcpu->kvm, tce, &ua)) { in kvmppc_h_put_tce()
608 if (dir == DMA_NONE) in kvmppc_h_put_tce()
/openbmc/u-boot/include/linux/
H A Ddma-direction.h11 DMA_NONE = 3, enumerator
/openbmc/linux/drivers/xen/
H A Dswiotlb-xen.c202 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_page()
258 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_page()
317 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_sg()
332 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_sg()
H A Dgrant-dma-ops.c178 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_map_page()
211 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_page()
241 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_unmap_sg()
256 if (WARN_ON(dir == DMA_NONE)) in xen_grant_dma_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()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c244 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_attach()
261 if (attach->dma_dir != DMA_NONE) in vb2_vmalloc_dmabuf_ops_detach()
280 if (attach->dma_dir != DMA_NONE) { in vb2_vmalloc_dmabuf_ops_map()
282 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_map()
H A Dvideobuf2-dma-sg.c400 attach->dma_dir = DMA_NONE; in vb2_dma_sg_dmabuf_ops_attach()
418 if (attach->dma_dir != DMA_NONE) in vb2_dma_sg_dmabuf_ops_detach()
437 if (attach->dma_dir != DMA_NONE) { in vb2_dma_sg_dmabuf_ops_map()
439 attach->dma_dir = DMA_NONE; in vb2_dma_sg_dmabuf_ops_map()
H A Dvideobuf2-dma-contig.c349 attach->dma_dir = DMA_NONE; in vb2_dc_dmabuf_ops_attach()
367 if (attach->dma_dir != DMA_NONE) in vb2_dc_dmabuf_ops_detach()
393 if (attach->dma_dir != DMA_NONE) { in vb2_dc_dmabuf_ops_map()
396 attach->dma_dir = DMA_NONE; in vb2_dc_dmabuf_ops_map()
/openbmc/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()
/openbmc/linux/include/linux/
H A Ddma-direction.h9 DMA_NONE = 3, enumerator
/openbmc/linux/drivers/scsi/aic7xxx/
H A Dcam.h108 CAM_DIR_NONE = DMA_NONE,
/openbmc/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()
442 cgc.data_direction = DMA_NONE; in sr_select_speed()
/openbmc/linux/include/target/
H A Dtarget_core_fabric.h245 case DMA_NONE: in target_reverse_dma_direction()
247 return DMA_NONE; in target_reverse_dma_direction()
/openbmc/linux/tools/virtio/linux/
H A Ddma-mapping.h13 DMA_NONE = 3, enumerator
/openbmc/linux/arch/powerpc/mm/
H A Ddma-noncoherent.c28 case DMA_NONE: in __dma_sync()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c617 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_build_sgl()
681 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_sgl()
764 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_prp()
1081 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds()
1087 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds()
1093 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds()
1147 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_process_mpt_cmds()
1383 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_process_mpt_cmds()
/openbmc/linux/arch/sparc/kernel/
H A Diommu.c279 if (unlikely(direction == DMA_NONE)) in dma_4u_map_page()
395 if (unlikely(direction == DMA_NONE)) { in dma_4u_unmap_page()
446 BUG_ON(direction == DMA_NONE); in dma_4u_map_sg()
614 BUG_ON(direction == DMA_NONE); in dma_4u_unmap_sg()
/openbmc/linux/arch/alpha/kernel/
H A Dpci_iommu.c338 BUG_ON(dir == DMA_NONE); in alpha_pci_map_page()
361 BUG_ON(dir == DMA_NONE); in alpha_pci_unmap_page()
644 BUG_ON(dir == DMA_NONE); in alpha_pci_map_sg()
727 BUG_ON(dir == DMA_NONE); in alpha_pci_unmap_sg()
/openbmc/linux/arch/arm/mach-footbridge/
H A Ddma-isa.c83 direction = DMA_NONE; in isa_enable_dma()
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c482 BUG_ON(direction == DMA_NONE); in ppc_iommu_map_sg()
619 BUG_ON(direction == DMA_NONE); in ppc_iommu_unmap_sg()
862 BUG_ON(direction == DMA_NONE); in iommu_map_page()
897 BUG_ON(direction == DMA_NONE); in iommu_unmap_page()
1031 return DMA_NONE; in iommu_tce_direction()
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_task.c33 [DMA_NONE] = DATA_DIR_NONE, /* NO TRANSFER */
45 if (task->data_dir == DMA_NONE) in asd_map_scatterlist()
124 if (task->data_dir == DMA_NONE) in asd_unmap_scatterlist()

12345