Lines Matching refs:port_count
99 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
103 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
112 node->port_count = port_count; in fw_node_create()
140 for (i = 0; i < node->port_count; i++) { in update_hop_count()
176 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local
191 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree()
222 node = fw_node_create(q, port_count, card->color); in build_tree()
236 for (i = 0; i < port_count; i++) { in build_tree()
327 for (i = 0; i < node->port_count; i++) { in for_each_fw_node()
396 for (i = 0; i < tree->port_count; i++) { in move_tree()
424 WARN_ON(node0->port_count != node1->port_count); in update_tree()
448 for (i = 0; i < node0->port_count; i++) { in update_tree()