Lines Matching refs:size
24 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() argument
38 ret = (void *) __get_free_pages(gfp, get_order(size)); in dma_alloc_coherent()
42 (unsigned long) ret + size); in dma_alloc_coherent()
50 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, in dma_free_coherent() argument
55 free_pages(addr, get_order(size)); in dma_free_coherent()
81 unsigned long offset, size_t size, in dma_map_page() argument
89 __dma_sync_for_device(addr, size, direction); in dma_map_page()
95 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() argument
100 __dma_sync_for_cpu(phys_to_virt(dma_address), size, direction); in dma_unmap_page()
124 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu() argument
128 __dma_sync_for_cpu(phys_to_virt(dma_handle), size, direction); in dma_sync_single_for_cpu()
133 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device() argument
137 __dma_sync_for_device(phys_to_virt(dma_handle), size, direction); in dma_sync_single_for_device()
142 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() argument
147 __dma_sync_for_cpu(phys_to_virt(dma_handle), size, direction); in dma_sync_single_range_for_cpu()
152 unsigned long offset, size_t size, in dma_sync_single_range_for_device() argument
157 __dma_sync_for_device(phys_to_virt(dma_handle), size, direction); in dma_sync_single_range_for_device()