Lines Matching defs:node
41 * Validate the tb_fw_config is a valid DTB file and returns the node offset
45 * int *node - Returns the node offset to "arm,tb_fw" property if found.
49 int arm_dyn_tb_fw_cfg_init(void *dtb, int *node)
52 assert(node != NULL);
60 /* Assert the node offset point to "arm,tb_fw" compatible property */
61 *node = fdt_node_offset_by_compatible(dtb, -1, "arm,tb_fw");
62 if (*node < 0) {
91 * and get the DTB root node.
95 ERROR("Invalid%s loaded. Unable to get root node\n",
143 int err, node;
147 * and get the DTB root node.
157 /* Assert the node offset point to compatible property */
158 node = fdt_node_offset_by_compatible(dtb, -1, compatible);
159 if (node < 0) {
162 return node;
169 err = fdtw_write_inplace_cells(dtb, node,
178 err = fdtw_write_inplace_cells(dtb, node,
187 err = fdtw_write_inplace_cells(dtb, node,
196 err = fdtw_write_inplace_cells(dtb, node,
352 int node, rc;
360 /* Assert the node offset point to compatible property */
361 node = fdt_node_offset_by_compatible(dtb, -1, compatible);
362 if (node < 0) {
365 return node;
370 rc = fdt_read_uint64(dtb, node, DTB_PROP_HW_LOG_ADDR, log_addr);
377 rc = fdt_read_uint32(dtb, node, DTB_PROP_HW_LOG_SIZE, (uint32_t *)log_size);
384 rc = fdt_read_uint32(dtb, node, DTB_PROP_HW_LOG_MAX_SIZE,