Lines Matching refs:port_count
111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
115 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
124 node->port_count = port_count; in fw_node_create()
152 for (i = 0; i < node->port_count; i++) { in update_hop_count()
188 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local
203 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree()
234 node = fw_node_create(q, port_count, card->color); in build_tree()
248 for (i = 0; i < port_count; i++) { in build_tree()
339 for (i = 0; i < node->port_count; i++) { in for_each_fw_node()
408 for (i = 0; i < tree->port_count; i++) { in move_tree()
436 WARN_ON(node0->port_count != node1->port_count); in update_tree()
460 for (i = 0; i < node0->port_count; i++) { in update_tree()