Lines Matching defs:node

51  * dt_add_psci_node() - Add a PSCI node into an existing device tree
54 * Add a device tree node describing PSCI into the root level of an existing
58 * An existing PSCI node will not be touched, the function will return success
69 WARN("PSCI Device Tree node already exists!\n");
105 * Call in a loop until it returns 0. Recalculate the node offset after
182 * Add a region of memory to the /reserved-memory node in a device tree in
183 * memory, creating that node if required. Each region goes into a subnode
184 * of that node and has a @node_name, a @base address and a @size.
192 * those of the root node.
236 * fdt_add_cpu() Add a new CPU node to the DT
238 * @parent: Offset of the parent node
241 * Create and add a new cpu node to a DTB.
243 * Return the offset of the new node or a negative value in case of error
267 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
274 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
281 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
288 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
297 * fdt_add_cpus_node() - Add the cpus node to the DTB
304 * add a cpus node to the DTB with all the valid CPUs on the system.
305 * If there is already a /cpus node, exit gracefully
307 * A system with two CPUs would generate a node equivalent or similar to:
330 * Return the offset of the node or a negative value on error.
348 ERROR ("FDT: add subnode \"cpus\" node to parent node failed");
354 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
361 ERROR ("FDT: write to \"%s\" property of node at offset %i failed\n",
367 * Populate the node with the CPUs.
368 * As libfdt prepends subnodes within a node, reverse the index count
427 /* Create the idle-states node and its child nodes. */
473 /* Link each cpu node to the idle state nodes. */
512 * Find the DT node describing the GICv3 interrupt controller, and adjust
589 * @eth_idx: number of Ethernet interface in /aliases node
592 * Use the generic local-mac-address property in a network device DT node
607 int node;
619 node = fdt_path_offset(dtb, path);
620 if (node < 0) {
621 ERROR("Path \"%s\" not found in DT: %d\n", path, node);
622 return node;
625 return fdt_setprop(dtb, node, "local-mac-address", mac_addr, 6);