Lines Matching refs:phandle
286 cell_t phandle;
288 prop = get_property(node, "linux,phandle");
290 return; /* No phandle, that's fine */
293 FAIL(c, "%s has bad length (%d) linux,phandle property",
298 phandle = propval_cell(prop);
299 if ((phandle == 0) || (phandle == -1)) {
300 FAIL(c, "%s has invalid linux,phandle value 0x%x",
301 node->fullpath, phandle);
305 other = get_node_by_phandle(root, phandle);
307 FAIL(c, "%s has duplicated phandle 0x%x (seen before at %s)",
308 node->fullpath, phandle, other->fullpath);
312 node->phandle = phandle;
355 cell_t phandle;
367 phandle = get_node_phandle(dt, refnode);
368 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle);