Lines Matching refs:dma_coherent_mem
13 struct dma_coherent_mem { struct
23 static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *dev) in dev_get_coherent_memory() argument
31 struct dma_coherent_mem * mem) in dma_get_device_base()
38 static struct dma_coherent_mem *dma_init_coherent_memory(phys_addr_t phys_addr, in dma_init_coherent_memory()
41 struct dma_coherent_mem *dma_mem; in dma_init_coherent_memory()
52 dma_mem = kzalloc(sizeof(struct dma_coherent_mem), GFP_KERNEL); in dma_init_coherent_memory()
77 static void _dma_release_coherent_memory(struct dma_coherent_mem *mem) in _dma_release_coherent_memory()
88 struct dma_coherent_mem *mem) in dma_assign_coherent_memory()
120 struct dma_coherent_mem *mem; in dma_declare_coherent_memory()
142 struct dma_coherent_mem *mem, in __dma_alloc_from_coherent()
190 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent()
199 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent()
229 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent()
234 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent()
274 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_mmap_from_dev_coherent()
280 static struct dma_coherent_mem *dma_coherent_default_memory __ro_after_init;
313 struct dma_coherent_mem *mem; in dma_init_global_coherent()
339 struct dma_coherent_mem *mem; in rmem_dma_device_init()