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(sizeof(*node) + port_count * sizeof(node->ports[0]), in fw_node_create()
125 node->port_count = port_count; in fw_node_create()
153 for (i = 0; i < node->port_count; i++) { in update_hop_count()
189 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local
204 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree()
235 node = fw_node_create(q, port_count, card->color); in build_tree()
249 for (i = 0; i < port_count; i++) { in build_tree()
340 for (i = 0; i < node->port_count; i++) { in for_each_fw_node()
409 for (i = 0; i < tree->port_count; i++) { in move_tree()
437 WARN_ON(node0->port_count != node1->port_count); in update_tree()
461 for (i = 0; i < node0->port_count; i++) { in update_tree()