Lines Matching refs:next
221 for (pp = np->properties; pp; pp = pp->next) { in __of_find_property()
643 struct device_node *next; in __of_get_next_child() local
648 next = prev ? prev->sibling : node->child; in __of_get_next_child()
649 for (; next; next = next->sibling) in __of_get_next_child()
650 if (of_node_get(next)) in __of_get_next_child()
653 return next; in __of_get_next_child()
671 struct device_node *next; in of_get_next_child() local
675 next = __of_get_next_child(node, prev); in of_get_next_child()
677 return next; in of_get_next_child()
692 struct device_node *next; in of_get_next_available_child() local
699 next = prev ? prev->sibling : node->child; in of_get_next_available_child()
700 for (; next; next = next->sibling) { in of_get_next_available_child()
701 if (!__of_device_is_available(next)) in of_get_next_available_child()
703 if (of_node_get(next)) in of_get_next_available_child()
708 return next; in of_get_next_available_child()
936 for (pp = np->properties; pp; pp = pp->next) { in of_find_node_with_property()
1699 struct property **next; in __of_add_property() local
1701 prop->next = NULL; in __of_add_property()
1702 next = &np->properties; in __of_add_property()
1703 while (*next) { in __of_add_property()
1704 if (strcmp(prop->name, (*next)->name) == 0) in __of_add_property()
1708 next = &(*next)->next; in __of_add_property()
1710 *next = prop; in __of_add_property()
1742 struct property **next; in __of_remove_property() local
1744 for (next = &np->properties; *next; next = &(*next)->next) { in __of_remove_property()
1745 if (*next == prop) in __of_remove_property()
1748 if (*next == NULL) in __of_remove_property()
1752 *next = prop->next; in __of_remove_property()
1753 prop->next = np->deadprops; in __of_remove_property()
1802 struct property **next, *oldprop; in __of_update_property() local
1804 for (next = &np->properties; *next; next = &(*next)->next) { in __of_update_property()
1805 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property()
1808 *oldpropp = oldprop = *next; in __of_update_property()
1812 newprop->next = oldprop->next; in __of_update_property()
1813 *next = newprop; in __of_update_property()
1814 oldprop->next = np->deadprops; in __of_update_property()
1818 newprop->next = NULL; in __of_update_property()
1819 *next = newprop; in __of_update_property()