Lines Matching defs:coherent
331 * Initialise the coherent pool for atomic allocations.
344 * The atomic pool is only used for non-coherent allocations
366 pr_info("DMA: preallocated %zu KiB pool for atomic coherent allocations\n",
375 pr_err("DMA: failed to allocate %zu KiB pool for atomic coherent allocation\n",
465 * non-coherent
490 WARN(1, "coherent pool not initialised!\n");
579 /* __alloc_simple_buffer is only called when the device is coherent */
684 dev_warn(dev, "coherent allocation too big (requested %#x mask %#llx)\n",
740 * Allocate DMA-coherent memory space and return both the kernel remapped
783 * Create userspace mapping for the DMA-coherent memory.
1062 static const struct dma_map_ops *arm_get_dma_map_ops(bool coherent)
1073 return coherent ? &arm_coherent_dma_ops : &arm_dma_ops;
1536 WARN(1, "trying to free invalid coherent area: %p\n", cpu_addr);
1673 * Map a set of i/o coherent buffers described by scatterlist in streaming
2202 static const struct dma_map_ops *arm_get_iommu_dma_map_ops(bool coherent)
2204 return coherent ? &iommu_coherent_ops : &iommu_ops;
2258 const struct iommu_ops *iommu, bool coherent)
2262 dev->archdata.dma_coherent = coherent;
2264 dev->dma_coherent = coherent;
2276 dma_ops = arm_get_iommu_dma_map_ops(coherent);
2278 dma_ops = arm_get_dma_map_ops(coherent);