Lines Matching refs:num_pool
7243 uint8_t i, num_pool; local
7256 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7258 for (i = 0; i < num_pool; i++) {
7308 static QDF_STATUS dp_tx_alloc_static_pools(struct dp_soc *soc, int num_pool, argument
7313 for (i = 0; i < num_pool; i++) {
7322 int num_pool, argument
7328 static QDF_STATUS dp_tx_init_static_pools(struct dp_soc *soc, int num_pool, argument
7334 static QDF_STATUS dp_tx_spcl_init_static_pools(struct dp_soc *soc, int num_pool, argument
7340 static void dp_tx_deinit_static_pools(struct dp_soc *soc, int num_pool) argument
7344 static void dp_tx_spcl_deinit_static_pools(struct dp_soc *soc, int num_pool) argument
7347 static void dp_tx_delete_static_pools(struct dp_soc *soc, int num_pool) argument
7351 for (i = 0; i < num_pool; i++)
7355 static void dp_tx_spcl_delete_static_pools(struct dp_soc *soc, int num_pool) argument
7359 static QDF_STATUS dp_tx_alloc_static_pools(struct dp_soc *soc, int num_pool, argument
7370 for (i = 0; i < num_pool; i++) {
7389 int num_pool, argument
7399 for (j = 0; j < num_pool; j++) {
7418 static QDF_STATUS dp_tx_init_static_pools(struct dp_soc *soc, int num_pool, argument
7427 for (i = 0; i < num_pool; i++) {
7441 static QDF_STATUS dp_tx_spcl_init_static_pools(struct dp_soc *soc, int num_pool, argument
7450 for (i = 0; i < num_pool; i++) {
7464 static void dp_tx_deinit_static_pools(struct dp_soc *soc, int num_pool) argument
7473 for (i = 0; i < num_pool; i++)
7478 static void dp_tx_spcl_deinit_static_pools(struct dp_soc *soc, int num_pool) argument
7487 for (i = 0; i < num_pool; i++)
7492 static void dp_tx_delete_static_pools(struct dp_soc *soc, int num_pool) argument
7501 for (i = 0; i < num_pool; i++)
7506 static void dp_tx_spcl_delete_static_pools(struct dp_soc *soc, int num_pool) argument
7515 for (i = 0; i < num_pool; i++)
7527 static void dp_tx_tso_cmn_desc_pool_deinit(struct dp_soc *soc, uint8_t num_pool) argument
7529 dp_tx_tso_desc_pool_deinit(soc, num_pool);
7530 dp_tx_tso_num_seg_pool_deinit(soc, num_pool);
7539 static void dp_tx_tso_cmn_desc_pool_free(struct dp_soc *soc, uint8_t num_pool) argument
7541 dp_tx_tso_desc_pool_free(soc, num_pool);
7542 dp_tx_tso_num_seg_pool_free(soc, num_pool);
7548 uint8_t num_pool, num_ext_pool; local
7553 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7556 dp_tx_tso_cmn_desc_pool_free(soc, num_pool);
7558 dp_tx_delete_static_pools(soc, num_pool);
7559 dp_tx_spcl_delete_static_pools(soc, num_pool);
7564 uint8_t num_pool, num_ext_pool; local
7569 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7573 dp_tx_tso_cmn_desc_pool_deinit(soc, num_pool);
7575 dp_tx_deinit_static_pools(soc, num_pool);
7576 dp_tx_spcl_deinit_static_pools(soc, num_pool);
7581 uint8_t num_pool; local
7586 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7588 dp_tx_delete_static_pools(soc, num_pool);
7589 dp_tx_spcl_delete_static_pools(soc, num_pool);
7594 uint8_t num_pool; local
7599 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7602 dp_tx_deinit_static_pools(soc, num_pool);
7603 dp_tx_spcl_deinit_static_pools(soc, num_pool);
7619 uint8_t num_pool, argument
7622 if (dp_tx_tso_desc_pool_alloc(soc, num_pool, num_desc)) {
7623 dp_err("TSO Desc Pool alloc %d failed %pK", num_pool, soc);
7627 if (dp_tx_tso_num_seg_pool_alloc(soc, num_pool, num_desc)) {
7629 num_pool, soc);
7648 uint8_t num_pool, argument
7651 if (dp_tx_tso_desc_pool_init(soc, num_pool, num_desc)) {
7652 dp_err("TSO Desc Pool alloc %d failed %pK", num_pool, soc);
7656 if (dp_tx_tso_num_seg_pool_init(soc, num_pool, num_desc)) {
7658 num_pool, soc);
7667 uint8_t num_pool, num_ext_pool; local
7675 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7681 dp_info("Tx Desc Alloc num_pool: %d descs: %d", num_pool, num_desc);
7683 if ((num_pool > MAX_TXDESC_POOLS) ||
7689 if (dp_tx_alloc_static_pools(soc, num_pool, num_desc))
7692 if (dp_tx_spcl_alloc_static_pools(soc, num_pool, num_spcl_desc))
7709 dp_tx_spcl_delete_static_pools(soc, num_pool);
7711 dp_tx_delete_static_pools(soc, num_pool);
7718 uint8_t num_pool, num_ext_pool; local
7726 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7732 if (dp_tx_init_static_pools(soc, num_pool, num_desc))
7735 if (dp_tx_spcl_init_static_pools(soc, num_pool, num_spcl_desc))
7754 dp_tx_spcl_deinit_static_pools(soc, num_pool);
7756 dp_tx_deinit_static_pools(soc, num_pool);
7764 uint8_t num_pool; local
7771 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7777 __func__, num_pool, num_desc);
7779 if ((num_pool > MAX_TXDESC_POOLS) ||
7784 if (dp_tx_alloc_static_pools(soc, num_pool, num_desc))
7787 if (dp_tx_spcl_alloc_static_pools(soc, num_pool, num_spcl_desc))
7792 dp_tx_delete_static_pools(soc, num_pool);
7799 uint8_t num_pool; local
7806 num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
7810 if (dp_tx_init_static_pools(soc, num_pool, num_desc))
7813 if (dp_tx_spcl_init_static_pools(soc, num_pool, num_spcl_desc))
7820 dp_tx_deinit_static_pools(soc, num_pool);