Home
last modified time | relevance | path

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

/arch/arm/boot/compressed/
Datags_to_fdt.c4 static int node_offset(void *fdt, const char *node_path) in node_offset() argument
6 int offset = fdt_path_offset(fdt, node_path); in node_offset()
8 offset = fdt_add_subnode(fdt, 0, node_path); in node_offset()
12 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
15 int offset = node_offset(fdt, node_path); in setprop()
18 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
21 static int setprop_string(void *fdt, const char *node_path, in setprop_string() argument
24 int offset = node_offset(fdt, node_path); in setprop_string()
27 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
30 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell() argument
[all …]
D.gitignore12 fdt.c
13 fdt.h
DMakefile99 libfdt := fdt_rw.c fdt_ro.c fdt_wip.c fdt.c
100 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.gitignore37 fdt.c
38 fdt.h
DMakefile59 libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c
60 libfdtheader := fdt.h libfdt.h libfdt_internal.h
/arch/powerpc/sysdev/bestcomm/
Dbestcomm_priv.h56 u32 fdt; member
76 u32 *fdt; member
330 u32 *fdt = &bcom_eng->tdt[task].fdt; in bcom_set_task_pragma() local
331 *fdt = (*fdt & ~0xff) | pragma; in bcom_set_task_pragma()
Dbestcomm.c292 bcom_eng->fdt = bcom_sram_alloc(fdt_size, BCOM_FDT_ALIGN, &fdt_pa); in bcom_engine_init()
294 if (!bcom_eng->tdt || !bcom_eng->ctx || !bcom_eng->var || !bcom_eng->fdt) { in bcom_engine_init()
300 bcom_sram_free(bcom_eng->fdt); in bcom_engine_init()
308 memset(bcom_eng->fdt, 0x00, fdt_size); in bcom_engine_init()
311 memcpy(&bcom_eng->fdt[48], fdt_ops, sizeof(fdt_ops)); in bcom_engine_init()
321 bcom_eng->tdt[task].fdt = fdt_pa; in bcom_engine_init()
360 bcom_sram_free(bcom_eng->fdt); in bcom_engine_cleanup()
/arch/microblaze/kernel/
Dsetup.c100 unsigned int fdt, unsigned int msr, unsigned int tlb0, in machine_early_init() argument
155 if (fdt) in machine_early_init()
156 printk("FDT at 0x%08x\n", fdt); in machine_early_init()
/arch/mips/kernel/
Dkspd.c315 struct fdtable *fdt; in sp_cleanup() local
323 fdt = files_fdtable(files); in sp_cleanup()
327 if (i >= fdt->max_fds) in sp_cleanup()
329 set = fdt->open_fds[j++]; in sp_cleanup()
332 struct file * file = xchg(&fdt->fd[i], NULL); in sp_cleanup()
/arch/openrisc/kernel/
Dsetup.c212 void __init or32_early_setup(unsigned int fdt) in or32_early_setup() argument
214 if (fdt) { in or32_early_setup()
215 early_init_devtree((void*) fdt); in or32_early_setup()
216 printk(KERN_INFO "FDT at 0x%08x\n", fdt); in or32_early_setup()
/arch/microblaze/include/asm/
Dsetup.h44 unsigned int fdt, unsigned int msr, unsigned int tlb0,
/arch/powerpc/platforms/cell/spufs/
Dcoredump.c120 struct fdtable *fdt = files_fdtable(current->files); in coredump_next_context() local
124 for (; *fd < fdt->max_fds; (*fd)++) { in coredump_next_context()
125 if (!fd_is_open(*fd, fdt)) in coredump_next_context()
/arch/c6x/kernel/
Dsetup.c272 struct boot_param_header *fdt = (struct boot_param_header *)_fdt_start; in machine_init() local
289 if (dtb && dtb != fdt) in machine_init()
290 fdt = dtb; in machine_init()
293 early_init_devtree(fdt); in machine_init()
/arch/arm/mach-exynos/
DKconfig381 Select this if a fdt blob is available for the Exynos4 SoC based board.
393 Select this if a fdt blob is available for the EXYNOS4 SoC based board.