Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 21 of 21) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_mem.c1705 struct qdf_mem_multi_page_t *pages, in qdf_mem_multi_pages_alloc_debug() argument
1716 if (!pages->page_size) in qdf_mem_multi_pages_alloc_debug()
1717 pages->page_size = qdf_page_size; in qdf_mem_multi_pages_alloc_debug()
1719 pages->num_element_per_page = pages->page_size / element_size; in qdf_mem_multi_pages_alloc_debug()
1720 if (!pages->num_element_per_page) { in qdf_mem_multi_pages_alloc_debug()
1722 (int)pages->page_size, (int)element_size); in qdf_mem_multi_pages_alloc_debug()
1726 pages->num_pages = element_num / pages->num_element_per_page; in qdf_mem_multi_pages_alloc_debug()
1727 if (element_num % pages->num_element_per_page) in qdf_mem_multi_pages_alloc_debug()
1728 pages->num_pages++; in qdf_mem_multi_pages_alloc_debug()
1732 pages->cacheable_pages = qdf_mem_malloc_debug( in qdf_mem_multi_pages_alloc_debug()
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/src/
H A Dwlan_dp_prealloc.c103 struct qdf_mem_multi_page_t pages; member
501 if (mp->pages.num_pages) { in dp_prealloc_deinit()
504 mp->pages.cacheable_pages, in dp_prealloc_deinit()
505 mp->pages.dma_pages, in dp_prealloc_deinit()
506 mp->pages.num_pages); in dp_prealloc_deinit()
507 qdf_mem_multi_pages_free(qdf_ctx, &mp->pages, in dp_prealloc_deinit()
510 qdf_mem_zero(&mp->pages, sizeof(mp->pages)); in dp_prealloc_deinit()
867 mp->pages.page_size = DP_BLOCKMEM_SIZE; in dp_prealloc_init()
869 qdf_mem_multi_pages_alloc(qdf_ctx, &mp->pages, in dp_prealloc_init()
873 if (qdf_unlikely(!mp->pages.num_pages)) { in dp_prealloc_init()
[all …]
H A Dwlan_dp_wfds.c191 struct qdf_mem_multi_page_t *pages; in dp_wfds_req_mem_msg() local
236 pages = &dl_wfds->mem_arena_pages[i]; in dp_wfds_req_mem_msg()
244 pages->dma_pages[num_pages].page_p_addr; in dp_wfds_req_mem_msg()
247 qdf_mem_paddr_from_dmaaddr(qdf_dev, pages->dma_pages[num_pages].page_p_addr), in dp_wfds_req_mem_msg()
248 pages->dma_pages[num_pages].page_p_addr, in dp_wfds_req_mem_msg()
249 pages->page_size); in dp_wfds_req_mem_msg()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_mem.h226 struct qdf_mem_multi_page_t *pages,
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, \
268 struct qdf_mem_multi_page_t *pages,
283 #define qdf_mem_multi_pages_free(osdev, pages, memctxt, cacheable) \ argument
284 qdf_mem_multi_pages_free_debug(osdev, pages, memctxt, cacheable, \
417 struct qdf_mem_multi_page_t *pages,
422 struct qdf_mem_multi_page_t *pages,
467 void qdf_mem_multi_pages_zero(struct qdf_mem_multi_page_t *pages,
836 struct qdf_mem_multi_page_t *pages,
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/inc/
H A Dwlan_dp_prealloc.h115 struct qdf_mem_multi_page_t *pages,
126 struct qdf_mem_multi_page_t *pages);
/wlan-driver/qca-wifi-host-cmn/hif/src/
H A Dhif_main.h730 struct qdf_mem_multi_page_t *pages,
743 struct qdf_mem_multi_page_t *pages,
774 struct qdf_mem_multi_page_t *pages, in hif_prealloc_get_multi_pages() argument
777 qdf_mem_multi_pages_alloc(scn->qdf_dev, pages, in hif_prealloc_get_multi_pages()
783 struct qdf_mem_multi_page_t *pages, in hif_prealloc_put_multi_pages() argument
786 qdf_mem_multi_pages_free(scn->qdf_dev, pages, 0, in hif_prealloc_put_multi_pages()
H A Dhif_main.c2812 struct qdf_mem_multi_page_t *pages, in hif_prealloc_get_multi_pages() argument
2820 pages, cacheable); in hif_prealloc_get_multi_pages()
2822 if (!pages->num_pages) in hif_prealloc_get_multi_pages()
2823 qdf_mem_multi_pages_alloc(scn->qdf_dev, pages, in hif_prealloc_get_multi_pages()
2828 struct qdf_mem_multi_page_t *pages, in hif_prealloc_put_multi_pages() argument
2835 pages->is_mem_prealloc) in hif_prealloc_put_multi_pages()
2836 cbk->prealloc_put_multi_pages(desc_type, pages); in hif_prealloc_put_multi_pages()
2838 if (!pages->is_mem_prealloc) in hif_prealloc_put_multi_pages()
2839 qdf_mem_multi_pages_free(scn->qdf_dev, pages, 0, in hif_prealloc_put_multi_pages()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/
H A Ddp_rx_mon_dest_1.0.c1340 struct qdf_mem_multi_page_t *pages; in dp_mon_hw_link_desc_bank_free() local
1342 pages = dp_monitor_get_link_desc_pages(soc, mac_id); in dp_mon_hw_link_desc_bank_free()
1343 if (!pages) { in dp_mon_hw_link_desc_bank_free()
1349 if (pages->dma_pages) { in dp_mon_hw_link_desc_bank_free()
1351 pages->dma_pages->page_v_addr_start, in dp_mon_hw_link_desc_bank_free()
1352 pages->num_pages * pages->page_size, in dp_mon_hw_link_desc_bank_free()
1357 pages, 0, false); in dp_mon_hw_link_desc_bank_free()
1364 struct qdf_mem_multi_page_t *pages; in dp_mon_hw_link_desc_bank_alloc() local
1372 pages = dp_monitor_get_link_desc_pages(soc, mac_id); in dp_mon_hw_link_desc_bank_alloc()
1373 if (!pages) { in dp_mon_hw_link_desc_bank_alloc()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_rings_main.c1015 struct qdf_mem_multi_page_t *pages; in dp_hw_link_desc_pool_banks_free() local
1018 pages = dp_monitor_get_link_desc_pages(soc, mac_id); in dp_hw_link_desc_pool_banks_free()
1020 pages = &soc->link_desc_pages; in dp_hw_link_desc_pool_banks_free()
1023 if (!pages) { in dp_hw_link_desc_pool_banks_free()
1029 if (pages->dma_pages) { in dp_hw_link_desc_pool_banks_free()
1031 pages->dma_pages->page_v_addr_start, in dp_hw_link_desc_pool_banks_free()
1032 pages->num_pages * pages->page_size, in dp_hw_link_desc_pool_banks_free()
1037 pages, 0, false); in dp_hw_link_desc_pool_banks_free()
1058 struct qdf_mem_multi_page_t *pages; in dp_hw_link_desc_pool_banks_alloc() local
1068 pages = dp_monitor_get_link_desc_pages(soc, mac_id); in dp_hw_link_desc_pool_banks_alloc()
[all …]
H A Ddp_tx_desc.c387 struct qdf_mem_multi_page_t *pages; in dp_tx_ext_desc_pool_init_by_id() local
414 pages = &dp_tx_ext_desc_pool->desc_pages; in dp_tx_ext_desc_pool_init_by_id()
419 if (!(i % pages->num_element_per_page)) { in dp_tx_ext_desc_pool_init_by_id()
424 if (!pages->dma_pages->page_v_addr_start) { in dp_tx_ext_desc_pool_init_by_id()
H A Ddp_rx.h1367 struct qdf_mem_multi_page_t *pages; in dp_rx_cookie_2_link_desc_va() local
1370 pages = &soc->link_desc_pages; in dp_rx_cookie_2_link_desc_va()
1371 if (!pages) in dp_rx_cookie_2_link_desc_va()
1373 if (qdf_unlikely(page_id >= pages->num_pages)) in dp_rx_cookie_2_link_desc_va()
1375 link_desc_va = pages->dma_pages[page_id].page_v_addr_start + in dp_rx_cookie_2_link_desc_va()
1376 (buf_info->paddr - pages->dma_pages[page_id].page_p_addr); in dp_rx_cookie_2_link_desc_va()
H A Ddp_main.c1338 struct qdf_mem_multi_page_t *pages, in dp_desc_multi_pages_mem_alloc() argument
1349 pages->num_pages = 0; in dp_desc_multi_pages_mem_alloc()
1350 pages->is_mem_prealloc = 0; in dp_desc_multi_pages_mem_alloc()
1354 pages, in dp_desc_multi_pages_mem_alloc()
1356 if (pages->num_pages) in dp_desc_multi_pages_mem_alloc()
1360 qdf_mem_multi_pages_alloc(soc->osdev, pages, element_size, in dp_desc_multi_pages_mem_alloc()
1364 pages->is_mem_prealloc ? "pre-alloc" : "dynamic-alloc", in dp_desc_multi_pages_mem_alloc()
1370 struct qdf_mem_multi_page_t *pages, in dp_desc_multi_pages_mem_free() argument
1374 if (pages->is_mem_prealloc) { in dp_desc_multi_pages_mem_free()
1381 soc->cdp_soc.ol_ops->dp_put_multi_pages(desc_type, pages); in dp_desc_multi_pages_mem_free()
[all …]
H A Ddp_internal.h4492 void dp_set_max_page_size(struct qdf_mem_multi_page_t *pages, in dp_set_max_page_size() argument
4495 pages->page_size = qdf_page_size; in dp_set_max_page_size()
4500 void dp_set_max_page_size(struct qdf_mem_multi_page_t *pages, in dp_set_max_page_size() argument
4503 pages->page_size = max_alloc_size; in dp_set_max_page_size()
4741 struct qdf_mem_multi_page_t *pages,
4763 struct qdf_mem_multi_page_t *pages,
4785 struct qdf_mem_multi_page_t *pages, in dp_desc_multi_pages_mem_alloc() argument
4791 qdf_mem_multi_pages_alloc(soc->osdev, pages, element_size, in dp_desc_multi_pages_mem_alloc()
4798 struct qdf_mem_multi_page_t *pages, in dp_desc_multi_pages_mem_free() argument
4802 qdf_mem_multi_pages_free(soc->osdev, pages, in dp_desc_multi_pages_mem_free()
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_driver_ops.c153 struct qdf_mem_multi_page_t *pages, in hdd_dp_prealloc_get_multi_pages() argument
156 ucfg_dp_prealloc_get_multi_pages(desc_type, elem_size, elem_num, pages, in hdd_dp_prealloc_get_multi_pages()
169 struct qdf_mem_multi_page_t *pages) in hdd_dp_prealloc_put_multi_pages() argument
171 ucfg_dp_prealloc_put_multi_pages(desc_type, pages); in hdd_dp_prealloc_put_multi_pages()
193 struct qdf_mem_multi_page_t *pages, in hdd_dp_prealloc_get_multi_pages() argument
200 struct qdf_mem_multi_page_t *pages) in hdd_dp_prealloc_put_multi_pages() argument
/wlan-driver/wpa_supplicant_8/wpa_supplicant/
H A Dtodo.txt
H A DChangeLog
/wlan-driver/qcacld-3.0/components/dp/dispatcher/inc/
H A Dwlan_dp_ucfg_api.h1373 struct qdf_mem_multi_page_t *pages,
1385 struct qdf_mem_multi_page_t *pages);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/
H A Ddp_mon.h1480 struct qdf_mem_multi_page_t *pages; in dp_rx_cookie_2_mon_link_desc_va() local
1487 pages = &mon_soc->mon_link_desc_pages[mac_id]; in dp_rx_cookie_2_mon_link_desc_va()
1488 if (!pages) in dp_rx_cookie_2_mon_link_desc_va()
1491 if (qdf_unlikely(page_id >= pages->num_pages)) in dp_rx_cookie_2_mon_link_desc_va()
1494 link_desc_va = pages->dma_pages[page_id].page_v_addr_start + in dp_rx_cookie_2_mon_link_desc_va()
1495 (buf_info->paddr - pages->dma_pages[page_id].page_p_addr); in dp_rx_cookie_2_mon_link_desc_va()
/wlan-driver/qcacld-3.0/components/dp/dispatcher/src/
H A Dwlan_dp_ucfg_api.c2696 struct qdf_mem_multi_page_t *pages, in ucfg_dp_prealloc_get_multi_pages() argument
2699 dp_prealloc_get_multi_pages(desc_type, elem_size, elem_num, pages, in ucfg_dp_prealloc_get_multi_pages()
2704 struct qdf_mem_multi_page_t *pages) in ucfg_dp_prealloc_put_multi_pages() argument
2706 dp_prealloc_put_multi_pages(desc_type, pages); in ucfg_dp_prealloc_put_multi_pages()
/wlan-driver/qca-wifi-host-cmn/hif/inc/
H A Dhif.h926 struct qdf_mem_multi_page_t *pages,
929 struct qdf_mem_multi_page_t *pages);
/wlan-driver/qca-wifi-host-cmn/dp/inc/
H A Dcdp_txrx_ops.h1689 struct qdf_mem_multi_page_t *pages,
1692 struct qdf_mem_multi_page_t *pages);