Lines Matching refs:lvl

211 	cfg->lvl = parent->level;  in otx2_qos_txschq_set_parent_topology()
457 int lvl; in otx2_qos_alloc_txschq_node() local
460 for (lvl = node->level - 1; lvl >= NIX_TXSCH_LVL_MDQ; lvl--) { in otx2_qos_alloc_txschq_node()
466 txschq_node->level = lvl; in otx2_qos_alloc_txschq_node()
609 req->lvl = node->level; in otx2_qos_txschq_config()
625 int lvl, rc, schq; in otx2_qos_txschq_alloc() local
634 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc()
635 req->schq[lvl] = cfg->schq[lvl]; in otx2_qos_txschq_alloc()
636 req->schq_contig[lvl] = cfg->schq_contig[lvl]; in otx2_qos_txschq_alloc()
653 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc()
654 for (schq = 0; schq < rsp->schq_contig[lvl]; schq++) { in otx2_qos_txschq_alloc()
655 cfg->schq_contig_list[lvl][schq] = in otx2_qos_txschq_alloc()
656 rsp->schq_contig_list[lvl][schq]; in otx2_qos_txschq_alloc()
660 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_txschq_alloc()
661 for (schq = 0; schq < rsp->schq[lvl]; schq++) { in otx2_qos_txschq_alloc()
662 cfg->schq_list[lvl][schq] = in otx2_qos_txschq_alloc()
663 rsp->schq_list[lvl][schq]; in otx2_qos_txschq_alloc()
678 int lvl, idx, schq; in otx2_qos_free_unused_txschq() local
680 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_free_unused_txschq()
681 for (idx = 0; idx < cfg->schq_contig[lvl]; idx++) { in otx2_qos_free_unused_txschq()
682 if (!cfg->schq_index_used[lvl][idx]) { in otx2_qos_free_unused_txschq()
683 schq = cfg->schq_contig_list[lvl][idx]; in otx2_qos_free_unused_txschq()
684 otx2_txschq_free_one(pfvf, lvl, schq); in otx2_qos_free_unused_txschq()
892 int lvl, idx, schq; in otx2_qos_free_cfg() local
894 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_free_cfg()
895 for (idx = 0; idx < cfg->schq[lvl]; idx++) { in otx2_qos_free_cfg()
896 schq = cfg->schq_list[lvl][idx]; in otx2_qos_free_cfg()
897 otx2_txschq_free_one(pfvf, lvl, schq); in otx2_qos_free_cfg()
901 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in otx2_qos_free_cfg()
902 for (idx = 0; idx < cfg->schq_contig[lvl]; idx++) { in otx2_qos_free_cfg()
903 if (cfg->schq_index_used[lvl][idx]) { in otx2_qos_free_cfg()
904 schq = cfg->schq_contig_list[lvl][idx]; in otx2_qos_free_cfg()
905 otx2_txschq_free_one(pfvf, lvl, schq); in otx2_qos_free_cfg()