/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_tx_desc.c | 52 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 D | dp_tx_flow_control.c | 678 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 D | dp_tx_desc.h | 1319 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 D | dp_tx.c | 7157 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 D | dp_main.c | 12783 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 D | dp_stats.c | 6240 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 D | dp_types.h | 2381 struct dp_tx_desc_pool_s *tx_desc_pool,
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
H A D | dp_li_tx.c | 601 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 D | dp_li_tx.h | 97 struct dp_tx_desc_pool_s *tx_desc_pool,
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh_tx.c | 567 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 D | dp_rh_tx.h | 126 struct dp_tx_desc_pool_s *tx_desc_pool,
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
H A D | dp_be_tx.h | 235 struct dp_tx_desc_pool_s *tx_desc_pool,
|
H A D | dp_be_tx.c | 1680 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 D | wlan_ipa_core.c | 2294 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 D | wlan_ipa_priv.h | 695 struct wlan_ipa_tx_desc *tx_desc_pool; member
|