• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/of/

Lines Matching defs:node

45 int __init of_scan_flat_dt(int (*it)(unsigned long node,
101 * of_get_flat_dt_root - find the root node in the flat blob
116 * of_get_flat_dt_prop - Given a node in the flat blob, return the property ptr
121 void *__init of_get_flat_dt_prop(unsigned long node, const char *name,
124 unsigned long p = node;
159 * of_flat_dt_is_compatible - Return true if given node has compat in compatible list
160 * @node: node to test
163 int __init of_flat_dt_is_compatible(unsigned long node, const char *compat)
168 cp = of_get_flat_dt_prop(node, "compatible", &cplen);
196 * @p: pointer to node in flat tree
199 * @fpsize: Size of the node path up at the current depth.
217 pr_err("Weird tag at start of node: %x\n", tag);
233 /* root node: special case. fpsize accounts for path
234 * plus terminating zero. root node only has '/', so
387 pr_err("Weird tag at end of node: %x\n", tag);
397 * @node: reference to node containing initrd location ('chosen')
399 void __init early_init_dt_check_for_initrd(unsigned long node)
406 prop = of_get_flat_dt_prop(node, "linux,initrd-start", &len);
411 prop = of_get_flat_dt_prop(node, "linux,initrd-end", &len);
420 inline void early_init_dt_check_for_initrd(unsigned long node)
428 int __init early_init_dt_scan_root(unsigned long node, const char *uname,
439 prop = of_get_flat_dt_prop(node, "#size-cells", NULL);
444 prop = of_get_flat_dt_prop(node, "#address-cells", NULL);
464 int __init early_init_dt_scan_memory(unsigned long node, const char *uname,
467 char *type = of_get_flat_dt_prop(node, "device_type", NULL);
475 * /memory node, so look for the node called /memory@0.
482 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l);
484 reg = of_get_flat_dt_prop(node, "reg", &l);
490 pr_debug("memory scan node %s, reg size %ld, data: %x %x %x %x,\n",
510 int __init early_init_dt_scan_chosen(unsigned long node, const char *uname,
522 early_init_dt_check_for_initrd(node);
525 p = of_get_flat_dt_prop(node, "bootargs", &l);
536 early_init_dt_scan_chosen_arch(node);
602 /* Get pointer to OF "/chosen" node for use everywhere */