Lines Matching defs:size

46 	size_t size;  member
56 size_t size; member
129 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
138 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
159 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_dma_unmap_page()
167 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
175 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
265 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer()
299 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, in __dma_alloc_buffer()
324 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
411 unsigned long size; member
418 void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) in dma_contiguous_early_fixup()
473 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
482 static void *__alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_remap_buffer()
509 static void *__alloc_from_pool(size_t size, struct page **ret_page) in __alloc_from_pool()
530 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool()
535 static int __free_from_pool(void *start, size_t size) in __free_from_pool()
545 static void *__alloc_from_contiguous(struct device *dev, size_t size, in __alloc_from_contiguous()
581 void *cpu_addr, size_t size, bool want_vaddr) in __free_from_contiguous()
600 static void *__alloc_simple_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_simple_buffer()
687 static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in __dma_alloc()
771 void *arm_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, in arm_dma_alloc()
780 static void *arm_coherent_dma_alloc(struct device *dev, size_t size, in arm_coherent_dma_alloc()
788 void *cpu_addr, dma_addr_t dma_addr, size_t size, in __arm_dma_mmap()
814 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_coherent_dma_mmap()
821 void *cpu_addr, dma_addr_t dma_addr, size_t size, in arm_dma_mmap()
831 static void __arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in __arm_dma_free()
853 void arm_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_dma_free()
859 static void arm_coherent_dma_free(struct device *dev, size_t size, void *cpu_addr, in arm_coherent_dma_free()
866 void *cpu_addr, dma_addr_t handle, size_t size, in arm_dma_get_sgtable()
888 size_t size, enum dma_data_direction dir, in dma_cache_maint_page() argument
941 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
957 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
1141 size_t size) in __alloc_iova()
1199 dma_addr_t addr, size_t size) in __free_iova()
1236 static struct page **__iommu_alloc_buffer(struct device *dev, size_t size, in __iommu_alloc_buffer()
1328 size_t size, unsigned long attrs) in __iommu_free_buffer()
1349 __iommu_create_mapping(struct device *dev, struct page **pages, size_t size, in __iommu_create_mapping()
1388 static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size) in __iommu_remove_mapping()
1426 static void *__iommu_alloc_simple(struct device *dev, size_t size, gfp_t gfp, in __iommu_alloc_simple()
1452 dma_addr_t handle, size_t size, int coherent_flag) in __iommu_free_atomic()
1461 static void *__arm_iommu_alloc_attrs(struct device *dev, size_t size, in __arm_iommu_alloc_attrs()
1510 static void *arm_iommu_alloc_attrs(struct device *dev, size_t size, in arm_iommu_alloc_attrs()
1516 static void *arm_coherent_iommu_alloc_attrs(struct device *dev, size_t size, in arm_coherent_iommu_alloc_attrs()
1523 void *cpu_addr, dma_addr_t dma_addr, size_t size, in __arm_iommu_mmap_attrs()
1544 dma_addr_t dma_addr, size_t size, unsigned long attrs) in arm_iommu_mmap_attrs()
1553 dma_addr_t dma_addr, size_t size, unsigned long attrs) in arm_coherent_iommu_mmap_attrs()
1562 void __arm_iommu_free_attrs(struct device *dev, size_t size, void *cpu_addr, in __arm_iommu_free_attrs()
1586 void arm_iommu_free_attrs(struct device *dev, size_t size, in arm_iommu_free_attrs()
1592 void arm_coherent_iommu_free_attrs(struct device *dev, size_t size, in arm_coherent_iommu_free_attrs()
1600 size_t size, unsigned long attrs) in arm_iommu_get_sgtable()
1616 size_t size, dma_addr_t *handle, in __map_sg_chunk()
1665 unsigned int size = s->offset + s->length; in __iommu_map_sg() local
1838 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_iommu_map_page()
1872 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_iommu_map_page()
1891 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_coherent_iommu_unmap_page()
1915 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_iommu_unmap_page()
1941 phys_addr_t phys_addr, size_t size, in arm_iommu_map_resource()
1975 size_t size, enum dma_data_direction dir, in arm_iommu_unmap_resource()
1991 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_cpu()
2005 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_iommu_sync_single_for_device()
2072 arm_iommu_create_mapping(struct bus_type *bus, dma_addr_t base, u64 size) in arm_iommu_create_mapping()
2242 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2280 static bool arm_setup_iommu_dma_ops(struct device *dev, u64 dma_base, u64 size, in arm_setup_iommu_dma_ops()
2292 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
2336 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
2343 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_cpu()
2355 void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle, in arch_dma_alloc()
2363 void arch_dma_free(struct device *dev, size_t size, void *cpu_addr, in arch_dma_free()