Lines Matching refs:fdt

948 	const void *fdt = initial_boot_params;  in early_init_dt_scan_chosen_stdout()  local
951 offset = fdt_path_offset(fdt, "/chosen"); in early_init_dt_scan_chosen_stdout()
953 offset = fdt_path_offset(fdt, "/chosen@0"); in early_init_dt_scan_chosen_stdout()
957 p = fdt_getprop(fdt, offset, "stdout-path", &l); in early_init_dt_scan_chosen_stdout()
959 p = fdt_getprop(fdt, offset, "linux,stdout-path", &l); in early_init_dt_scan_chosen_stdout()
969 offset = fdt_path_offset_namelen(fdt, p, l); in early_init_dt_scan_chosen_stdout()
979 if (fdt_node_check_compatible(fdt, offset, match->compatible)) in early_init_dt_scan_chosen_stdout()
996 const void *fdt = initial_boot_params; in early_init_dt_scan_root() local
997 int node = fdt_path_offset(fdt, "/"); in early_init_dt_scan_root()
1032 const void *fdt = initial_boot_params; in early_init_dt_scan_memory() local
1034 fdt_for_each_subnode(node, fdt, 0) { in early_init_dt_scan_memory()
1044 if (!of_fdt_device_is_available(fdt, node)) in early_init_dt_scan_memory()
1056 fdt_get_name(fdt, node, NULL), l); in early_init_dt_scan_memory()
1087 const void *fdt = initial_boot_params; in early_init_dt_scan_chosen() local
1089 node = fdt_path_offset(fdt, "/chosen"); in early_init_dt_scan_chosen()
1091 node = fdt_path_offset(fdt, "/chosen@0"); in early_init_dt_scan_chosen()
1249 static void *__init copy_device_tree(void *fdt) in copy_device_tree() argument
1254 size = fdt_totalsize(fdt); in copy_device_tree()
1259 memcpy(dt, fdt, size); in copy_device_tree()
1274 void *fdt = initial_boot_params; in unflatten_device_tree() local
1280 if (!fdt) { in unflatten_device_tree()
1281 fdt = (void *) __dtb_empty_root_begin; in unflatten_device_tree()
1283 if (fdt_totalsize(fdt) > in unflatten_device_tree()
1288 of_fdt_crc32 = crc32_be(~0, fdt, fdt_totalsize(fdt)); in unflatten_device_tree()
1289 fdt = copy_device_tree(fdt); in unflatten_device_tree()
1292 __unflatten_device_tree(fdt, NULL, &of_root, in unflatten_device_tree()
1323 static __ro_after_init BIN_ATTR_SIMPLE_ADMIN_RO(fdt); in of_fdt_raw_init()