Lines Matching refs:rprop

115 		struct property *rprop, int value)  in __of_adjust_phandle_ref()  argument
125 propval = kmalloc(rprop->length, GFP_KERNEL); in __of_adjust_phandle_ref()
128 __func__, rprop->name); in __of_adjust_phandle_ref()
131 memcpy(propval, rprop->value, rprop->length); in __of_adjust_phandle_ref()
133 propend = propval + rprop->length; in __of_adjust_phandle_ref()
151 __func__, (char *)rprop->value); in __of_adjust_phandle_ref()
160 __func__, (char *)rprop->value); in __of_adjust_phandle_ref()
168 __func__, (char *)rprop->value); in __of_adjust_phandle_ref()
180 __func__, (char *)rprop->value); in __of_adjust_phandle_ref()
215 struct property *rprop, *sprop; in __of_adjust_tree_phandle_references() local
223 for_each_property_of_node(node, rprop) { in __of_adjust_tree_phandle_references()
226 if (of_prop_cmp(rprop->name, "name") == 0 || in __of_adjust_tree_phandle_references()
227 of_prop_cmp(rprop->name, "phandle") == 0 || in __of_adjust_tree_phandle_references()
228 of_prop_cmp(rprop->name, "linux,phandle") == 0) in __of_adjust_tree_phandle_references()
231 if ((rprop->length % 4) != 0 || rprop->length == 0) { in __of_adjust_tree_phandle_references()
233 __func__, rprop->name, node->full_name); in __of_adjust_tree_phandle_references()
236 count = rprop->length / sizeof(__be32); in __of_adjust_tree_phandle_references()
240 if (of_prop_cmp(sprop->name, rprop->name) == 0) in __of_adjust_tree_phandle_references()
246 __func__, rprop->name, node->full_name); in __of_adjust_tree_phandle_references()
251 off = be32_to_cpu(((__be32 *)rprop->value)[i]); in __of_adjust_tree_phandle_references()
256 __func__, rprop->name, in __of_adjust_tree_phandle_references()
308 struct property *rprop; in of_resolve_phandles() local
373 for_each_property_of_node(resolve_fix, rprop) { in of_resolve_phandles()
376 if (of_prop_cmp(rprop->name, "name") == 0) in of_resolve_phandles()
380 rprop->name, &refpath); in of_resolve_phandles()
383 __func__, rprop->name); in of_resolve_phandles()
399 __func__, rprop->name, phandle); in of_resolve_phandles()
401 err = __of_adjust_phandle_ref(resolve, rprop, phandle); in of_resolve_phandles()