Home
last modified time | relevance | path

Searched refs:tc_node (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dws.c188 struct irdma_ws_node *ws_tree_root, *vsi_node, *tc_node; in irdma_remove_leaf() local
206 tc_node = ws_find_node(vsi_node, in irdma_remove_leaf()
209 if (!tc_node) in irdma_remove_leaf()
212 irdma_ws_cqp_cmd(vsi, tc_node, IRDMA_OP_WS_DELETE_NODE); in irdma_remove_leaf()
213 vsi->unregister_qset(vsi, tc_node); in irdma_remove_leaf()
214 list_del(&tc_node->siblings); in irdma_remove_leaf()
215 irdma_free_node(vsi, tc_node); in irdma_remove_leaf()
240 struct irdma_ws_node *tc_node; in irdma_ws_add() local
302 tc_node = ws_find_node(vsi_node, traffic_class, in irdma_ws_add()
304 if (!tc_node) { in irdma_ws_add()
[all …]
Dmain.c166 struct irdma_ws_node *tc_node) in irdma_lan_register_qset() argument
173 qset.qs_handle = tc_node->qs_handle; in irdma_lan_register_qset()
174 qset.tc = tc_node->traffic_class; in irdma_lan_register_qset()
182 tc_node->l2_sched_node_id = qset.teid; in irdma_lan_register_qset()
183 vsi->qos[tc_node->user_pri].l2_sched_node_id = qset.teid; in irdma_lan_register_qset()
194 struct irdma_ws_node *tc_node) in irdma_lan_unregister_qset() argument
200 qset.qs_handle = tc_node->qs_handle; in irdma_lan_unregister_qset()
201 qset.tc = tc_node->traffic_class; in irdma_lan_unregister_qset()
203 qset.teid = tc_node->l2_sched_node_id; in irdma_lan_unregister_qset()
Dmain.h248 struct irdma_ws_node *tc_node);
250 struct irdma_ws_node *tc_node);
Dtype.h564 struct irdma_ws_node *tc_node);
566 struct irdma_ws_node *tc_node);
716 struct irdma_ws_node *tc_node);
718 struct irdma_ws_node *tc_node);
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_sched.c883 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems() argument
951 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()
971 prev = ice_sched_get_first_node(pi, tc_node, layer); in ice_sched_add_elems()
979 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
980 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1004 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_hw_layer() argument
1025 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1030 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes, in ice_sched_add_nodes_to_hw_layer()
1048 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_layer() argument
1062 status = ice_sched_add_nodes_to_hw_layer(pi, tc_node, parent, in ice_sched_add_nodes_to_layer()
[all …]
Dice_sched.h95 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
160 ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,
169 struct ice_sched_node *tc_node,
Dice_dcb.c1564 struct ice_sched_node *node, *tc_node; in ice_update_port_tc_tree_cfg() local
1592 tc_node = pi->root->children[i]; in ice_update_port_tc_tree_cfg()
1593 if (!tc_node) in ice_update_port_tc_tree_cfg()
1595 teid1 = le32_to_cpu(tc_node->info.node_teid); in ice_update_port_tc_tree_cfg()
1597 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1598 tc_node->in_use = true; in ice_update_port_tc_tree_cfg()
Dice_lag.c447 struct ice_sched_node *tc_node, *aggnode, *parent = NULL; in ice_lag_get_sched_parent() local
456 tc_node = ice_sched_get_tc_node(pi, tc); in ice_lag_get_sched_parent()
457 if (!tc_node) { in ice_lag_get_sched_parent()
462 aggnode = ice_sched_get_agg_node(pi, tc_node, ICE_DFLT_AGG_ID); in ice_lag_get_sched_parent()
488 err = ice_sched_add_nodes_to_layer(pi, tc_node, parent, n, in ice_lag_get_sched_parent()
495 parent = ice_sched_find_node_by_teid(tc_node, in ice_lag_get_sched_parent()
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.c746 struct ice_sched_node *tc_node, struct ice_pf *pf) in ice_traverse_tx_tree() argument
757 if (node->parent == tc_node) { in ice_traverse_tx_tree()
791 ice_traverse_tx_tree(devlink, node->children[i], tc_node, pf); in ice_traverse_tx_tree()
805 struct ice_sched_node *tc_node; in ice_devlink_rate_init_tx_topology() local
809 tc_node = pi->root->children[0]; in ice_devlink_rate_init_tx_topology()
811 for (i = 0; i < tc_node->num_children; i++) in ice_devlink_rate_init_tx_topology()
812 ice_traverse_tx_tree(devlink, tc_node->children[i], tc_node, pf); in ice_devlink_rate_init_tx_topology()
988 struct ice_sched_node *node, *tc_node; in ice_devlink_rate_node_del() local
992 tc_node = pi->root->children[0]; in ice_devlink_rate_node_del()
995 if (!rate_node->parent || !node || tc_node == node || !extack) in ice_devlink_rate_node_del()
[all …]
/linux-6.12.1/drivers/input/misc/
Diqs626a.c777 struct fwnode_handle *tc_node; in iqs626_parse_trackpad() local
782 tc_node = fwnode_get_named_child_node(ch_node, tc_name); in iqs626_parse_trackpad()
783 if (!tc_node) in iqs626_parse_trackpad()
786 if (!fwnode_property_read_u32(tc_node, "azoteq,ati-base", in iqs626_parse_trackpad()
793 fwnode_handle_put(tc_node); in iqs626_parse_trackpad()
800 if (!fwnode_property_read_u32(tc_node, "azoteq,thresh", in iqs626_parse_trackpad()
806 fwnode_handle_put(tc_node); in iqs626_parse_trackpad()
813 fwnode_handle_put(tc_node); in iqs626_parse_trackpad()