/haiku/src/system/boot/platform/riscv/ |
H A D | smp.h | 40 uint32 phandle; member in struct:CpuInfo 46 CpuInfo* smp_find_cpu(uint32 phandle);
|
H A D | smp.cpp | 17 smp_find_cpu(uint32 phandle) argument
|
H A D | fdt.cpp | 134 uint32 phandle = fdt32_to_cpu(*it); local 137 CpuInfo* cpuInfo = smp_find_cpu(phandle); 138 dprintf(" context %" B_PRIu32 ": %" B_PRIu32 "\n", contextId, phandle);
|
/haiku/headers/private/kernel/boot/platform/efi/ |
H A D | arch_smp.h | 18 uint32 phandle; member in struct:platform_cpu_info 34 platform_cpu_info* arch_smp_find_cpu(uint32 phandle);
|
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_dtb.cpp | 63 info->phandle = fdt_get_phandle(fdt, subNode); 64 dprintf(" phandle: %" B_PRIu32 "\n", info->phandle); 88 uint32 phandle = fdt32_to_cpu(*it); local 91 platform_cpu_info* cpuInfo = arch_smp_find_cpu(phandle); 92 dprintf(" context %" B_PRIu32 ": %" B_PRIu32 "\n", contextId, phandle);
|
H A D | arch_smp.cpp | 145 arch_smp_find_cpu(uint32 phandle) argument 148 if (sCpus[i].phandle == phandle)
|
/haiku/headers/os/drivers/bus/ |
H A D | FDT.h | 18 device_node* (*node_by_phandle)(struct fdt_bus* bus, int phandle);
|
/haiku/src/libs/libfdt/ |
H A D | fdt_overlay.c | 15 * overlay_get_target_phandle - retrieves the target phandle of a fragment 19 * overlay_get_target_phandle() retrieves the target phandle of an 20 * overlay fragment when that fragment uses a phandle (target 24 * the phandle pointed by the target property 25 * 0, if the phandle was not found 26 * -1, if the phandle was malformed 52 * done (through a phandle or a path) 61 uint32_t phandle; local 65 /* Try first to do a phandle based lookup */ 66 phandle 375 uint32_t phandle; local [all...] |
H A D | fdt_ro.c | 114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) argument 136 if (phandle) 137 *phandle = max; 142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) argument 154 if (phandle) 155 *phandle = max + 1; 515 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); 517 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 681 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument 685 if ((phandle [all...] |
/haiku/headers/libs/libfdt/ |
H A D | libfdt.h | 42 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle. 43 * This can be caused either by an invalid phandle property 44 * length, or the phandle value was either 0 or -1, which are 99 * phandle available anymore without causing an overflow */ 370 * fdt_find_max_phandle - find and return the highest phandle in a tree 372 * @phandle: return location for the highest phandle value found in the tree 374 * fdt_find_max_phandle() finds the highest phandle value in the given device 375 * tree. The value returned in @phandle is only valid if the function returns 381 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle); 400 uint32_t phandle; local [all...] |
/haiku/src/add-ons/kernel/bus_managers/fdt/ |
H A D | fdt_module.cpp | 132 prop = fdt_getprop(gFDT, node, "phandle", &propLen); 273 fdt_bus_node_by_phandle(fdt_bus* bus, int phandle) argument 278 if (!bus->phandles.Get(phandle, devNode)) 560 uint32 phandle = fdt32_to_cpu(*(prop + 2 * index)); local 566 *interruptController = fdt_bus_node_by_phandle(bus, phandle);
|
/haiku/src/system/boot/platform/efi/ |
H A D | dtb.cpp | 167 strcmp(fdt_string(fdt, fdt32_to_cpu(property->nameoff)), "phandle") == 0 || 459 uint32_t phandle = fdt32_to_cpu(*prop); local 460 return fdt_node_offset_by_phandle(fdt, phandle); 527 uint32_t phandle = fdt32_to_cpu(*prop); local 528 int offset = fdt_node_offset_by_phandle(fdt, phandle);
|