Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dws.c206 tc_node = ws_find_node(vsi_node, in irdma_remove_leaf()
209 if (!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
304 if (!tc_node) { in irdma_ws_add()
311 if (!tc_node) { in irdma_ws_add()
318 irdma_free_node(vsi, tc_node); in irdma_ws_add()
330 tc_node->enable = true; in irdma_ws_add()
356 list_del(&tc_node->siblings); in irdma_ws_add()
[all …]
H A 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()
H A Dmain.h248 struct irdma_ws_node *tc_node);
250 struct irdma_ws_node *tc_node);
H A 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);
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c1037 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1811 struct ice_sched_node *tc_node; in ice_sched_add_vsi_to_topo() local
1814 if (!tc_node) in ice_sched_add_vsi_to_topo()
1848 if (!tc_node) in ice_sched_update_vsi_child_nodes()
1921 if (!tc_node) in ice_sched_cfg_vsi()
2054 if (!tc_node) in ice_sched_rm_vsi_cfg()
2304 if (!tc_node) in ice_sched_move_vsi_to_agg()
2445 if (!tc_node) in ice_sched_rm_agg_cfg()
2554 if (!tc_node) in ice_sched_add_agg_cfg()
2587 parent = tc_node; in ice_sched_add_agg_cfg()
[all …]
H A Dice_sched.h84 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
149 ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,
158 struct ice_sched_node *tc_node,
H A Dice_devlink.c807 struct ice_sched_node *tc_node, struct ice_pf *pf) in ice_traverse_tx_tree() argument
813 if (node->parent == tc_node) { in ice_traverse_tx_tree()
849 struct ice_sched_node *tc_node; in ice_devlink_rate_init_tx_topology() local
853 tc_node = pi->root->children[0]; in ice_devlink_rate_init_tx_topology()
856 for (i = 0; i < tc_node->num_children; i++) in ice_devlink_rate_init_tx_topology()
857 ice_traverse_tx_tree(devlink, tc_node->children[i], tc_node, pf); in ice_devlink_rate_init_tx_topology()
1010 struct ice_sched_node *node, *tc_node; in ice_devlink_rate_node_del() local
1014 tc_node = pi->root->children[0]; in ice_devlink_rate_node_del()
1160 struct ice_sched_node *tc_node, *node, *parent_node; in ice_devlink_set_parent() local
1166 tc_node = pi->root->children[0]; in ice_devlink_set_parent()
[all …]
H A Dice_dcb.c1579 struct ice_sched_node *node, *tc_node; in ice_update_port_tc_tree_cfg() local
1607 tc_node = pi->root->children[i]; in ice_update_port_tc_tree_cfg()
1608 if (!tc_node) in ice_update_port_tc_tree_cfg()
1610 teid1 = le32_to_cpu(tc_node->info.node_teid); in ice_update_port_tc_tree_cfg()
1612 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1613 tc_node->in_use = true; in ice_update_port_tc_tree_cfg()
H A Dice_lag.c360 struct ice_sched_node *tc_node, *aggnode, *parent = NULL; in ice_lag_get_sched_parent() local
369 tc_node = ice_sched_get_tc_node(pi, tc); in ice_lag_get_sched_parent()
370 if (!tc_node) { in ice_lag_get_sched_parent()
375 aggnode = ice_sched_get_agg_node(pi, tc_node, ICE_DFLT_AGG_ID); in ice_lag_get_sched_parent()
401 err = ice_sched_add_nodes_to_layer(pi, tc_node, parent, n, in ice_lag_get_sched_parent()
408 parent = ice_sched_find_node_by_teid(tc_node, in ice_lag_get_sched_parent()
/openbmc/linux/drivers/input/misc/
H A 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()