| /linux-6.15/drivers/media/pci/ivtv/ |
| H A D | ivtv-queue.h | 20 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 D | ivtv-streams.c | 134 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()
|
| /linux-6.15/drivers/comedi/ |
| H A D | comedi_buf.c | 29 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()
|
| /linux-6.15/arch/xtensa/kernel/ |
| H A D | pci-dma.c | 55 case DMA_NONE: in arch_sync_dma_for_cpu() 74 case DMA_NONE: in arch_sync_dma_for_device()
|
| /linux-6.15/arch/powerpc/kvm/ |
| H A D | book3s_64_vio.c | 377 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-6.15/drivers/xen/ |
| H A D | grant-dma-ops.c | 178 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 D | swiotlb-xen.c | 213 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_page() 272 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_page() 337 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_sg() 352 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_sg()
|
| H A D | gntdev-dmabuf.c | 230 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-6.15/drivers/media/common/videobuf2/ |
| H A D | videobuf2-vmalloc.c | 246 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()
|
| H A D | videobuf2-dma-sg.c | 400 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 D | videobuf2-dma-contig.c | 349 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()
|
| /linux-6.15/drivers/ufs/core/ |
| H A D | ufs_bsg.c | 91 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-6.15/include/linux/ |
| H A D | dma-direction.h | 9 DMA_NONE = 3, enumerator
|
| /linux-6.15/drivers/scsi/ |
| H A D | sr_ioctl.c | 155 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-6.15/drivers/scsi/aic7xxx/ |
| H A D | cam.h | 108 CAM_DIR_NONE = DMA_NONE,
|
| /linux-6.15/include/target/ |
| H A D | target_core_fabric.h | 250 case DMA_NONE: in target_reverse_dma_direction() 252 return DMA_NONE; in target_reverse_dma_direction()
|
| /linux-6.15/tools/virtio/linux/ |
| H A D | dma-mapping.h | 13 DMA_NONE = 3, enumerator
|
| /linux-6.15/arch/powerpc/mm/ |
| H A D | dma-noncoherent.c | 28 case DMA_NONE: in __dma_sync()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | iommu.c | 279 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()
|
| /linux-6.15/arch/alpha/kernel/ |
| H A D | pci_iommu.c | 333 BUG_ON(dir == DMA_NONE); in alpha_pci_map_page() 356 BUG_ON(dir == DMA_NONE); in alpha_pci_unmap_page() 639 BUG_ON(dir == DMA_NONE); in alpha_pci_map_sg() 722 BUG_ON(dir == DMA_NONE); in alpha_pci_unmap_sg()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | iommu.c | 483 BUG_ON(direction == DMA_NONE); in ppc_iommu_map_sg() 620 BUG_ON(direction == DMA_NONE); in ppc_iommu_unmap_sg() 863 BUG_ON(direction == DMA_NONE); in iommu_map_page() 898 BUG_ON(direction == DMA_NONE); in iommu_unmap_page() 1049 return DMA_NONE; in iommu_tce_direction()
|
| /linux-6.15/arch/arm/mach-footbridge/ |
| H A D | dma-isa.c | 83 direction = DMA_NONE; in isa_enable_dma()
|
| /linux-6.15/drivers/mmc/host/ |
| H A D | mxs-mmc.c | 267 ssp->dma_dir = DMA_NONE; in mxs_mmc_bc() 312 ssp->dma_dir = DMA_NONE; in mxs_mmc_ac() 433 ssp->dma_dir = DMA_NONE; in mxs_mmc_adtc()
|
| /linux-6.15/drivers/scsi/aic94xx/ |
| H A D | aic94xx_task.c | 33 [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()
|
| /linux-6.15/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_app.c | 1758 if (drv_bufs->data_dir == DMA_NONE || in mpi3mr_total_num_ioctl_sges() 1852 if (drv_buf_iter->data_dir == DMA_NONE || in mpi3mr_bsg_build_sgl() 1866 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_build_sgl() 1980 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_sgl() 2111 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_prp() 2517 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds() 2525 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds() 2533 drv_buf_iter->data_dir = DMA_NONE; in mpi3mr_bsg_process_mpt_cmds() 2616 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_process_mpt_cmds() 2878 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_process_mpt_cmds()
|