Lines Matching defs:size
77 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
86 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
107 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page()
116 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
124 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
228 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
258 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
282 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
303 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
315 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap()
333 void __init init_dma_coherent_pool_size(unsigned long size) in init_dma_coherent_pool_size()
400 unsigned long size; member
407 void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) in dma_contiguous_early_fixup()
463 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
472 static void *__alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_remap_buffer()
495 static void *__alloc_from_pool(size_t size, struct page **ret_page) in __alloc_from_pool()
516 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool()
521 static int __free_from_pool(void *start, size_t size) in __free_from_pool()
531 static void *__alloc_from_contiguous(struct device *dev, size_t size, in __alloc_from_contiguous()
566 void *cpu_addr, size_t size, bool want_vaddr) in __free_from_contiguous()
592 #define __alloc_remap_buffer(dev, size, gfp, prot, ret, c, wv) NULL argument
593 #define __alloc_from_pool(size, ret_page) NULL argument
594 #define __alloc_from_contiguous(dev, size, prot, ret, c, wv) NULL argument
595 #define __free_from_pool(cpu_addr, size) 0 argument
596 #define __free_from_contiguous(dev, page, cpu_addr, size, wv) do { } while (0) argument
597 #define __dma_free_remap(cpu_addr, size) do { } while (0) argument
601 static void *__alloc_simple_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_simple_buffer()
615 static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in __dma_alloc()
675 void *arm_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in arm_dma_alloc()
684 static void *arm_coherent_dma_alloc(struct device *dev, size_t size, in arm_coherent_dma_alloc()
692 void *cpu_addr, dma_addr_t dma_addr, size_t size, in __arm_dma_mmap()
720 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_coherent_dma_mmap()
727 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_dma_mmap()
739 static void __arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in __arm_dma_free()
765 void arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_dma_free()
771 static void arm_coherent_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_coherent_dma_free()
778 void *cpu_addr, dma_addr_t handle, size_t size, in arm_dma_get_sgtable()
793 size_t size, enum dma_data_direction dir, in dma_cache_maint_page() argument
846 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
862 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
1033 size_t size) in __alloc_iova()
1091 dma_addr_t addr, size_t size) in __free_iova()
1125 static struct page **__iommu_alloc_buffer(struct device *dev, size_t size, in __iommu_alloc_buffer()
1211 size_t size, struct dma_attrs *attrs) in __iommu_free_buffer()
1236 __iommu_alloc_remap(struct page **pages, size_t size, gfp_t gfp, pgprot_t prot, in __iommu_alloc_remap()
1247 __iommu_create_mapping(struct device *dev, struct page **pages, size_t size) in __iommu_create_mapping()
1285 static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size) in __iommu_remove_mapping()
1328 static void *__iommu_alloc_atomic(struct device *dev, size_t size, in __iommu_alloc_atomic()
1350 dma_addr_t handle, size_t size) in __iommu_free_atomic()
1356 static void *arm_iommu_alloc_attrs(struct device *dev, size_t size, in arm_iommu_alloc_attrs()
1404 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_iommu_mmap_attrs()
1440 void arm_iommu_free_attrs(struct device *dev, size_t size, void *cpu_addr, in arm_iommu_free_attrs()
1468 size_t size, struct dma_attrs *attrs) in arm_iommu_get_sgtable()
1505 size_t size, dma_addr_t *handle, in __map_sg_chunk()
1555 unsigned int size = s->offset + s->length; in __iommu_map_sg() local
1727 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_iommu_map_page()
1761 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_iommu_map_page()
1780 size_t size, enum dma_data_direction dir, in arm_coherent_iommu_unmap_page()
1805 size_t size, enum dma_data_direction dir, in arm_iommu_unmap_page()
1825 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_cpu()
1839 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_device()
1900 arm_iommu_create_mapping(struct bus_type *bus, dma_addr_t base, u64 size) in arm_iommu_create_mapping()
2075 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2113 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2130 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()