Lines Matching refs:port_count
100 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) in fw_node_create() argument
104 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
113 node->port_count = port_count; in fw_node_create()
141 for (i = 0; i < node->port_count; i++) { in update_hop_count()
177 int i, port_count, child_port_count, phy_id, parent_count, stack_depth; in build_tree() local
192 next_sid = count_ports(sid, &port_count, &child_port_count); in build_tree()
223 node = fw_node_create(q, port_count, card->color); in build_tree()
237 for (i = 0; i < port_count; i++) { in build_tree()
328 for (i = 0; i < node->port_count; i++) { in for_each_fw_node()
394 for (i = 0; i < tree->port_count; i++) { in move_tree()
422 WARN_ON(node0->port_count != node1->port_count); in update_tree()
446 for (i = 0; i < node0->port_count; i++) { in update_tree()