Lines Matching refs:port_count
96 static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
100 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]),
109 node->port_count = port_count;
137 for (i = 0; i < node->port_count; i++) {
174 int i, port_count, child_port_count, phy_id, parent_count, stack_depth;
188 next_sid = count_ports(sid, &port_count, &child_port_count);
215 node = fw_node_create(q, port_count, card->color);
234 for (i = 0; i < port_count; i++) {
323 for (i = 0; i < node->port_count; i++) {
387 for (i = 0; i < tree->port_count; i++) {
418 /* assert(node0->port_count == node1->port_count); */
439 for (i = 0; i < node0->port_count; i++) {