Lines Matching refs:fdt

917 	const void *fdt = initial_boot_params;  in early_init_dt_scan_chosen_stdout()  local
920 offset = fdt_path_offset(fdt, "/chosen"); in early_init_dt_scan_chosen_stdout()
922 offset = fdt_path_offset(fdt, "/chosen@0"); in early_init_dt_scan_chosen_stdout()
926 p = fdt_getprop(fdt, offset, "stdout-path", &l); in early_init_dt_scan_chosen_stdout()
928 p = fdt_getprop(fdt, offset, "linux,stdout-path", &l); in early_init_dt_scan_chosen_stdout()
938 offset = fdt_path_offset_namelen(fdt, p, l); in early_init_dt_scan_chosen_stdout()
948 if (fdt_node_check_compatible(fdt, offset, match->compatible)) in early_init_dt_scan_chosen_stdout()
965 const void *fdt = initial_boot_params; in early_init_dt_scan_root() local
966 int node = fdt_path_offset(fdt, "/"); in early_init_dt_scan_root()
1001 const void *fdt = initial_boot_params; in early_init_dt_scan_memory() local
1003 fdt_for_each_subnode(node, fdt, 0) { in early_init_dt_scan_memory()
1013 if (!of_fdt_device_is_available(fdt, node)) in early_init_dt_scan_memory()
1026 fdt_get_name(fdt, node, NULL), l); in early_init_dt_scan_memory()
1058 const void *fdt = initial_boot_params; in early_init_dt_scan_chosen() local
1060 node = fdt_path_offset(fdt, "/chosen"); in early_init_dt_scan_chosen()
1062 node = fdt_path_offset(fdt, "/chosen@0"); in early_init_dt_scan_chosen()
1220 static void *__init copy_device_tree(void *fdt) in copy_device_tree() argument
1225 size = fdt_totalsize(fdt); in copy_device_tree()
1230 memcpy(dt, fdt, size); in copy_device_tree()
1245 void *fdt = initial_boot_params; in unflatten_device_tree() local
1251 if (!fdt) { in unflatten_device_tree()
1252 fdt = (void *) __dtb_empty_root_begin; in unflatten_device_tree()
1254 if (fdt_totalsize(fdt) > in unflatten_device_tree()
1259 of_fdt_crc32 = crc32_be(~0, fdt, fdt_totalsize(fdt)); in unflatten_device_tree()
1260 fdt = copy_device_tree(fdt); in unflatten_device_tree()
1263 __unflatten_device_tree(fdt, NULL, &of_root, in unflatten_device_tree()
1294 static __ro_after_init BIN_ATTR_SIMPLE_ADMIN_RO(fdt); in of_fdt_raw_init()