Searched refs:dp_global (Results 1 – 7 of 7) sorted by relevance
142 struct dp_global_context *dp_global = NULL; in dp_tx_desc_pool_alloc_mem() local144 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() local160 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 …]
1610 struct dp_global_context *dp_global = NULL; in dp_get_tx_desc_pool() local1612 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() local1622 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() argument1792 return qdf_atomic_read(&dp_global->global_descriptor_in_use); in dp_tx_get_global_desc_in_use()
7363 struct dp_global_context *dp_global; local7365 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; local7395 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; local7424 dp_global = wlan_objmgr_get_global_ctx();[all …]
8339 struct dp_global_context *dp_global; in dp_print_global_desc_count() local8341 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()
864 struct dp_global_context *dp_global; in dp_soc_tx_cookie_detach_be() local866 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 …]
671 struct dp_global_context *dp_global = NULL; in dp_get_tx_cookie_t() local673 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() local683 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()
204 struct dp_global_context *dp_global; in cdp_global_ctx_init() local212 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 …]