Lines Matching defs:size

76 	     unsigned long offset, size_t size, enum dma_data_direction dir,  in arm_dma_map_page()
85 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
106 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page()
115 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
123 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
224 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
254 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
278 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
299 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
311 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap()
329 void __init init_dma_coherent_pool_size(unsigned long size) in init_dma_coherent_pool_size()
396 unsigned long size; member
403 void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) in dma_contiguous_early_fixup()
459 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
468 static void *__alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_remap_buffer()
491 static void *__alloc_from_pool(size_t size, struct page **ret_page) in __alloc_from_pool()
512 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool()
517 static int __free_from_pool(void *start, size_t size) in __free_from_pool()
527 static void *__alloc_from_contiguous(struct device *dev, size_t size, in __alloc_from_contiguous()
562 void *cpu_addr, size_t size, bool want_vaddr) in __free_from_contiguous()
588 #define __alloc_remap_buffer(dev, size, gfp, prot, ret, c, wv) NULL argument
589 #define __alloc_from_pool(size, ret_page) NULL argument
590 #define __alloc_from_contiguous(dev, size, prot, ret, c, wv) NULL argument
591 #define __free_from_pool(cpu_addr, size) 0 argument
592 #define __free_from_contiguous(dev, page, cpu_addr, size, wv) do { } while (0) argument
593 #define __dma_free_remap(cpu_addr, size) do { } while (0) argument
597 static void *__alloc_simple_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_simple_buffer()
611 static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in __dma_alloc()
667 void *arm_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in arm_dma_alloc()
680 static void *arm_coherent_dma_alloc(struct device *dev, size_t size, in arm_coherent_dma_alloc()
697 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_dma_mmap()
726 static void __arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in __arm_dma_free()
755 void arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_dma_free()
761 static void arm_coherent_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_coherent_dma_free()
768 void *cpu_addr, dma_addr_t handle, size_t size, in arm_dma_get_sgtable()
783 size_t size, enum dma_data_direction dir, in dma_cache_maint_page() argument
836 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
852 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
1023 size_t size) in __alloc_iova()
1081 dma_addr_t addr, size_t size) in __free_iova()
1115 static struct page **__iommu_alloc_buffer(struct device *dev, size_t size, in __iommu_alloc_buffer()
1201 size_t size, struct dma_attrs *attrs) in __iommu_free_buffer()
1226 __iommu_alloc_remap(struct page **pages, size_t size, gfp_t gfp, pgprot_t prot, in __iommu_alloc_remap()
1237 __iommu_create_mapping(struct device *dev, struct page **pages, size_t size) in __iommu_create_mapping()
1273 static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size) in __iommu_remove_mapping()
1316 static void *__iommu_alloc_atomic(struct device *dev, size_t size, in __iommu_alloc_atomic()
1338 dma_addr_t handle, size_t size) in __iommu_free_atomic()
1344 static void *arm_iommu_alloc_attrs(struct device *dev, size_t size, in arm_iommu_alloc_attrs()
1392 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_iommu_mmap_attrs()
1428 void arm_iommu_free_attrs(struct device *dev, size_t size, void *cpu_addr, in arm_iommu_free_attrs()
1456 size_t size, struct dma_attrs *attrs) in arm_iommu_get_sgtable()
1493 size_t size, dma_addr_t *handle, in __map_sg_chunk()
1543 unsigned int size = s->offset + s->length; in __iommu_map_sg() local
1715 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_iommu_map_page()
1749 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_iommu_map_page()
1768 size_t size, enum dma_data_direction dir, in arm_coherent_iommu_unmap_page()
1793 size_t size, enum dma_data_direction dir, in arm_iommu_unmap_page()
1813 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_cpu()
1827 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_device()
1888 arm_iommu_create_mapping(struct bus_type *bus, dma_addr_t base, u64 size) in arm_iommu_create_mapping()
2063 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2101 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2118 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()