Searched refs:root_off (Results 1 – 3 of 3) sorted by relevance
| /components/drivers/ofw/ |
| A D | raw.c | 133 int chosen_offset = -1, root_off = fdt_path_offset(fdt, "/"); in fdt_install_initrd() local 135 if (root_off >= 0) in fdt_install_initrd() 137 chosen_offset = fdt_subnode_offset(fdt, root_off, "chosen"); in fdt_install_initrd() 141 chosen_offset = fdt_add_subnode_possible(fdt, root_off, "chosen"); in fdt_install_initrd() 179 bool is_u64 = (fdt_io_addr_cells(fdt, root_off) == 2); in fdt_install_initrd()
|
| A D | fdt.c | 1038 int root_off; in rt_fdt_unflatten_single() local 1042 if (fdt && (root_off = fdt_path_offset(fdt, "/")) >= 0) in rt_fdt_unflatten_single() 1058 if (!fdt_unflatten_single(root, root_off)) in rt_fdt_unflatten_single()
|
| /components/legacy/fdt/src/ |
| A D | dtb_get.c | 67 off_t root_off; in _dtb_node_get_dtb_nodes_list() local 77 if ((root_off = fdt_path_offset(current_fdt, pathname)) >= 0) in _dtb_node_get_dtb_nodes_list() 80 node_off = fdt_first_subnode(current_fdt, root_off); in _dtb_node_get_dtb_nodes_list() 168 int root_off; in dtb_node_get_dtb_list() local 198 root_off = fdt_path_offset(fdt, "/"); in dtb_node_get_dtb_list() 243 dtb_node_head->handle = fdt_get_phandle(fdt, root_off); in dtb_node_get_dtb_list() 254 …if ((fdt_exec_status = _dtb_node_get_dtb_properties_list(dtb_node_head->properties, root_off)) != … in dtb_node_get_dtb_list()
|
Completed in 9 milliseconds