Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 25 of 64) sorted by relevance

123

/wlan-driver/fw-api/fw/
Dtargaddrs.h641 #define AR6002_VTOP(vaddr) ((vaddr) & 0x001fffff) argument
642 #define AR6003_VTOP(vaddr) ((vaddr) & 0x001fffff) argument
643 #define AR6004_VTOP(vaddr) (vaddr) argument
644 #define AR6006_VTOP(vaddr) (vaddr) argument
645 #define AR9888_VTOP(vaddr) (vaddr) argument
646 #define AR6320_VTOP(vaddr) (vaddr) argument
647 #define AR900B_VTOP(vaddr) (vaddr) argument
648 #define TARG_VTOP(TargetType, vaddr) \ argument
649 (((TargetType) == TARGET_TYPE_AR6002) ? AR6002_VTOP(vaddr) : \
650 (((TargetType) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \
[all …]
Da_osapi.h59 #define HIF_FREE_DIAGMEM(osdev, size, vaddr, pa, context) \ argument
60 OS_FREE_CONSISTENT(osdev, size, vaddr, pa, context)
65 #define HIF_FREE_DIAGMEM(osdev, size, vaddr, pa, context) \ argument
66 OS_FREE_NONCONSISTENT(osdev, size, vaddr, pa, context)
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_mem.c2422 shared_mem->vaddr = qdf_mem_alloc_consistent(osdev, osdev->dev, in qdf_mem_shared_mem_alloc()
2425 if (!shared_mem->vaddr) { in qdf_mem_shared_mem_alloc()
2434 qdf_mem_zero(shared_mem->vaddr, size); in qdf_mem_shared_mem_alloc()
2440 shared_mem->vaddr, dma_addr, size); in qdf_mem_shared_mem_alloc()
2445 shared_mem->vaddr, in qdf_mem_shared_mem_alloc()
2538 void *vaddr; in qdf_mem_dma_alloc() local
2540 vaddr = qdf_mem_malloc(size); in qdf_mem_dma_alloc()
2541 *phy_addr = ((uintptr_t) vaddr); in qdf_mem_dma_alloc()
2545 BUILD_BUG_ON(sizeof(*phy_addr) < sizeof(vaddr)); in qdf_mem_dma_alloc()
2546 return vaddr; in qdf_mem_dma_alloc()
[all …]
Di_qdf_nbuf_frag.h149 static inline void __qdf_frag_free(__qdf_frag_t vaddr) in __qdf_frag_free() argument
151 if (qdf_likely(vaddr)) { in __qdf_frag_free()
152 skb_free_frag(vaddr); in __qdf_frag_free()
Di_qdf_mem.h767 #define __qdf_mem_virt_to_phys(vaddr) virt_to_phys(vaddr) argument
810 qdf_size_t size, void *vaddr,
Dqdf_nbuf_frag.c766 void qdf_frag_free_debug(qdf_frag_t vaddr, const char *func_name, in qdf_frag_free_debug() argument
769 if (qdf_unlikely(!vaddr)) in qdf_frag_free_debug()
775 qdf_frag_debug_delete_node(vaddr, func_name, line_num); in qdf_frag_free_debug()
777 __qdf_frag_free(vaddr); in qdf_frag_free_debug()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_mem.h347 #define qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx) \ argument
348 qdf_mem_free_consistent_debug(osdev, dev, size, vaddr, paddr, memctx, \
351 qdf_size_t size, void *vaddr,
413 #define qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx) \ argument
414 __qdf_mem_free_consistent(osdev, dev, size, vaddr, paddr, memctx)
530 #define qdf_mem_virt_to_phys(vaddr) __qdf_mem_virt_to_phys(vaddr) argument
1267 if (shared_mem->vaddr) { in qdf_mem_shared_mem_free()
1271 shared_mem->vaddr, in qdf_mem_shared_mem_free()
Dqdf_nbuf_frag.h149 void qdf_frag_free_debug(qdf_frag_t vaddr, const char *func_name,
212 static inline void qdf_frag_free(qdf_frag_t vaddr) in qdf_frag_free() argument
214 __qdf_frag_free(vaddr); in qdf_frag_free()
Dqdf_types.h73 uint8_t *vaddr; member
256 void *vaddr; member
1361 unsigned char *vaddr; member
/wlan-driver/qca-wifi-host-cmn/target_if/cfr/src/
Dtarget_if_cfr_adrastea.c112 cfr_pdev->cfr_mem_chunk.vaddr = in cfr_adrastea_init_pdev()
113 info->mem_chunks[idx].vaddr; in cfr_adrastea_init_pdev()
121 read_index = (u32 *)info->mem_chunks[idx].vaddr; in cfr_adrastea_init_pdev()
/wlan-driver/qca-wifi-host-cmn/target_if/init_deinit/src/
Dinit_cmd_api.c88 info->mem_chunks[idx].vaddr = NULL; in init_deinit_alloc_host_mem_chunk()
90 while (!info->mem_chunks[idx].vaddr && num_units) { in init_deinit_alloc_host_mem_chunk()
91 info->mem_chunks[idx].vaddr = qdf_mem_alloc_consistent(qdf_dev, in init_deinit_alloc_host_mem_chunk()
93 if (!info->mem_chunks[idx].vaddr) { in init_deinit_alloc_host_mem_chunk()
216 info->mem_chunks[idx].vaddr, in init_deinit_free_num_units()
221 info->mem_chunks[idx].vaddr = NULL; in init_deinit_free_num_units()
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dlinux_ac.c113 unsigned long vaddr; in pktlog_alloc_buf() local
147 for (vaddr = (unsigned long)(buffer); in pktlog_alloc_buf()
148 vaddr < ((unsigned long)(buffer) + (page_cnt * PAGE_SIZE)); in pktlog_alloc_buf()
149 vaddr += PAGE_SIZE) { in pktlog_alloc_buf()
150 vpg = vmalloc_to_page((const void *)vaddr); in pktlog_alloc_buf()
166 unsigned long vaddr; in pktlog_release_buf() local
188 for (vaddr = (unsigned long)(pl_info->buf); in pktlog_release_buf()
189 vaddr < (unsigned long)(pl_info->buf) + (page_cnt * PAGE_SIZE); in pktlog_release_buf()
190 vaddr += PAGE_SIZE) { in pktlog_release_buf()
191 vpg = vmalloc_to_page((const void *)vaddr); in pktlog_release_buf()
/wlan-driver/qca-wifi-host-cmn/target_if/wifi_pos/inc/
Dtarget_if_wifi_pos.h68 void *vaddr, uint32_t cookie);
82 void *vaddr, uint32_t cookie) in target_if_wifi_pos_replenish_ring() argument
/wlan-driver/qca-wifi-host-cmn/target_if/wifi_pos/src/
Dtarget_if_wifi_pos.c43 return priv->dma_buf_pool[ring_num][cookie].vaddr + in target_if_wifi_pos_vaddr_lookup()
125 rsp->vaddr = target_if_wifi_pos_vaddr_lookup(priv_obj, in target_if_wifi_pos_get_indirect_data()
209 priv->dma_buf_pool[ring_idx][i].vaddr = buf; in target_if_wifi_pos_fill_ring()
228 (qdf_dma_addr_t)priv->dma_buf_pool[ring_idx][i].vaddr, in target_if_wifi_pos_empty_ring()
231 qdf_mem_free(priv->dma_buf_pool[ring_idx][i].vaddr); in target_if_wifi_pos_empty_ring()
/wlan-driver/qcacld-3.0/core/dp/htt/
Dhtt_rx_ll.c152 (*pdev->rx_ring.alloc_idx.vaddr - in htt_rx_ring_elems()
397 idx = *pdev->rx_ring.alloc_idx.vaddr; in htt_rx_ring_fill_n()
522 *pdev->rx_ring.alloc_idx.vaddr = idx; in htt_rx_ring_fill_n()
2145 pdev->rx_ring.target_idx.vaddr = in htt_rx_attach()
2149 if (!pdev->rx_ring.target_idx.vaddr) in htt_rx_attach()
2153 *pdev->rx_ring.target_idx.vaddr = 0; in htt_rx_attach()
2173 pdev->rx_ring.alloc_idx.vaddr = in htt_rx_attach()
2178 if (!pdev->rx_ring.alloc_idx.vaddr) in htt_rx_attach()
2182 *pdev->rx_ring.alloc_idx.vaddr = 0; in htt_rx_attach()
2266 pdev->rx_ring.target_idx.vaddr, in htt_rx_attach()
[all …]
Dhtt_tx.c1144 ring_vaddr = (target_paddr_t *)pdev->ipa_uc_tx_rsc.tx_comp_ring->vaddr; in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1152 if (!shared_tx_buffer || !shared_tx_buffer->vaddr) { in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1158 header_ptr = shared_tx_buffer->vaddr; in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1246 ring_vaddr = pdev->ipa_uc_tx_rsc.tx_comp_ring->vaddr; in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1253 if (!shared_tx_buffer || !shared_tx_buffer->vaddr) { in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1260 qdf_mem_zero(shared_tx_buffer->vaddr, uc_tx_buf_sz); in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1261 header_ptr = (uint32_t *)shared_tx_buffer->vaddr; in htt_tx_ipa_uc_wdi_tx_buf_alloc()
1368 !pdev->ipa_uc_tx_rsc.tx_comp_ring->vaddr) { in htt_tx_ipa_uc_attach()
Dhtt_types.h304 uint32_t *vaddr; member
320 uint32_t *vaddr; member
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_txrx_ipa.h100 ipa_res->rx_proc_done_idx->vaddr; \
110 ipa_res->rx2_proc_done_idx->vaddr; \
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/inc/
Dwifi_pos_utils_i.h122 void *vaddr; member
186 void *vaddr; member
/wlan-driver/qca-wifi-host-cmn/target_if/direct_buf_rx/src/
Dtarget_if_direct_buf_rx_main.c1415 dbr_buf_pool[idx].vaddr = buf_vaddr_unaligned; in target_if_dbr_fill_ring()
1831 return dbr_buf_pool[cookie].vaddr + in target_if_dbr_vaddr_lookup()
1885 void *vaddr; in target_if_dbr_buf_release() local
1900 vaddr = target_if_dbr_vaddr_lookup(mod_param, paddr, cookie); in target_if_dbr_buf_release()
1901 if (!vaddr) in target_if_dbr_buf_release()
1905 vaddr, cookie); in target_if_dbr_buf_release()
1947 dbr_data->vaddr = target_if_dbr_vaddr_lookup(mod_param, paddr, *cookie); in target_if_get_dbr_data()
1949 if (!dbr_data->vaddr) { in target_if_get_dbr_data()
1959 dbr_data->cookie, dbr_data->vaddr); in target_if_get_dbr_data()
2257 dbr_data.vaddr, in target_if_direct_buf_rx_rsp_event_handler()
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/inc/
Dwlan_dp_prealloc.h67 QDF_STATUS dp_prealloc_put_context_memory(uint32_t ctxt_type, void *vaddr);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_rx_desc.c422 qdf_frag_t vaddr; in dp_rx_desc_frag_free() local
429 vaddr = rx_desc_pool->array[i].rx_desc.rx_buf_start; in dp_rx_desc_frag_free()
438 qdf_frag_free(vaddr); in dp_rx_desc_frag_free()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_main.h712 void *vaddr,
762 void *vaddr, in hif_mem_free_consistent_unaligned() argument
768 size, vaddr, paddr, memctx); in hif_mem_free_consistent_unaligned()
Dhif_main.c2760 void *vaddr = NULL; in hif_mem_alloc_consistent_unaligned() local
2766 vaddr = cbk->prealloc_get_consistent_mem_unaligned(size, in hif_mem_alloc_consistent_unaligned()
2769 if (vaddr) { in hif_mem_alloc_consistent_unaligned()
2775 vaddr = qdf_mem_alloc_consistent(scn->qdf_dev, in hif_mem_alloc_consistent_unaligned()
2781 *is_mem_prealloc ? "pre-alloc" : "dynamic-alloc", vaddr, in hif_mem_alloc_consistent_unaligned()
2784 return vaddr; in hif_mem_alloc_consistent_unaligned()
2789 void *vaddr, in hif_mem_free_consistent_unaligned() argument
2799 cbk->prealloc_put_consistent_mem_unaligned(vaddr); in hif_mem_free_consistent_unaligned()
2806 size, vaddr, paddr, memctx); in hif_mem_free_consistent_unaligned()
/wlan-driver/qca-wifi-host-cmn/umac/cfr/dispatcher/src/
Dwlan_cfr_ucfg_api.c390 void *vaddr, *payload; in ucfg_cfr_capture_data() local
434 vaddr = pcfr->cfr_mem_chunk.vaddr; in ucfg_cfr_capture_data()
435 rindex = (u32 *)vaddr; in ucfg_cfr_capture_data()
442 payload = vaddr + mem_index; in ucfg_cfr_capture_data()

123