Lines Matching refs:osdev

225 void qdf_mem_multi_pages_alloc_debug(qdf_device_t osdev,
248 #define qdf_mem_multi_pages_alloc(osdev, pages, element_size, element_num,\ argument
250 qdf_mem_multi_pages_alloc_debug(osdev, pages, element_size, \
267 void qdf_mem_multi_pages_free_debug(qdf_device_t osdev,
283 #define qdf_mem_multi_pages_free(osdev, pages, memctxt, cacheable) \ argument
284 qdf_mem_multi_pages_free_debug(osdev, pages, memctxt, cacheable, \
328 #define qdf_mem_alloc_consistent(osdev, dev, size, paddr) \ argument
329 qdf_mem_alloc_consistent_debug(osdev, dev, size, paddr, \
331 void *qdf_mem_alloc_consistent_debug(qdf_device_t osdev, void *dev,
347 #define qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx) \ argument
348 qdf_mem_free_consistent_debug(osdev, dev, size, vaddr, paddr, memctx, \
350 void qdf_mem_free_consistent_debug(qdf_device_t osdev, void *dev,
410 #define qdf_mem_alloc_consistent(osdev, dev, size, paddr) \ argument
411 __qdf_mem_alloc_consistent(osdev, dev, size, paddr, __func__, __LINE__)
413 #define qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx) \ argument
414 __qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx)
416 void qdf_mem_multi_pages_alloc(qdf_device_t osdev,
421 void qdf_mem_multi_pages_free(qdf_device_t osdev,
510 #define qdf_aligned_mem_alloc_consistent(osdev, size, vaddr_unaligned, \ argument
513 qdf_aligned_mem_alloc_consistent_fl(osdev, size, vaddr_unaligned, \
517 void *qdf_aligned_mem_alloc_consistent_fl(qdf_device_t osdev, uint32_t *size,
649 static inline uint32_t qdf_mem_map_nbytes_single(qdf_device_t osdev, void *buf, in qdf_mem_map_nbytes_single() argument
654 return __qdf_mem_map_nbytes_single(osdev, buf, dir, nbytes, phy_addr); in qdf_mem_map_nbytes_single()
660 static inline void qdf_mem_dma_cache_sync(qdf_device_t osdev, in qdf_mem_dma_cache_sync() argument
665 __qdf_mem_dma_cache_sync(osdev, buf, dir, nbytes); in qdf_mem_dma_cache_sync()
677 static inline void qdf_mem_unmap_nbytes_single(qdf_device_t osdev, in qdf_mem_unmap_nbytes_single() argument
683 __qdf_mem_unmap_nbytes_single(osdev, phy_addr, dir, nbytes); in qdf_mem_unmap_nbytes_single()
696 static inline int qdf_mempool_init(qdf_device_t osdev, in qdf_mempool_init() argument
700 return __qdf_mempool_init(osdev, pool_addr, elem_cnt, elem_size, in qdf_mempool_init()
711 static inline void qdf_mempool_destroy(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_destroy() argument
713 __qdf_mempool_destroy(osdev, pool); in qdf_mempool_destroy()
723 static inline void *qdf_mempool_alloc(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_alloc() argument
725 return (void *)__qdf_mempool_alloc(osdev, pool); in qdf_mempool_alloc()
736 static inline void qdf_mempool_free(qdf_device_t osdev, qdf_mempool_t pool, in qdf_mempool_free() argument
739 __qdf_mempool_free(osdev, pool, buf); in qdf_mempool_free()
802 void qdf_mem_dma_sync_single_for_device(qdf_device_t osdev,
818 void qdf_mem_dma_sync_single_for_cpu(qdf_device_t osdev,
835 int qdf_mem_multi_page_link(qdf_device_t osdev,
1030 void qdf_update_mem_map_table(qdf_device_t osdev,
1047 qdf_dma_addr_t qdf_mem_paddr_from_dmaaddr(qdf_device_t osdev,
1051 void qdf_update_mem_map_table(qdf_device_t osdev, in qdf_update_mem_map_table() argument
1061 __qdf_update_mem_map_table(osdev, mem_info, dma_addr, mem_size); in qdf_update_mem_map_table()
1065 qdf_dma_addr_t qdf_mem_paddr_from_dmaaddr(qdf_device_t osdev, in qdf_mem_paddr_from_dmaaddr() argument
1068 return __qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in qdf_mem_paddr_from_dmaaddr()
1078 static inline bool qdf_mem_smmu_s1_enabled(qdf_device_t osdev) in qdf_mem_smmu_s1_enabled() argument
1080 return __qdf_mem_smmu_s1_enabled(osdev); in qdf_mem_smmu_s1_enabled()
1135 static inline qdf_dma_addr_t qdf_mem_get_dma_addr(qdf_device_t osdev, in qdf_mem_get_dma_addr() argument
1138 return __qdf_mem_get_dma_addr(osdev, mem_info); in qdf_mem_get_dma_addr()
1151 static inline qdf_dma_addr_t *qdf_mem_get_dma_addr_ptr(qdf_device_t osdev, in qdf_mem_get_dma_addr_ptr() argument
1154 return __qdf_mem_get_dma_addr_ptr(osdev, mem_info); in qdf_mem_get_dma_addr_ptr()
1166 qdf_mem_get_dma_size(qdf_device_t osdev, in qdf_mem_get_dma_size() argument
1169 return __qdf_mem_get_dma_size(osdev, mem_info); in qdf_mem_get_dma_size()
1181 qdf_mem_set_dma_size(qdf_device_t osdev, in qdf_mem_set_dma_size() argument
1185 __qdf_mem_set_dma_size(osdev, mem_info, mem_size); in qdf_mem_set_dma_size()
1196 qdf_mem_get_dma_pa(qdf_device_t osdev, in qdf_mem_get_dma_pa() argument
1199 return __qdf_mem_get_dma_pa(osdev, mem_info); in qdf_mem_get_dma_pa()
1211 qdf_mem_set_dma_pa(qdf_device_t osdev, in qdf_mem_set_dma_pa() argument
1215 __qdf_mem_set_dma_pa(osdev, mem_info, dma_pa); in qdf_mem_set_dma_pa()
1228 qdf_shared_mem_t *qdf_mem_shared_mem_alloc(qdf_device_t osdev, uint32_t size);
1258 static inline void qdf_mem_shared_mem_free(qdf_device_t osdev, in qdf_mem_shared_mem_free() argument
1268 qdf_mem_free_consistent(osdev, osdev->dev, in qdf_mem_shared_mem_free()
1269 qdf_mem_get_dma_size(osdev, in qdf_mem_shared_mem_free()
1272 qdf_mem_get_dma_addr(osdev, in qdf_mem_shared_mem_free()