Home
last modified time | relevance | path

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

12345

/linux/drivers/comedi/
A Dcomedi_buf.c30 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 Dbook3s_64_vio_hv.c110 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 Dbook3s_64_vio.c367 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 Dpci-dma.c55 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 Dvideobuf2-vmalloc.c242 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 Dvideobuf2-dma-sg.c399 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 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()
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 Dswiotlb-xen.c366 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 Dgntdev-dmabuf.c238 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 Dscsi_dh_hp_sw.c90 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 Dsr_ioctl.c149 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 Dch.c287 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 Dtarget_core_fabric.h238 case DMA_NONE: in target_reverse_dma_direction()
240 return DMA_NONE; in target_reverse_dma_direction()
/linux/include/linux/
A Ddma-direction.h9 DMA_NONE = 3, enumerator
/linux/drivers/media/pci/ivtv/
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()
/linux/drivers/scsi/aic7xxx/
A Dcam.h108 CAM_DIR_NONE = DMA_NONE,
/linux/tools/virtio/linux/
A Ddma-mapping.h13 DMA_NONE = 3, enumerator
/linux/arch/powerpc/kernel/
A Diommu.c473 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 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()
/linux/drivers/i2c/busses/
A Di2c-sh_mobile.c453 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 Di2c-rcar.c383 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 Ddma-noncoherent.c28 case DMA_NONE: in __dma_sync()
/linux/drivers/scsi/aic94xx/
A Daic94xx_task.c33 [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 Dmxs-mmc.c268 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 Ddma-isa.c83 direction = DMA_NONE; in isa_enable_dma()

Completed in 45 milliseconds

12345