Lines Matching refs:size
23 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() argument
28 return dma_alloc_coherent(dev, size, dma_handle, flag); in dma_alloc_attrs()
31 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs() argument
36 dma_free_coherent(dev, size, cpu_addr, dma_handle); in dma_free_attrs()
39 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent() argument
42 return dma_alloc_coherent(dev, size, handle, flag); in dma_alloc_noncoherent()
44 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() argument
47 dma_free_coherent(dev, size, addr, handle); in dma_free_noncoherent()
49 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync() argument
58 size_t size, enum dma_data_direction dir) in dma_unmap_single() argument
63 unsigned long, size_t size,
66 size_t size, enum dma_data_direction dir) in dma_unmap_page() argument
83 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_device() argument
87 dma_sync_single_for_device(dev, dma_handle, offset + size, direction); in dma_sync_single_range_for_device()
91 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu() argument
101 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() argument
105 dma_sync_single_for_cpu(dev, dma_handle, offset + size, direction); in dma_sync_single_range_for_cpu()
115 void *cpu_addr, dma_addr_t dma_addr, size_t size);
118 size_t size);