/linux/drivers/comedi/ |
A D | comedi_buf.c | 30 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release() 48 if (bm->dma_dir != DMA_NONE) in comedi_buf_map_kref_release() 61 if (s->async_dma_dir == DMA_NONE) in __comedi_buf_free() 88 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc() 97 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_alloc() 151 if (!IS_ENABLED(CONFIG_HAS_DMA) && s->async_dma_dir != DMA_NONE) { in __comedi_buf_alloc() 165 if (bm->dma_dir != DMA_NONE) { in __comedi_buf_alloc()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_64_vio_hv.c | 110 if (dir == DMA_NONE) in kvmppc_rm_tce_validate() 254 enum dma_data_direction dir = DMA_NONE; in kvmppc_rm_clear_tce() 284 enum dma_data_direction dir = DMA_NONE; in kvmppc_rm_tce_iommu_do_unmap() 295 if (dir == DMA_NONE) in kvmppc_rm_tce_iommu_do_unmap() 356 if (dir != DMA_NONE) in kvmppc_rm_tce_iommu_do_map() 410 if ((dir != DMA_NONE) && kvmppc_rm_tce_to_ua(vcpu->kvm, tce, &ua)) in kvmppc_rm_h_put_tce() 416 if (dir == DMA_NONE) in kvmppc_rm_h_put_tce()
|
A D | book3s_64_vio.c | 367 if (dir == DMA_NONE) in kvmppc_tce_validate() 427 enum dma_data_direction dir = DMA_NONE; in kvmppc_clear_tce() 456 enum dma_data_direction dir = DMA_NONE; in kvmppc_tce_iommu_do_unmap() 464 if (dir == DMA_NONE) in kvmppc_tce_iommu_do_unmap() 521 if (dir != DMA_NONE) in kvmppc_tce_iommu_do_map() 578 if ((dir != DMA_NONE) && kvmppc_tce_to_ua(vcpu->kvm, tce, &ua)) { in kvmppc_h_put_tce() 586 if (dir == DMA_NONE) in kvmppc_h_put_tce()
|
/linux/arch/xtensa/kernel/ |
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/drivers/media/common/videobuf2/ |
A D | videobuf2-vmalloc.c | 242 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_attach() 259 if (attach->dma_dir != DMA_NONE) in vb2_vmalloc_dmabuf_ops_detach() 284 if (attach->dma_dir != DMA_NONE) { in vb2_vmalloc_dmabuf_ops_map() 286 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_map()
|
A D | videobuf2-dma-sg.c | 399 attach->dma_dir = DMA_NONE; in vb2_dma_sg_dmabuf_ops_attach() 417 if (attach->dma_dir != DMA_NONE) in vb2_dma_sg_dmabuf_ops_detach() 442 if (attach->dma_dir != DMA_NONE) { in vb2_dma_sg_dmabuf_ops_map() 444 attach->dma_dir = DMA_NONE; in vb2_dma_sg_dmabuf_ops_map()
|
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() 399 if (attach->dma_dir != DMA_NONE) { in vb2_dc_dmabuf_ops_map() 402 attach->dma_dir = DMA_NONE; in vb2_dc_dmabuf_ops_map()
|
/linux/drivers/xen/ |
A D | swiotlb-xen.c | 366 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_page() 422 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_page() 481 BUG_ON(dir == DMA_NONE); in xen_swiotlb_unmap_sg() 496 BUG_ON(dir == DMA_NONE); in xen_swiotlb_map_sg()
|
A D | gntdev-dmabuf.c | 238 gntdev_dmabuf_attach->dir = DMA_NONE; in dmabuf_exp_ops_attach() 252 if (gntdev_dmabuf_attach->dir != DMA_NONE) in dmabuf_exp_ops_detach() 276 if (dir == DMA_NONE || !gntdev_dmabuf_attach) in dmabuf_exp_ops_map_dma_buf() 287 if (gntdev_dmabuf_attach->dir != DMA_NONE) in dmabuf_exp_ops_map_dma_buf()
|
/linux/drivers/scsi/device_handler/ |
A D | scsi_dh_hp_sw.c | 90 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_tur() 128 res = scsi_execute(sdev, cmd, DMA_NONE, NULL, 0, NULL, &sshdr, in hp_sw_start_stop()
|
/linux/drivers/scsi/ |
A D | sr_ioctl.c | 149 cgc.data_direction = DMA_NONE; in sr_fake_playtrkind() 169 cgc.data_direction = DMA_NONE; in sr_play_trkind() 271 cgc.data_direction = DMA_NONE; in sr_tray_move() 430 cgc.data_direction = DMA_NONE; in sr_select_speed()
|
A D | ch.c | 287 err = ch_do_scsi(ch, cmd, 6, NULL, 0, DMA_NONE); in ch_init_elem() 437 return ch_do_scsi(ch, cmd, 10, NULL, 0, DMA_NONE); in ch_position() 458 return ch_do_scsi(ch, cmd, 12, NULL,0, DMA_NONE); in ch_move() 484 return ch_do_scsi(ch, cmd, 12, NULL, 0, DMA_NONE); in ch_exchange()
|
/linux/include/target/ |
A D | target_core_fabric.h | 238 case DMA_NONE: in target_reverse_dma_direction() 240 return DMA_NONE; in target_reverse_dma_direction()
|
/linux/include/linux/ |
A D | dma-direction.h | 9 DMA_NONE = 3, enumerator
|
/linux/drivers/media/pci/ivtv/ |
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/drivers/scsi/aic7xxx/ |
A D | cam.h | 108 CAM_DIR_NONE = DMA_NONE,
|
/linux/tools/virtio/linux/ |
A D | dma-mapping.h | 13 DMA_NONE = 3, enumerator
|
/linux/arch/powerpc/kernel/ |
A D | iommu.c | 473 BUG_ON(direction == DMA_NONE); in ppc_iommu_map_sg() 610 BUG_ON(direction == DMA_NONE); in ppc_iommu_unmap_sg() 848 BUG_ON(direction == DMA_NONE); in iommu_map_page() 883 BUG_ON(direction == DMA_NONE); in iommu_unmap_page() 1014 return DMA_NONE; in iommu_tce_direction()
|
/linux/arch/sparc/kernel/ |
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/drivers/i2c/busses/ |
A D | i2c-sh_mobile.c | 453 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_dma_unmap() 458 if (pd->dma_direction == DMA_NONE) in sh_mobile_i2c_cleanup_dma() 700 if (pd->dma_direction != DMA_NONE) in sh_mobile_xfer() 918 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_probe()
|
A D | i2c-rcar.c | 383 priv->dma_direction = DMA_NONE; in rcar_i2c_dma_unmap() 391 if (priv->dma_direction == DMA_NONE) in rcar_i2c_cleanup_dma() 848 if (priv->dma_direction != DMA_NONE) in rcar_i2c_master_xfer() 1066 priv->dma_direction = DMA_NONE; in rcar_i2c_probe()
|
/linux/arch/powerpc/mm/ |
A D | dma-noncoherent.c | 28 case DMA_NONE: in __dma_sync()
|
/linux/drivers/scsi/aic94xx/ |
A D | aic94xx_task.c | 33 [DMA_NONE] = DATA_DIR_NONE, /* NO TRANSFER */ 45 if (task->data_dir == DMA_NONE) in asd_map_scatterlist() 121 if (task->data_dir == DMA_NONE) in asd_unmap_scatterlist()
|
/linux/drivers/mmc/host/ |
A D | mxs-mmc.c | 268 ssp->dma_dir = DMA_NONE; in mxs_mmc_bc() 313 ssp->dma_dir = DMA_NONE; in mxs_mmc_ac() 434 ssp->dma_dir = DMA_NONE; in mxs_mmc_adtc()
|
/linux/arch/arm/kernel/ |
A D | dma-isa.c | 83 direction = DMA_NONE; in isa_enable_dma()
|