Home
last modified time | relevance | path

Searched refs:shared_mem (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_mem.h1259 qdf_shared_mem_t *shared_mem) in qdf_mem_shared_mem_free() argument
1261 if (!shared_mem) { in qdf_mem_shared_mem_free()
1267 if (shared_mem->vaddr) { in qdf_mem_shared_mem_free()
1270 &shared_mem->mem_info), in qdf_mem_shared_mem_free()
1271 shared_mem->vaddr, in qdf_mem_shared_mem_free()
1273 &shared_mem->mem_info), in qdf_mem_shared_mem_free()
1274 qdf_get_dma_mem_context(shared_mem, in qdf_mem_shared_mem_free()
1277 qdf_mem_free_sgtable(&shared_mem->sgtable); in qdf_mem_shared_mem_free()
1278 qdf_mem_free(shared_mem); in qdf_mem_shared_mem_free()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_mem.c2414 qdf_shared_mem_t *shared_mem; in qdf_mem_shared_mem_alloc() local
2418 shared_mem = qdf_mem_malloc(sizeof(*shared_mem)); in qdf_mem_shared_mem_alloc()
2419 if (!shared_mem) in qdf_mem_shared_mem_alloc()
2422 shared_mem->vaddr = qdf_mem_alloc_consistent(osdev, osdev->dev, in qdf_mem_shared_mem_alloc()
2424 &shared_mem->mem_info)); in qdf_mem_shared_mem_alloc()
2425 if (!shared_mem->vaddr) { in qdf_mem_shared_mem_alloc()
2427 qdf_mem_free(shared_mem); in qdf_mem_shared_mem_alloc()
2431 qdf_mem_set_dma_size(osdev, &shared_mem->mem_info, size); in qdf_mem_shared_mem_alloc()
2432 size = qdf_mem_get_dma_size(osdev, &shared_mem->mem_info); in qdf_mem_shared_mem_alloc()
2434 qdf_mem_zero(shared_mem->vaddr, size); in qdf_mem_shared_mem_alloc()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_ipa.c398 qdf_shared_mem_t *shared_mem, in dp_ipa_get_shared_mem_info() argument
406 shared_mem->vaddr = cpu_addr; in dp_ipa_get_shared_mem_info()
407 qdf_mem_set_dma_size(osdev, &shared_mem->mem_info, size); in dp_ipa_get_shared_mem_info()
408 *qdf_mem_get_dma_addr_ptr(osdev, &shared_mem->mem_info) = dma_addr; in dp_ipa_get_shared_mem_info()
411 qdf_mem_set_dma_pa(osdev, &shared_mem->mem_info, paddr); in dp_ipa_get_shared_mem_info()
413 ret = qdf_mem_dma_get_sgtable(osdev->dev, &shared_mem->sgtable, in dp_ipa_get_shared_mem_info()
414 shared_mem->vaddr, dma_addr, size); in dp_ipa_get_shared_mem_info()
420 qdf_dma_get_sgtable_dma_addr(&shared_mem->sgtable); in dp_ipa_get_shared_mem_info()