Lines Matching refs:tmp

246 	struct otx2_qos_node *node, *tmp;
248 list_for_each_entry_safe(node, tmp, &parent->child_list, list) {
287 struct otx2_qos_node *node, *tmp;
289 list_for_each_entry_safe(node, tmp, &parent->child_schq_list, list) {
298 struct otx2_qos_node *node, *tmp;
300 list_for_each_entry_safe(node, tmp, &parent->child_list, list) {
434 struct list_head *tmp;
439 for (tmp = head->next; tmp != head; tmp = tmp->next) {
440 tmp_node = list_entry(tmp, struct otx2_qos_node, list);
445 list_add_tail(&node->list, tmp);
457 struct otx2_qos_node *txschq_node, *parent, *tmp;
490 list_for_each_entry_safe(txschq_node, tmp, &node->child_schq_list,
709 struct otx2_qos_node *tmp;
712 list_for_each_entry(tmp, &node->child_schq_list, list) {
713 cnt = cfg->dwrr_node_pos[tmp->level];
714 tmp->schq = cfg->schq_list[tmp->level][cnt];
715 cfg->dwrr_node_pos[tmp->level]++;
723 struct otx2_qos_node *tmp;
726 list_for_each_entry(tmp, &node->child_list, list) {
727 otx2_qos_txschq_fill_cfg_tl(pfvf, tmp, cfg);
728 cnt = cfg->static_node_pos[tmp->level];
729 tmp->schq = cfg->schq_contig_list[tmp->level][tmp->txschq_idx];
730 cfg->schq_index_used[tmp->level][tmp->txschq_idx] = true;
733 cfg->schq_contig_list[tmp->level][0];
734 cfg->static_node_pos[tmp->level]++;
735 otx2_qos_txschq_fill_cfg_schq(pfvf, tmp, cfg);
751 struct otx2_qos_node *tmp,
757 if (tmp->txschq_idx != OTX2_QOS_INVALID_TXSCHQ_IDX)
762 if (tmp->is_static && tmp->prio == idx &&
764 tmp->txschq_idx = idx;
767 } else if (!tmp->is_static && idx >= tmp->prio &&
769 tmp->txschq_idx = idx;
780 struct otx2_qos_node *tmp;
783 list_for_each_entry(tmp, &node->child_list, list)
784 tmp->txschq_idx = OTX2_QOS_INVALID_TXSCHQ_IDX;
794 list_for_each_entry(tmp, &node->child_list, list)
795 otx2_qos_assign_base_idx_tl(pfvf, tmp);
798 list_for_each_entry(tmp, &node->child_list, list) {
799 if (!tmp->is_static)
801 __otx2_qos_assign_base_idx_tl(pfvf, tmp, child_idx_bmap,
806 list_for_each_entry(tmp, &node->child_list, list)
807 __otx2_qos_assign_base_idx_tl(pfvf, tmp, child_idx_bmap,
831 struct otx2_qos_node *tmp;
834 list_for_each_entry(tmp, &node->child_schq_list, list) {
835 ret = otx2_qos_txschq_config(pfvf, tmp);
838 ret = otx2_qos_txschq_set_parent_topology(pfvf, tmp->parent);
850 struct otx2_qos_node *tmp;
853 list_for_each_entry(tmp, &node->child_list, list) {
854 ret = otx2_qos_txschq_push_cfg_tl(pfvf, tmp, cfg);
857 ret = otx2_qos_txschq_config(pfvf, tmp);
860 ret = otx2_qos_txschq_push_cfg_schq(pfvf, tmp, cfg);
942 struct otx2_qos_node *tmp;
947 list_for_each_entry(tmp, &node->child_schq_list, list) {
948 if (tmp->level == NIX_TXSCH_LVL_MDQ) {
950 otx2_smq_flush(pfvf, tmp->schq);
952 otx2_qos_enadis_sq(pfvf, tmp, node->qid);
961 struct otx2_qos_node *tmp;
963 list_for_each_entry(tmp, &node->child_list, list) {
964 __otx2_qos_update_smq(pfvf, tmp, action);
965 if (tmp->qid == OTX2_QOS_QID_INNER)
967 if (tmp->level == NIX_TXSCH_LVL_MDQ) {
969 otx2_smq_flush(pfvf, tmp->schq);
971 otx2_qos_enadis_sq(pfvf, tmp, tmp->qid);
973 otx2_qos_update_smq_schq(pfvf, tmp, action);
1519 struct otx2_qos_node *tmp;
1521 list_for_each_entry(tmp, &node->child_schq_list, list)
1522 if (tmp->level == NIX_TXSCH_LVL_MDQ) {
1523 otx2_qos_txschq_config(pfvf, tmp);
1524 pfvf->qos.qid_to_sqmap[qid] = tmp->schq;