Lines Matching defs:port_count
112 static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
116 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]),
126 node->port_count = port_count;
154 for (i = 0; i < node->port_count; i++) {
190 int i, port_count, child_port_count, phy_id, parent_count, stack_depth;
205 next_sid = count_ports(sid, &port_count, &child_port_count);
236 node = fw_node_create(q, port_count, card->color);
250 for (i = 0; i < port_count; i++) {
341 for (i = 0; i < node->port_count; i++) {
410 for (i = 0; i < tree->port_count; i++) {
438 WARN_ON(node0->port_count != node1->port_count);
462 for (i = 0; i < node0->port_count; i++) {