Home
last modified time | relevance | path

Searched refs:fdt (Results 1 – 14 of 14) sorted by relevance

/arch/arm/boot/compressed/
Datags_to_fdt.c12 static int node_offset(void *fdt, const char *node_path) in node_offset() argument
14 int offset = fdt_path_offset(fdt, node_path); in node_offset()
16 offset = fdt_add_subnode(fdt, 0, node_path); in node_offset()
20 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
23 int offset = node_offset(fdt, node_path); in setprop()
26 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
29 static int setprop_string(void *fdt, const char *node_path, in setprop_string() argument
32 int offset = node_offset(fdt, node_path); in setprop_string()
35 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
38 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell() argument
[all …]
D.gitignore15 fdt.c
16 fdt.h
DMakefile96 libfdt := fdt_rw.c fdt_ro.c fdt_wip.c fdt.c
97 libfdt_hdrs := fdt.h libfdt.h libfdt_internal.h
/arch/powerpc/boot/
Dlibfdt-wrapper.c54 static void *fdt; variable
61 int size = fdt_totalsize(fdt); in expand_buf()
68 rc = fdt_open_into(fdt, buf, size); in expand_buf()
73 fdt = buf; in expand_buf()
78 return offset_devp(fdt_path_offset(fdt, path)); in fdt_wrapper_finddevice()
87 p = fdt_getprop(fdt, devp_offset(devp), name, &len); in fdt_wrapper_getprop()
99 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop()
102 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop()
110 return fdt_del_node(fdt, devp_offset(devp)); in fdt_wrapper_del_node()
115 return offset_devp(fdt_parent_offset(fdt, devp_offset(devp))); in fdt_wrapper_get_parent()
[all …]
D.gitignore35 fdt.c
36 fdt.h
DMakefile67 libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c
68 libfdtheader := fdt.h libfdt.h libfdt_internal.h
/arch/openrisc/kernel/
Dsetup.c211 void __init or32_early_setup(void *fdt) in or32_early_setup() argument
213 if (fdt) in or32_early_setup()
214 pr_info("FDT at %p\n", fdt); in or32_early_setup()
216 fdt = __dtb_start; in or32_early_setup()
217 pr_info("Compiled-in FDT at %p\n", fdt); in or32_early_setup()
219 early_init_devtree(fdt); in or32_early_setup()
/arch/microblaze/kernel/
Dsetup.c100 unsigned int fdt, unsigned int msr, unsigned int tlb0, in machine_early_init() argument
149 if (fdt) in machine_early_init()
150 pr_info("FDT at 0x%08x\n", fdt); in machine_early_init()
/arch/microblaze/include/asm/
Dsetup.h39 unsigned int fdt, unsigned int msr, unsigned int tlb0,
/arch/c6x/kernel/
Dsetup.c269 const void *fdt = _fdt_start; in machine_init() local
286 if (dtb && dtb != fdt) in machine_init()
287 fdt = dtb; in machine_init()
290 early_init_dt_scan(fdt); in machine_init()
/arch/mips/cavium-octeon/
Dsetup.c1040 const void *fdt; in device_tree_init() local
1044 fdt = phys_to_virt(octeon_bootinfo->fdt_addr); in device_tree_init()
1045 if (fdt_check_header(fdt)) in device_tree_init()
1049 fdt = &__dtb_octeon_68xx_begin; in device_tree_init()
1052 fdt = &__dtb_octeon_3xxx_begin; in device_tree_init()
1056 initial_boot_params = (void *)fdt; in device_tree_init()
/arch/arm/boot/dts/
Dkirkwood-mplcec4.dts178 label = "fdt";
/arch/arm/mach-s3c64xx/
DKconfig309 Select this if a fdt blob is available for your S3C64XX SoC based
/arch/arm/mach-s3c24xx/
DKconfig433 Select this if a fdt blob is available for the S3C2416 SoC based board.