Home
last modified time | relevance | path

Searched refs:tx_desc_pool (Results 1 – 15 of 15) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_tx_desc.c52 dp_tx_desc_pool_counter_initialize(struct dp_tx_desc_pool_s *tx_desc_pool, in dp_tx_desc_pool_counter_initialize() argument
58 dp_tx_desc_pool_counter_initialize(struct dp_tx_desc_pool_s *tx_desc_pool, in dp_tx_desc_pool_counter_initialize() argument
61 tx_desc_pool->elem_count = num_elem; in dp_tx_desc_pool_counter_initialize()
62 tx_desc_pool->num_free = num_elem; in dp_tx_desc_pool_counter_initialize()
63 tx_desc_pool->num_allocated = 0; in dp_tx_desc_pool_counter_initialize()
102 struct dp_tx_desc_pool_s *tx_desc_pool = NULL; in dp_tx_desc_pool_cleanup() local
109 tx_desc_pool = dp_get_tx_desc_pool(soc, i); in dp_tx_desc_pool_cleanup()
111 TX_DESC_LOCK_LOCK(&tx_desc_pool->lock); in dp_tx_desc_pool_cleanup()
112 if (tx_desc_pool) in dp_tx_desc_pool_cleanup()
114 &tx_desc_pool->desc_pages, in dp_tx_desc_pool_cleanup()
[all …]
H A Ddp_tx_flow_control.c678 struct dp_tx_desc_pool_s *tx_desc_pool; in dp_tx_desc_pool_dealloc() local
682 tx_desc_pool = &((soc)->tx_desc[i]); in dp_tx_desc_pool_dealloc()
683 if (!tx_desc_pool->desc_pages.num_pages) in dp_tx_desc_pool_dealloc()
H A Ddp_tx_desc.h1319 struct dp_tx_desc_pool_s *tx_desc_pool = NULL; in dp_tx_desc_find() local
1321 tx_desc_pool = spcl_pool ? dp_get_spcl_tx_desc_pool(soc, pool_id) : in dp_tx_desc_find()
1324 return tx_desc_pool->desc_pages.cacheable_pages[page_id] + in dp_tx_desc_find()
1325 tx_desc_pool->elem_size * offset; in dp_tx_desc_find()
H A Ddp_tx.c7157 struct dp_tx_desc_pool_s *tx_desc_pool = NULL; local
7165 tx_desc_pool = &soc->tx_desc[i];
7166 if (!(tx_desc_pool->pool_size) ||
7167 IS_TX_DESC_POOL_STATUS_INACTIVE(tx_desc_pool) ||
7168 !(tx_desc_pool->desc_pages.cacheable_pages))
7181 qdf_spin_lock_bh(&tx_desc_pool->flow_pool_lock);
7182 num_desc = tx_desc_pool->pool_size;
7184 tx_desc_pool->desc_pages.num_element_per_page;
7189 if (qdf_unlikely(!(tx_desc_pool->
7213 qdf_spin_unlock_bh(&tx_desc_pool->flow_pool_lock);
[all …]
H A Ddp_main.c12783 struct dp_tx_desc_pool_s *tx_desc_pool = NULL; in dp_find_missing_tx_comp() local
12789 tx_desc_pool = &soc->tx_desc[i]; in dp_find_missing_tx_comp()
12790 if (!(tx_desc_pool->pool_size) || in dp_find_missing_tx_comp()
12791 IS_TX_DESC_POOL_STATUS_INACTIVE(tx_desc_pool) || in dp_find_missing_tx_comp()
12792 !(tx_desc_pool->desc_pages.cacheable_pages)) in dp_find_missing_tx_comp()
12795 num_desc = tx_desc_pool->pool_size; in dp_find_missing_tx_comp()
12797 tx_desc_pool->desc_pages.num_element_per_page; in dp_find_missing_tx_comp()
12802 if (qdf_unlikely(!(tx_desc_pool-> in dp_find_missing_tx_comp()
H A Ddp_stats.c6240 struct dp_tx_desc_pool_s *tx_desc_pool; in dp_print_soc_tx_stats() local
6249 tx_desc_pool = dp_get_tx_desc_pool(soc, desc_pool_id); in dp_print_soc_tx_stats()
6251 tx_desc_pool->num_allocated; in dp_print_soc_tx_stats()
6252 tx_desc_pool = dp_get_spcl_tx_desc_pool(soc, desc_pool_id); in dp_print_soc_tx_stats()
6254 tx_desc_pool->num_allocated; in dp_print_soc_tx_stats()
H A Ddp_types.h2381 struct dp_tx_desc_pool_s *tx_desc_pool,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
H A Ddp_li_tx.c601 struct dp_tx_desc_pool_s *tx_desc_pool; in dp_tx_desc_pool_init_li() local
605 tx_desc_pool = dp_get_spcl_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_li()
607 tx_desc_pool = dp_get_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_li()
608 tx_desc = tx_desc_pool->freelist; in dp_tx_desc_pool_init_li()
611 num_desc_per_page = tx_desc_pool->desc_pages.num_element_per_page; in dp_tx_desc_pool_init_li()
631 struct dp_tx_desc_pool_s *tx_desc_pool, in dp_tx_desc_pool_deinit_li() argument
H A Ddp_li_tx.h97 struct dp_tx_desc_pool_s *tx_desc_pool,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
H A Ddp_rh_tx.c567 struct dp_tx_desc_pool_s *tx_desc_pool; in dp_tx_desc_pool_init_rh() local
595 tx_desc_pool = &soc->tx_desc[pool_id]; in dp_tx_desc_pool_init_rh()
597 tx_desc = tx_desc_pool->freelist; in dp_tx_desc_pool_init_rh()
600 num_desc_per_page = tx_desc_pool->desc_pages.num_element_per_page; in dp_tx_desc_pool_init_rh()
630 struct dp_tx_desc_pool_s *tx_desc_pool, in dp_tx_desc_pool_deinit_rh() argument
H A Ddp_rh_tx.h126 struct dp_tx_desc_pool_s *tx_desc_pool,
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
H A Ddp_be_tx.h235 struct dp_tx_desc_pool_s *tx_desc_pool,
H A Ddp_be_tx.c1680 struct dp_tx_desc_pool_s *tx_desc_pool; in dp_tx_desc_pool_init_be() local
1693 tx_desc_pool = dp_get_spcl_tx_desc_pool(soc, pool_id); in dp_tx_desc_pool_init_be()
1696 tx_desc_pool = dp_get_tx_desc_pool(soc, pool_id);; in dp_tx_desc_pool_init_be()
1699 tx_desc = tx_desc_pool->freelist; in dp_tx_desc_pool_init_be()
1730 struct dp_tx_desc_pool_s *tx_desc_pool, in dp_tx_desc_pool_deinit_be() argument
/wlan-driver/qca-wifi-host-cmn/ipa/core/src/
H A Dwlan_ipa_core.c2294 tx_desc = &ipa_ctx->tx_desc_pool[id]; in wlan_ipa_nbuf_cb()
3905 if (!ipa_ctx->tx_desc_pool) in wlan_ipa_free_tx_desc_list()
3911 ipa_tx_desc = ipa_ctx->tx_desc_pool[i].ipa_tx_desc_ptr; in wlan_ipa_free_tx_desc_list()
3917 &ipa_ctx->tx_desc_pool[i].node) != in wlan_ipa_free_tx_desc_list()
3924 qdf_mem_free(ipa_ctx->tx_desc_pool); in wlan_ipa_free_tx_desc_list()
3925 ipa_ctx->tx_desc_pool = NULL; in wlan_ipa_free_tx_desc_list()
3945 ipa_ctx->tx_desc_pool = qdf_mem_malloc(sizeof(struct wlan_ipa_tx_desc) * in wlan_ipa_alloc_tx_desc_free_list()
3947 if (!ipa_ctx->tx_desc_pool) in wlan_ipa_alloc_tx_desc_free_list()
3954 ipa_ctx->tx_desc_pool[i].id = i; in wlan_ipa_alloc_tx_desc_free_list()
3955 ipa_ctx->tx_desc_pool[i].ipa_tx_desc_ptr = NULL; in wlan_ipa_alloc_tx_desc_free_list()
[all …]
/wlan-driver/qca-wifi-host-cmn/ipa/core/inc/
H A Dwlan_ipa_priv.h695 struct wlan_ipa_tx_desc *tx_desc_pool; member