Lines Matching refs:next

221 	for (pp = np->properties; pp; pp = pp->next) {  in __of_find_property()
640 struct device_node *next; in __of_get_next_child() local
645 next = prev ? prev->sibling : node->child; in __of_get_next_child()
646 for (; next; next = next->sibling) in __of_get_next_child()
647 if (of_node_get(next)) in __of_get_next_child()
650 return next; in __of_get_next_child()
668 struct device_node *next; in of_get_next_child() local
672 next = __of_get_next_child(node, prev); in of_get_next_child()
674 return next; in of_get_next_child()
689 struct device_node *next; in of_get_next_available_child() local
696 next = prev ? prev->sibling : node->child; in of_get_next_available_child()
697 for (; next; next = next->sibling) { in of_get_next_available_child()
698 if (!__of_device_is_available(next)) in of_get_next_available_child()
700 if (of_node_get(next)) in of_get_next_available_child()
705 return next; in of_get_next_available_child()
933 for (pp = np->properties; pp; pp = pp->next) { in of_find_node_with_property()
1696 struct property **next; in __of_add_property() local
1698 prop->next = NULL; in __of_add_property()
1699 next = &np->properties; in __of_add_property()
1700 while (*next) { in __of_add_property()
1701 if (strcmp(prop->name, (*next)->name) == 0) in __of_add_property()
1705 next = &(*next)->next; in __of_add_property()
1707 *next = prop; in __of_add_property()
1739 struct property **next; in __of_remove_property() local
1741 for (next = &np->properties; *next; next = &(*next)->next) { in __of_remove_property()
1742 if (*next == prop) in __of_remove_property()
1745 if (*next == NULL) in __of_remove_property()
1749 *next = prop->next; in __of_remove_property()
1750 prop->next = np->deadprops; in __of_remove_property()
1799 struct property **next, *oldprop; in __of_update_property() local
1801 for (next = &np->properties; *next; next = &(*next)->next) { in __of_update_property()
1802 if (of_prop_cmp((*next)->name, newprop->name) == 0) in __of_update_property()
1805 *oldpropp = oldprop = *next; in __of_update_property()
1809 newprop->next = oldprop->next; in __of_update_property()
1810 *next = newprop; in __of_update_property()
1811 oldprop->next = np->deadprops; in __of_update_property()
1815 newprop->next = NULL; in __of_update_property()
1816 *next = newprop; in __of_update_property()