Searched refs:fdt_getprop (Results 1 - 13 of 13) sorted by relevance

/haiku/src/system/boot/platform/riscv/
H A Dfdt.cpp59 const uint8* prop = (const uint8*)fdt_getprop(fdt, node, "reg", &propSize);
86 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "interrupts-extended", NULL)) {
89 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "interrupts", NULL)) {
105 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "timebase-frequency", NULL))
109 const char* device_type = (const char*)fdt_getprop(fdt, node,
112 gMemBase = (uint8*)fdt64_to_cpu(*((uint64*)fdt_getprop(fdt, node,
114 gTotalMem = fdt64_to_cpu(*((uint64*)fdt_getprop(fdt, node,
119 const char* compatible = (const char*)fdt_getprop(fdt, node,
123 uint64* reg = (uint64*)fdt_getprop(fdt, node, "reg", NULL);
130 if (uint32* prop = (uint32*)fdt_getprop(fd
[all...]
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_dtb.cpp32 const char* deviceType = (const char*)fdt_getprop(fdt, node,
37 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "boot-hartid", NULL))
40 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "timebase-frequency", NULL))
47 if (!(fdt_getprop(fdt, node, "mmu-type", NULL) != NULL))
54 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node,
69 const char* compatible = (const char*)fdt_getprop(fdt, node,
84 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "interrupts-extended", &propSize)) {
/haiku/src/system/boot/platform/efi/arch/arm64/
H A Darch_dtb.cpp40 const char* deviceType = (const char*)fdt_getprop(fdt, node,
49 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node,
58 const char* compatible = (const char*)fdt_getprop(fdt, node,
/haiku/src/system/boot/platform/efi/arch/arm/
H A Darch_dtb.cpp48 const char* deviceType = (const char*)fdt_getprop(fdt, node,
57 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node,
66 const char* compatible = (const char*)fdt_getprop(fdt, node,
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp108 prop = fdt_getprop(gFDT, node, "device_type", &propLen);
112 prop = fdt_getprop(gFDT, node, "compatible", &propLen);
132 prop = fdt_getprop(gFDT, node, "phandle", &propLen);
377 return fdt_getprop(gFDT, (int)fdtNode, name, len);
390 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#address-cells", NULL);
408 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#size-cells", NULL);
427 const void* prop = fdt_getprop(gFDT, (int)fdtNode, "reg", &propLen);
472 prop = (uint32*)fdt_getprop(gFDT, node, "interrupt-parent", &propLen);
492 prop = (uint32*)fdt_getprop(gFDT, node, "#interrupt-cells", &propLen);
513 const uint32 *prop = (uint32*)fdt_getprop(gFD
[all...]
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp244 prop = (uint32*)fdt_getprop(fdt, node, "#address-cells", NULL);
248 prop = (uint32*)fdt_getprop(fdt, node, "#interrupt-cells", NULL);
285 prop = (uint32*)fdt_getprop(fdt, parentNode, "#address-cells", NULL);
289 prop = (uint32*)fdt_getprop(fdt, parentNode, "#interrupt-cells", NULL);
349 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#address-cells", NULL);
367 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#size-cells", NULL);
383 const uint8* prop = (const uint8*)fdt_getprop(fdt, node, "reg", &propSize);
409 uint32 *ranges = (uint32 *)fdt_getprop(fdt, parent, "ranges", (int *)&rangesSize);
457 prop = (uint32*)fdt_getprop(fdt, node, "interrupt-parent", NULL);
475 uint32* prop = (uint32*)fdt_getprop(fd
[all...]
/haiku/src/libs/libfdt/
H A Dfdt_wip.c39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
H A Dfdt_ro.c502 const void *fdt_getprop(const void *fdt, int nodeoffset, function
515 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
517 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
665 * property of a node in fdt_getprop(), then if that didn't
672 val = fdt_getprop(fdt, offset, propname, &len);
728 list = fdt_getprop(fdt, nodeoffset, property, &length);
754 list = fdt_getprop(fdt, nodeoffset, property, &length);
785 list = fdt_getprop(fdt, nodeoffset, property, &length);
829 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);
H A Dfdt_addresses.c20 c = fdt_getprop(fdt, nodeoffset, name, &len);
H A Dfdt_overlay.c33 val = fdt_getprop(fdto, fragment, "target", &len);
73 path = fdt_getprop(fdto, fragment, "target-path", &path_len);
123 val = fdt_getprop(fdt, node, name, &len);
246 tree_val = fdt_getprop(fdto, tree_node, name, &tree_len);
383 symbol_path = fdt_getprop(fdt, symbols_off, label,
/haiku/src/system/boot/platform/u-boot/
H A Dstart.cpp245 prop = fdt_getprop(gFDT, node, "linux,initrd-start", &len);
248 prop = fdt_getprop(gFDT, node, "linux,initrd-end", &len);
328 prop = fdt_getprop(gFDT, node, "bootargs", &len);
/haiku/src/system/boot/platform/u-boot/arch/ppc/
H A Darch_cpu.cpp193 fdt_model = (const char *)fdt_getprop(gFDT, node, "model", &len);
/haiku/headers/libs/libfdt/
H A Dlibfdt.h644 * Note that this code only works on device tree versions >= 16. fdt_getprop()
767 * Identical to fdt_getprop(), but only examine the first namelen
785 * fdt_getprop - retrieve the value of a given property
791 * fdt_getprop() retrieves a pointer to the value of the property
812 const void *fdt_getprop(const void *fdt, int nodeoffset,
817 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);

Completed in 149 milliseconds