Lines Matching refs:prev

244 struct device_node *__of_find_all_nodes(struct device_node *prev)  in __of_find_all_nodes()  argument
247 if (!prev) { in __of_find_all_nodes()
249 } else if (prev->child) { in __of_find_all_nodes()
250 np = prev->child; in __of_find_all_nodes()
253 np = prev; in __of_find_all_nodes()
269 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() argument
275 np = __of_find_all_nodes(prev); in of_find_all_nodes()
277 of_node_put(prev); in of_find_all_nodes()
610 struct device_node *prev) in __of_get_next_child() argument
617 next = prev ? prev->sibling : node->child; in __of_get_next_child()
619 of_node_put(prev); in __of_get_next_child()
636 struct device_node *prev) in of_get_next_child() argument
642 next = __of_get_next_child(node, prev); in of_get_next_child()
661 struct device_node *prev, in of_get_next_child_with_prefix() argument
671 next = prev ? prev->sibling : node->child; in of_get_next_child_with_prefix()
678 of_node_put(prev); in of_get_next_child_with_prefix()
685 struct device_node *prev, in of_get_next_status_child() argument
695 next = prev ? prev->sibling : node->child; in of_get_next_status_child()
702 of_node_put(prev); in of_get_next_status_child()
716 struct device_node *prev) in of_get_next_available_child() argument
718 return of_get_next_status_child(node, prev, __of_device_is_available); in of_get_next_available_child()
731 struct device_node *prev) in of_get_next_reserved_child() argument
733 return of_get_next_status_child(node, prev, __of_device_is_reserved); in of_get_next_reserved_child()
748 struct device_node *of_get_next_cpu_node(struct device_node *prev) in of_get_next_cpu_node() argument
754 if (!prev) in of_get_next_cpu_node()
758 if (prev) in of_get_next_cpu_node()
759 next = prev->sibling; in of_get_next_cpu_node()
773 of_node_put(prev); in of_get_next_cpu_node()
2034 struct device_node *prev = NULL, *np = of_cpu_device_node_get(cpu); in of_find_last_cache_level() local
2037 of_node_put(prev); in of_find_last_cache_level()
2038 prev = np; in of_find_last_cache_level()
2042 of_property_read_u32(prev, "cache-level", &cache_level); in of_find_last_cache_level()
2043 of_node_put(prev); in of_find_last_cache_level()