/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_tx_flow_control.c | 48 dp_tx_initialize_threshold(struct dp_tx_desc_pool_s *pool, in dp_tx_initialize_threshold() argument 54 pool->start_th[DP_TH_BE_BK] = (start_threshold in dp_tx_initialize_threshold() 56 pool->stop_th[DP_TH_BE_BK] = (stop_threshold in dp_tx_initialize_threshold() 60 pool->start_th[DP_TH_VI] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 62 pool->stop_th[DP_TH_VI] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 66 pool->start_th[DP_TH_VO] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 68 pool->stop_th[DP_TH_VO] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 72 pool->start_th[DP_TH_HI] = (pool->start_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 74 pool->stop_th[DP_TH_HI] = (pool->stop_th[DP_TH_BE_BK] in dp_tx_initialize_threshold() 88 dp_tx_flow_pool_reattach(struct dp_tx_desc_pool_s *pool) in dp_tx_flow_pool_reattach() argument [all …]
|
D | dp_tx_desc.h | 79 #define IS_TX_DESC_POOL_STATUS_INACTIVE(pool) \ argument 80 ((pool)->status == FLOW_POOL_INACTIVE) 102 #define IS_TX_DESC_POOL_STATUS_INACTIVE(pool) (false) argument 507 struct dp_tx_desc_s *dp_tx_get_desc_flow_pool(struct dp_tx_desc_pool_s *pool) in dp_tx_get_desc_flow_pool() argument 509 struct dp_tx_desc_s *tx_desc = pool->freelist; in dp_tx_get_desc_flow_pool() 511 pool->freelist = pool->freelist->next; in dp_tx_get_desc_flow_pool() 512 pool->avail_desc--; in dp_tx_get_desc_flow_pool() 526 void dp_tx_put_desc_flow_pool(struct dp_tx_desc_pool_s *pool, in dp_tx_put_desc_flow_pool() argument 529 tx_desc->next = pool->freelist; in dp_tx_put_desc_flow_pool() 530 pool->freelist = tx_desc; in dp_tx_put_desc_flow_pool() [all …]
|
D | dp_tx.c | 5478 struct dp_tx_desc_pool_s *pool; local 5482 pool = &soc->tx_desc[desc_pool_id]; 5484 qdf_spin_lock_bh(&pool->flow_pool_lock); 5498 struct dp_tx_desc_pool_s *pool; local 5502 pool = &soc->tx_desc[desc_pool_id]; 5504 qdf_spin_unlock_bh(&pool->flow_pool_lock); 6419 struct dp_tx_desc_pool_s *pool = NULL; local 6421 pool = dp_get_tx_desc_pool(soc, head_desc->pool_id); 6423 dp_tx_desc_free_list(pool, head_desc, tail_desc, fast_desc_count); 7229 struct dp_tx_desc_pool_s *pool = NULL; local [all …]
|
D | dp_rx.h | 570 struct rx_desc_pool *pool, in dp_get_rx_desc_from_cookie() argument 582 rx_desc_pool = &pool[pool_id]; in dp_get_rx_desc_from_cookie() 592 struct rx_desc_pool *pool, in dp_get_rx_mon_status_desc_from_cookie() argument 604 rx_desc_pool = &pool[pool_id]; in dp_get_rx_mon_status_desc_from_cookie()
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_txrx_flow_control.c | 89 struct ol_tx_flow_pool_t *pool; in ol_txrx_fwd_desc_thresh_check() local 95 pool = txrx_vdev->pool; in ol_txrx_fwd_desc_thresh_check() 97 if (!pool) in ol_txrx_fwd_desc_thresh_check() 100 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_txrx_fwd_desc_thresh_check() 101 enough_desc_flag = (pool->avail_desc < (pool->stop_th + in ol_txrx_fwd_desc_thresh_check() 104 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_txrx_fwd_desc_thresh_check() 141 struct ol_tx_flow_pool_t *pool = NULL; in ol_tx_get_total_free_desc() local 146 TAILQ_FOREACH(pool, &pdev->tx_desc.flow_pool_list, in ol_tx_get_total_free_desc() 148 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_get_total_free_desc() 149 free_desc += pool->avail_desc; in ol_tx_get_total_free_desc() [all …]
|
D | ol_tx_desc.c | 287 struct ol_tx_flow_pool_t *pool) in ol_tx_desc_alloc() argument 291 if (!pool) { in ol_tx_desc_alloc() 296 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_desc_alloc() 297 if (pool->avail_desc) { in ol_tx_desc_alloc() 298 tx_desc = ol_tx_get_desc_flow_pool(pool); in ol_tx_desc_alloc() 300 if (qdf_unlikely(pool->avail_desc < pool->stop_th && in ol_tx_desc_alloc() 301 (pool->avail_desc >= pool->stop_priority_th) && in ol_tx_desc_alloc() 302 (pool->status == FLOW_POOL_ACTIVE_UNPAUSED))) { in ol_tx_desc_alloc() 303 pool->status = FLOW_POOL_NON_PRIO_PAUSED; in ol_tx_desc_alloc() 308 } else if (qdf_unlikely((pool->avail_desc < in ol_tx_desc_alloc() [all …]
|
D | ol_tx_desc.h | 303 int ol_tx_free_invalid_flow_pool(struct ol_tx_flow_pool_t *pool); 313 struct ol_tx_desc_t *ol_tx_get_desc_flow_pool(struct ol_tx_flow_pool_t *pool) in ol_tx_get_desc_flow_pool() argument 315 struct ol_tx_desc_t *tx_desc = &pool->freelist->tx_desc; in ol_tx_get_desc_flow_pool() 317 pool->freelist = pool->freelist->next; in ol_tx_get_desc_flow_pool() 318 pool->avail_desc--; in ol_tx_get_desc_flow_pool() 332 void ol_tx_put_desc_flow_pool(struct ol_tx_flow_pool_t *pool, in ol_tx_put_desc_flow_pool() argument 335 tx_desc->pool = pool; in ol_tx_put_desc_flow_pool() 336 ((union ol_tx_desc_list_elem_t *)tx_desc)->next = pool->freelist; in ol_tx_put_desc_flow_pool() 337 pool->freelist = (union ol_tx_desc_list_elem_t *)tx_desc; in ol_tx_put_desc_flow_pool() 338 pool->avail_desc++; in ol_tx_put_desc_flow_pool() [all …]
|
D | ol_txrx.c | 578 pdev->local_peer_ids.pool[i] = i + 1; in ol_txrx_local_peer_id_pool_init() 584 pdev->local_peer_ids.pool[i] = i; in ol_txrx_local_peer_id_pool_init() 597 if (pdev->local_peer_ids.pool[i] == i) { in ol_txrx_local_peer_id_alloc() 603 pdev->local_peer_ids.freelist = pdev->local_peer_ids.pool[i]; in ol_txrx_local_peer_id_alloc() 621 pdev->local_peer_ids.pool[i] = pdev->local_peer_ids.freelist; in ol_txrx_local_peer_id_free() 2137 struct ol_tx_flow_pool_t *pool; in ol_txrx_tx_desc_reset_vdev() local 2148 pool = tx_desc->pool; in ol_txrx_tx_desc_reset_vdev() 2149 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_txrx_tx_desc_reset_vdev() 2152 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_txrx_tx_desc_reset_vdev() 3944 pdev->ol_txrx_fw_stats_desc_pool.pool = qdf_mem_malloc(pool_size * in ol_txrx_fw_stats_desc_pool_init() [all …]
|
D | ol_tx_send.c | 582 struct ol_tx_flow_pool_t *pool; in ol_tx_flow_pool_lock() local 584 pool = tx_desc->pool; in ol_tx_flow_pool_lock() 585 qdf_spin_lock_bh(&pool->flow_pool_lock); in ol_tx_flow_pool_lock() 597 struct ol_tx_flow_pool_t *pool; in ol_tx_flow_pool_unlock() local 599 pool = tx_desc->pool; in ol_tx_flow_pool_unlock() 600 qdf_spin_unlock_bh(&pool->flow_pool_lock); in ol_tx_flow_pool_unlock()
|
D | ol_txrx_types.h | 211 struct ol_tx_flow_pool_t *pool; member 718 struct ol_txrx_fw_stats_desc_elem_t *pool; member 979 ol_txrx_local_peer_id_t pool[OL_TXRX_NUM_LOCAL_PEER_IDS + 1]; member 1353 struct ol_tx_flow_pool_t *pool; member
|
/wlan-driver/qca-wifi-host-cmn/qdf/src/ |
D | qdf_flex_mem.c | 29 qdf_flex_mem_seg_alloc(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_seg_alloc() argument 33 pool->item_size * QDF_FM_BITMAP_BITS; in qdf_flex_mem_seg_alloc() 35 seg = qdf_talloc(pool, total_size); in qdf_flex_mem_seg_alloc() 42 qdf_list_insert_back(&pool->seg_list, &seg->node); in qdf_flex_mem_seg_alloc() 47 void qdf_flex_mem_init(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_init() argument 51 qdf_spinlock_create(&pool->lock); in qdf_flex_mem_init() 53 for (i = 0; i < pool->reduction_limit; i++) in qdf_flex_mem_init() 54 qdf_flex_mem_seg_alloc(pool); in qdf_flex_mem_init() 58 void qdf_flex_mem_deinit(struct qdf_flex_mem_pool *pool) in qdf_flex_mem_deinit() argument 62 qdf_spinlock_destroy(&pool->lock); in qdf_flex_mem_deinit() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/core/src/ |
D | wlan_mgmt_txrx_main.c | 62 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool = qdf_mem_malloc( in wlan_mgmt_txrx_desc_pool_init() 66 if (!mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool) in wlan_mgmt_txrx_desc_pool_init() 73 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].desc_id = i; in wlan_mgmt_txrx_desc_pool_init() 74 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].in_use = false; in wlan_mgmt_txrx_desc_pool_init() 77 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_init() 95 if (!mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool) { in wlan_mgmt_txrx_desc_pool_deinit() 105 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_deinit() 113 qdf_mem_free(mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool); in wlan_mgmt_txrx_desc_pool_deinit() 114 mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool = NULL; in wlan_mgmt_txrx_desc_pool_deinit() 173 desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in wlan_mgmt_txrx_desc_put()
|
D | wlan_mgmt_txrx_main_i.h | 123 struct mgmt_txrx_desc_elem_t *pool; member
|
/wlan-driver/qca-wifi-host-cmn/wbuff/src/ |
D | wbuff.c | 46 struct wbuff_pool *pool; in wbuff_get_pool_slot_from_len() local 51 pool = &mod->wbuff_pool[i]; in wbuff_get_pool_slot_from_len() 53 if (!pool->initialized) in wbuff_get_pool_slot_from_len() 56 if ((len > prev_buf_size) && (len <= pool->buffer_size)) in wbuff_get_pool_slot_from_len() 258 mod->wbuff_pool[pool_id].pool = NULL; in wbuff_module_init() 341 if (!wbuff_pool->pool) in wbuff_module_register() 344 qdf_nbuf_set_next(buf, wbuff_pool->pool); in wbuff_module_register() 346 wbuff_pool->pool = buf; in wbuff_module_register() 389 first = wbuff_pool->pool; in wbuff_module_deregister() 441 if (wbuff_pool->pool) { in wbuff_buff_get() [all …]
|
D | i_wbuff.h | 57 qdf_nbuf_t pool; member
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_flex_mem.h | 98 void qdf_flex_mem_init(struct qdf_flex_mem_pool *pool); 106 void qdf_flex_mem_deinit(struct qdf_flex_mem_pool *pool); 119 void *qdf_flex_mem_alloc(struct qdf_flex_mem_pool *pool); 132 void qdf_flex_mem_free(struct qdf_flex_mem_pool *pool, void *ptr);
|
D | qdf_mem.h | 711 static inline void qdf_mempool_destroy(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_destroy() argument 713 __qdf_mempool_destroy(osdev, pool); in qdf_mempool_destroy() 723 static inline void *qdf_mempool_alloc(qdf_device_t osdev, qdf_mempool_t pool) in qdf_mempool_alloc() argument 725 return (void *)__qdf_mempool_alloc(osdev, pool); in qdf_mempool_alloc() 736 static inline void qdf_mempool_free(qdf_device_t osdev, qdf_mempool_t pool, in qdf_mempool_free() argument 739 __qdf_mempool_free(osdev, pool, buf); in qdf_mempool_free()
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_txrx_ctrl_api.h | 521 QDF_STATUS ol_tx_inc_pool_ref(struct ol_tx_flow_pool_t *pool); 535 QDF_STATUS ol_tx_dec_pool_ref(struct ol_tx_flow_pool_t *pool, bool force); 577 ol_tx_inc_pool_ref(struct ol_tx_flow_pool_t *pool) in ol_tx_inc_pool_ref() argument 582 ol_tx_dec_pool_ref(struct ol_tx_flow_pool_t *pool, bool force) in ol_tx_dec_pool_ref() argument
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | qdf_mem.c | 1273 void __qdf_mempool_destroy(qdf_device_t osdev, __qdf_mempool_t pool) in __qdf_mempool_destroy() argument 1277 if (!pool) in __qdf_mempool_destroy() 1281 kfree(pool); in __qdf_mempool_destroy() 1285 pool_id = pool->pool_id; in __qdf_mempool_destroy() 1288 kfree(pool->pool_mem); in __qdf_mempool_destroy() 1289 kfree(pool); in __qdf_mempool_destroy() 1294 void *__qdf_mempool_alloc(qdf_device_t osdev, __qdf_mempool_t pool) in __qdf_mempool_alloc() argument 1298 if (!pool) in __qdf_mempool_alloc() 1302 return qdf_mem_malloc(pool->elem_size); in __qdf_mempool_alloc() 1304 spin_lock_bh(&pool->lock); in __qdf_mempool_alloc() [all …]
|
D | i_qdf_mem.h | 235 void __qdf_mempool_destroy(qdf_device_t osdev, __qdf_mempool_t pool); 244 void *__qdf_mempool_alloc(qdf_device_t osdev, __qdf_mempool_t pool); 254 void __qdf_mempool_free(qdf_device_t osdev, __qdf_mempool_t pool, void *buf);
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/ |
D | wlan_mgmt_txrx_utils_api.c | 932 if (mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[index].in_use) { in wlan_mgmt_txrx_pdev_close() 936 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[index]; in wlan_mgmt_txrx_pdev_close() 988 if (mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].in_use) { in wlan_mgmt_txrx_vdev_drain() 989 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i]; in wlan_mgmt_txrx_vdev_drain()
|
D | wlan_mgmt_txrx_tgt_api.c | 1642 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_tx_completion_handler() 1714 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_nbuf_from_desc_id() 1744 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_peer_from_desc_id() 1778 mgmt_desc = &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[desc_id]; in tgt_mgmt_txrx_get_vdev_id_from_desc_id()
|
/wlan-driver/platform/cnss_prealloc/ |
D | Kconfig | 8 for it's internal usage and release it to back to pre allocated pool.
|
/wlan-driver/platform/icnss2/ |
D | Kconfig | 52 for it's internal usage and release it to back to pre allocated pool.
|
/wlan-driver/platform/cnss2/ |
D | Kconfig | 172 for it's internal usage and release it to back to pre allocated pool.
|