Home
last modified time | relevance | path

Searched refs:dma_coherent (Results 1 – 13 of 13) sorted by relevance

/linux/arch/arm/mm/
H A Ddma-mapping-nommu.c45 dev->dma_coherent = cacheid ? coherent : true; in arch_setup_dma_ops()
50 dev->dma_coherent = (get_cr() & CR_M) ? coherent : true; in arch_setup_dma_ops()
H A Ddma-mapping.c1079 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_alloc_attrs()
1127 if (!dev->dma_coherent) in arm_iommu_mmap_attrs()
1144 int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL; in arm_iommu_free_attrs()
1205 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in __map_sg_chunk()
1307 if (!dev->dma_coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) in arm_iommu_unmap_sg()
1326 if (dev->dma_coherent) in arm_iommu_sync_sg_for_cpu()
1348 if (dev->dma_coherent) in arm_iommu_sync_sg_for_device()
1374 if (!dev->dma_coherent && in arm_iommu_map_phys()
1415 if (!dev->dma_coherent && in arm_iommu_unmap_phys()
1434 if (dev->dma_coherent || !iova) in arm_iommu_sync_single_for_cpu()
[all …]
/linux/arch/arc/mm/
H A Ddma.c101 dev->dma_coherent = true; in arch_setup_dma_ops()
104 dev->dma_coherent ? "" : "non"); in arch_setup_dma_ops()
/linux/sound/usb/qcom/
H A Dqc_audio_offload.c541 static int uaudio_iommu_map_prot(bool dma_coherent) in uaudio_iommu_map_prot() argument
545 if (dma_coherent) in uaudio_iommu_map_prot()
562 static unsigned long uaudio_iommu_map_pa(enum mem_type mtype, bool dma_coherent, in uaudio_iommu_map_pa() argument
567 int prot = uaudio_iommu_map_prot(dma_coherent); in uaudio_iommu_map_pa()
593 static unsigned long uaudio_iommu_map_xfer_buf(bool dma_coherent, size_t size, in uaudio_iommu_map_xfer_buf() argument
602 int prot = uaudio_iommu_map_prot(dma_coherent); in uaudio_iommu_map_xfer_buf()
608 if (dma_coherent) in uaudio_iommu_map_xfer_buf()
1028 bool dma_coherent; in uaudio_transfer_buffer_setup() local
1034 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup()
1061 xfer_buf_dma_sysdev = uaudio_iommu_map_xfer_buf(dma_coherent, in uaudio_transfer_buffer_setup()
[all …]
/linux/arch/mips/mm/
H A Ddma-noncoherent.c142 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/linux/arch/riscv/mm/
H A Ddma-noncoherent.c143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
/linux/arch/arm/mach-highbank/
H A Dhighbank.c101 dev->dma_coherent = true; in highbank_platform_notifier()
/linux/arch/arm/mach-mvebu/
H A Dcoherency.c98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
/linux/drivers/scsi/
H A Dhptiop.h322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
/linux/drivers/scsi/arcmsr/
H A Darcmsr.h919 void * dma_coherent; member
/linux/include/linux/
H A Ddevice.h730 bool dma_coherent:1; member
/linux/drivers/dma/ti/
H A Dk3-udma.c431 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
436 chan_dev->dma_coherent = true; in k3_configure_chan_coherency()
442 chan_dev->dma_coherent = false; in k3_configure_chan_coherency()
/linux/drivers/base/
H A Dcore.c3176 dev->dma_coherent = dma_default_coherent; in device_initialize()