Searched refs:dma_coherent (Results 1 – 13 of 13) sorted by relevance
45 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()
1079 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 …]
101 dev->dma_coherent = true; in arch_setup_dma_ops()104 dev->dma_coherent ? "" : "non"); in arch_setup_dma_ops()
541 static int uaudio_iommu_map_prot(bool dma_coherent) in uaudio_iommu_map_prot() argument545 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() argument567 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() argument602 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() local1034 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 …]
142 dev->dma_coherent = coherent; in arch_setup_dma_ops()
143 dev->dma_coherent = coherent; in arch_setup_dma_ops()
101 dev->dma_coherent = true; in highbank_platform_notifier()
98 dev->dma_coherent = true; in mvebu_hwcc_notifier()
322 void *dma_coherent[HPTIOP_MAX_REQUESTS]; member
919 void * dma_coherent; member
730 bool dma_coherent:1; member
431 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()
3176 dev->dma_coherent = dma_default_coherent; in device_initialize()