Lines Matching defs:fw_node
26 static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
28 struct fw_node *node;
62 static void update_hop_count(struct fw_node *node)
86 static inline struct fw_node *fw_node(struct list_head *l)
88 return list_entry(l, struct fw_node, link);
96 * fw_node corresponding to the local card otherwise NULL.
98 static struct fw_node *build_tree(struct fw_card *card, const u32 *sid, int self_id_count,
105 struct fw_node *node, *child, *local_node, *irm_node;
183 child = fw_node(h);
215 child = fw_node(child->link.next);
260 struct fw_node * node,
261 struct fw_node * parent);
263 static void for_each_fw_node(struct fw_card *card, struct fw_node *root,
267 struct fw_node *node, *next, *child, *parent;
300 struct fw_node *node, struct fw_node *parent)
310 struct fw_node *node, struct fw_node *parent)
341 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port)
343 struct fw_node *tree;
361 static void update_tree(struct fw_card *card, struct fw_node *root)
364 struct fw_node *node0, *node1, *next1;
372 node0 = fw_node(list0.next);
373 node1 = fw_node(list1.next);
435 node0 = fw_node(node0->link.next);
436 next1 = fw_node(node1->link.next);
464 struct fw_node *local_node;