Home
last modified time | relevance | path

Searched refs:dp_global (Results 1 – 7 of 7) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_tx_desc.c142 struct dp_global_context *dp_global = NULL; in dp_tx_desc_pool_alloc_mem() local
144 dp_global = wlan_objmgr_get_global_ctx(); in dp_tx_desc_pool_alloc_mem()
147 dp_global->spcl_tx_desc[soc->arch_id][pool_id] = in dp_tx_desc_pool_alloc_mem()
150 dp_global->tx_desc[soc->arch_id][pool_id] = in dp_tx_desc_pool_alloc_mem()
158 struct dp_global_context *dp_global = NULL; in dp_tx_desc_pool_free_mem() local
160 dp_global = wlan_objmgr_get_global_ctx(); in dp_tx_desc_pool_free_mem()
162 if (!dp_global->spcl_tx_desc[soc->arch_id][pool_id]) in dp_tx_desc_pool_free_mem()
165 qdf_mem_free(dp_global->spcl_tx_desc[soc->arch_id][pool_id]); in dp_tx_desc_pool_free_mem()
166 dp_global->spcl_tx_desc[soc->arch_id][pool_id] = NULL; in dp_tx_desc_pool_free_mem()
168 if (!dp_global->tx_desc[soc->arch_id][pool_id]) in dp_tx_desc_pool_free_mem()
[all …]
Ddp_tx.h1610 struct dp_global_context *dp_global = NULL; in dp_get_tx_desc_pool() local
1612 dp_global = wlan_objmgr_get_global_ctx(); in dp_get_tx_desc_pool()
1613 return dp_global->tx_desc[soc->arch_id][pool_id]; in dp_get_tx_desc_pool()
1620 struct dp_global_context *dp_global = NULL; in dp_get_spcl_tx_desc_pool() local
1622 dp_global = wlan_objmgr_get_global_ctx(); in dp_get_spcl_tx_desc_pool()
1623 return dp_global->spcl_tx_desc[soc->arch_id][pool_id]; in dp_get_spcl_tx_desc_pool()
1790 dp_tx_get_global_desc_in_use(struct dp_global_context *dp_global) in dp_tx_get_global_desc_in_use() argument
1792 return qdf_atomic_read(&dp_global->global_descriptor_in_use); in dp_tx_get_global_desc_in_use()
Ddp_tx.c7363 struct dp_global_context *dp_global; local
7365 dp_global = wlan_objmgr_get_global_ctx();
7369 if (dp_global->tx_desc_pool_alloc_cnt[soc->arch_id] == 0) {
7379 dp_global->tx_desc_pool_alloc_cnt[soc->arch_id]++;
7393 struct dp_global_context *dp_global; local
7395 dp_global = wlan_objmgr_get_global_ctx();
7398 if (dp_global->spcl_tx_desc_pool_alloc_cnt[soc->arch_id] == 0) {
7409 dp_global->spcl_tx_desc_pool_alloc_cnt[soc->arch_id]++;
7422 struct dp_global_context *dp_global; local
7424 dp_global = wlan_objmgr_get_global_ctx();
[all …]
Ddp_stats.c8339 struct dp_global_context *dp_global; in dp_print_global_desc_count() local
8341 dp_global = wlan_objmgr_get_global_ctx(); in dp_print_global_desc_count()
8344 dp_tx_get_global_desc_in_use(dp_global)); in dp_print_global_desc_count()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be.c864 struct dp_global_context *dp_global; in dp_soc_tx_cookie_detach_be() local
866 dp_global = wlan_objmgr_get_global_ctx(); in dp_soc_tx_cookie_detach_be()
868 dp_global->tx_cookie_ctx_alloc_cnt--; in dp_soc_tx_cookie_detach_be()
869 if (dp_global->tx_cookie_ctx_alloc_cnt == 0) { in dp_soc_tx_cookie_detach_be()
872 dp_global->tx_cc_ctx[i]); in dp_soc_tx_cookie_detach_be()
873 qdf_mem_free(dp_global->tx_cc_ctx[i]); in dp_soc_tx_cookie_detach_be()
877 dp_global->spcl_tx_cookie_ctx_alloc_cnt--; in dp_soc_tx_cookie_detach_be()
878 if (dp_global->spcl_tx_cookie_ctx_alloc_cnt == 0) { in dp_soc_tx_cookie_detach_be()
882 dp_global->spcl_tx_cc_ctx[i]); in dp_soc_tx_cookie_detach_be()
883 qdf_mem_free(dp_global->spcl_tx_cc_ctx[i]); in dp_soc_tx_cookie_detach_be()
[all …]
Ddp_be.h671 struct dp_global_context *dp_global = NULL; in dp_get_tx_cookie_t() local
673 dp_global = wlan_objmgr_get_global_ctx(); in dp_get_tx_cookie_t()
674 return dp_global->tx_cc_ctx[pool_id]; in dp_get_tx_cookie_t()
681 struct dp_global_context *dp_global = NULL; in dp_get_spcl_tx_cookie_t() local
683 dp_global = wlan_objmgr_get_global_ctx(); in dp_get_spcl_tx_cookie_t()
684 return dp_global->spcl_tx_cc_ctx[pool_id]; in dp_get_spcl_tx_cookie_t()
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_cmn.h204 struct dp_global_context *dp_global; in cdp_global_ctx_init() local
212 dp_global = (struct dp_global_context *) in cdp_global_ctx_init()
213 qdf_mem_malloc(sizeof(*dp_global)); in cdp_global_ctx_init()
215 if (!dp_global) in cdp_global_ctx_init()
218 qdf_mem_zero(dp_global, sizeof(*dp_global)); in cdp_global_ctx_init()
219 wlan_objmgr_set_global_ctx(dp_global); in cdp_global_ctx_init()
220 qdf_atomic_set(&dp_global->global_descriptor_in_use, 0); in cdp_global_ctx_init()
221 dp_global->fst_ctx = NULL; in cdp_global_ctx_init()
222 qdf_atomic_set(&dp_global->rx_fst_ref_cnt, 0); in cdp_global_ctx_init()
234 struct dp_global_context *dp_global = wlan_objmgr_get_global_ctx(); in cdp_global_ctx_deinit() local
[all …]