Lines Matching refs:size
29 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent() argument
35 paddr = alloc_pages_exact(size, gfp); in dma_alloc_noncoherent()
46 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent() argument
50 size); in dma_free_noncoherent()
54 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() argument
60 paddr = alloc_pages_exact(size, gfp); in dma_alloc_coherent()
65 kvaddr = ioremap_nocache((unsigned long)paddr, size); in dma_alloc_coherent()
67 memset(kvaddr, 0, size); in dma_alloc_coherent()
76 void dma_free_coherent(struct device *dev, size_t size, void *kvaddr, in dma_free_coherent() argument
82 size); in dma_free_coherent()
89 void __arc_dma_cache_sync(unsigned long paddr, size_t size, in __arc_dma_cache_sync() argument
92 __inline_dma_cache_sync(paddr, size, dir); in __arc_dma_cache_sync()