Lines Matching refs:fw_node

26 static struct fw_node *fw_node_create(u32 sid, int port_count, int color)  in fw_node_create()
28 struct fw_node *node; in fw_node_create()
62 static void update_hop_count(struct fw_node *node) in update_hop_count()
86 static inline struct fw_node *fw_node(struct list_head *l) in fw_node() function
88 return list_entry(l, struct fw_node, link); in fw_node()
98 static struct fw_node *build_tree(struct fw_card *card, const u32 *sid, int self_id_count, in build_tree()
105 struct fw_node *node, *child, *local_node, *irm_node; in build_tree()
183 child = fw_node(h); in build_tree()
215 child = fw_node(child->link.next); in build_tree()
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, in for_each_fw_node()
267 struct fw_node *node, *next, *child, *parent; in for_each_fw_node()
298 struct fw_node *node, struct fw_node *parent) in report_lost_node()
308 struct fw_node *node, struct fw_node *parent) in report_found_node()
337 static void move_tree(struct fw_node *node0, struct fw_node *node1, int port) in move_tree()
339 struct fw_node *tree; in move_tree()
357 static void update_tree(struct fw_card *card, struct fw_node *root) in update_tree()
360 struct fw_node *node0, *node1, *next1; in update_tree()
368 node0 = fw_node(list0.next); in update_tree()
369 node1 = fw_node(list1.next); in update_tree()
431 node0 = fw_node(node0->link.next); in update_tree()
432 next1 = fw_node(node1->link.next); in update_tree()
457 struct fw_node *local_node; in fw_core_handle_bus_reset()