Lines Matching refs:avail_desc

91 	(_tx_desc_pool)->avail_desc = 0;               \
512 pool->avail_desc--; in dp_tx_get_desc_flow_pool()
531 pool->avail_desc++; in dp_tx_put_desc_flow_pool()
556 pool->avail_desc = 0; in dp_tx_flow_pool_member_clean()
570 dp_tx_is_threshold_reached(struct dp_tx_desc_pool_s *pool, uint16_t avail_desc) in dp_tx_is_threshold_reached() argument
572 if (qdf_unlikely(avail_desc == pool->stop_th[DP_TH_BE_BK])) in dp_tx_is_threshold_reached()
574 else if (qdf_unlikely(avail_desc == pool->stop_th[DP_TH_VI])) in dp_tx_is_threshold_reached()
576 else if (qdf_unlikely(avail_desc == pool->stop_th[DP_TH_VO])) in dp_tx_is_threshold_reached()
578 else if (qdf_unlikely(avail_desc == pool->stop_th[DP_TH_HI])) in dp_tx_is_threshold_reached()
593 if (pool->avail_desc > pool->stop_th[DP_TH_BE_BK]) { in dp_tx_adjust_flow_pool_state()
596 } else if (pool->avail_desc <= pool->stop_th[DP_TH_BE_BK] && in dp_tx_adjust_flow_pool_state()
597 pool->avail_desc > pool->stop_th[DP_TH_VI]) { in dp_tx_adjust_flow_pool_state()
599 } else if (pool->avail_desc <= pool->stop_th[DP_TH_VI] && in dp_tx_adjust_flow_pool_state()
600 pool->avail_desc > pool->stop_th[DP_TH_VO]) { in dp_tx_adjust_flow_pool_state()
602 } else if (pool->avail_desc <= pool->stop_th[DP_TH_VO] && in dp_tx_adjust_flow_pool_state()
603 pool->avail_desc > pool->stop_th[DP_TH_HI]) { in dp_tx_adjust_flow_pool_state()
605 } else if (pool->avail_desc <= pool->stop_th[DP_TH_HI]) { in dp_tx_adjust_flow_pool_state()
657 if (qdf_likely(pool->avail_desc && in dp_tx_desc_alloc()
666 pool->avail_desc); in dp_tx_desc_alloc()
758 if (pool->avail_desc > pool->start_th[DP_TH_HI]) { in dp_tx_desc_free()
771 if (pool->avail_desc > pool->start_th[DP_TH_VO]) { in dp_tx_desc_free()
784 if (pool->avail_desc > pool->start_th[DP_TH_VI]) { in dp_tx_desc_free()
797 if (pool->avail_desc > pool->start_th[DP_TH_BE_BK]) { in dp_tx_desc_free()
810 if (pool->avail_desc == pool->pool_size) { in dp_tx_desc_free()
850 dp_tx_is_threshold_reached(struct dp_tx_desc_pool_s *pool, uint16_t avail_desc) in dp_tx_is_threshold_reached() argument
852 if (qdf_unlikely(avail_desc < pool->stop_th)) in dp_tx_is_threshold_reached()
874 pool->avail_desc) { in dp_tx_desc_alloc()
880 if (qdf_unlikely(pool->avail_desc < pool->stop_th)) { in dp_tx_desc_alloc()
928 if (pool->avail_desc > pool->start_th) { in dp_tx_desc_free()
936 if (pool->avail_desc == pool->pool_size) { in dp_tx_desc_free()
977 status = dp_tx_is_threshold_reached(pool, pool->avail_desc); in dp_tx_desc_thresh_reached()