/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_desc.c | 83 uint32_t id, page_id, offset, num_desc_per_page; in dp_rx_desc_pool_init_generic() local 91 page_id = count / num_desc_per_page; in dp_rx_desc_pool_init_generic() 102 (page_id << DP_RX_DESC_PAGE_ID_SHIFT) | in dp_rx_desc_pool_init_generic() 137 union dp_rx_desc_list_elem_t *dp_rx_desc_find(uint16_t page_id, uint16_t offset, in dp_rx_desc_find() argument 140 return rx_desc_pool->desc_pages.cacheable_pages[page_id] + in dp_rx_desc_find() 149 uint32_t i, num_desc, page_id, offset, num_desc_per_page; in dp_rx_desc_nbuf_collect() local 160 page_id = i / num_desc_per_page; in dp_rx_desc_nbuf_collect() 162 rx_desc_elem = dp_rx_desc_find(page_id, offset, rx_desc_pool); in dp_rx_desc_nbuf_collect()
|
D | dp_rx.h | 565 union dp_rx_desc_list_elem_t *dp_rx_desc_find(uint16_t page_id, uint16_t offset, 574 uint16_t page_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_PAGE_ID(cookie); in dp_get_rx_desc_from_cookie() local 584 (rx_desc_pool->desc_pages.cacheable_pages[page_id] + in dp_get_rx_desc_from_cookie() 596 uint16_t page_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_PAGE_ID(cookie); in dp_get_rx_mon_status_desc_from_cookie() local 606 (rx_desc_pool->desc_pages.cacheable_pages[page_id] + in dp_get_rx_mon_status_desc_from_cookie() 785 uint16_t page_id = DP_RX_DESC_MULTI_PAGE_COOKIE_GET_PAGE_ID(cookie); in dp_rx_is_sw_cookie_valid() local 794 if (page_id >= rx_desc_pool->desc_pages.num_pages || in dp_rx_is_sw_cookie_valid() 1368 uint16_t page_id = LINK_DESC_COOKIE_PAGE_ID(buf_info->sw_cookie); in dp_rx_cookie_2_link_desc_va() local 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() [all …]
|
D | dp_tx_desc.h | 1204 uint16_t page_id, offset; in dp_tx_is_desc_id_valid() local 1231 page_id = (tx_desc_id & DP_TX_DESC_ID_PAGE_MASK) >> in dp_tx_is_desc_id_valid() 1234 if (page_id >= pool->desc_pages.num_pages) { in dp_tx_is_desc_id_valid() 1239 page_id, in dp_tx_is_desc_id_valid() 1316 uint8_t pool_id, uint16_t page_id, in dp_tx_desc_find() argument 1324 return tx_desc_pool->desc_pages.cacheable_pages[page_id] + in dp_tx_desc_find()
|
D | dp_tx.c | 7153 uint32_t num_desc, page_id, offset; local 7186 page_id = j / num_desc_per_page; 7193 tx_desc = dp_tx_desc_find(soc, i, page_id, offset, 7245 uint32_t num_desc_t, page_id, offset; local 7269 page_id = j / num_desc_per_page; 7271 tx_desc = dp_tx_desc_find(soc, i, page_id, offset,
|
D | dp_ipa.c | 271 uint32_t num_desc, page_id, offset, i; in dp_ipa_handle_rx_buf_pool_smmu_mapping() local 293 page_id = i / num_desc_per_page; in dp_ipa_handle_rx_buf_pool_smmu_mapping() 297 rx_desc_elem = dp_rx_desc_find(page_id, offset, rx_pool); in dp_ipa_handle_rx_buf_pool_smmu_mapping()
|
D | dp_main.c | 12780 uint32_t num_desc, page_id, offset; in dp_find_missing_tx_comp() local 12799 page_id = j / num_desc_per_page; in dp_find_missing_tx_comp() 12806 tx_desc = dp_tx_desc_find(soc, i, page_id, offset, in dp_find_missing_tx_comp()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh_tx.c | 541 uint32_t page_id; in dp_tx_alloc_tcl_desc_rh() local 550 page_id = index / tcl_desc_pool->desc_pages.num_element_per_page; in dp_tx_alloc_tcl_desc_rh() 552 dma_page = &tcl_desc_pool->desc_pages.dma_pages[page_id]; in dp_tx_alloc_tcl_desc_rh() 564 uint32_t id, count, page_id, offset, pool_id_32; in dp_tx_desc_pool_init_rh() local 602 page_id = count / num_desc_per_page; in dp_tx_desc_pool_init_rh() 605 (page_id << DP_TX_DESC_ID_PAGE_OS) | offset); in dp_tx_desc_pool_init_rh()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
D | dp_li_tx.c | 599 uint32_t id, count, page_id, offset, pool_id_32; in dp_tx_desc_pool_init_li() local 613 page_id = count / num_desc_per_page; in dp_tx_desc_pool_init_li() 617 (page_id << DP_TX_DESC_ID_PAGE_OS) | offset); in dp_tx_desc_pool_init_li()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/ |
D | dp_mon.h | 1481 uint16_t page_id = LINK_DESC_COOKIE_PAGE_ID(buf_info->sw_cookie); in dp_rx_cookie_2_mon_link_desc_va() local 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()
|