Home
last modified time | relevance | path

Searched refs:addressCells (Results 1 – 3 of 3) sorted by relevance

/haiku/src/system/boot/platform/riscv/
H A Dfdt.cpp55 GetReg(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, size_t idx, in GetReg() argument
63 size_t entrySize = 4*(addressCells + sizeCells); in GetReg()
69 switch (addressCells) { in GetReg()
98 HandleFdt(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, in HandleFdt() argument
128 GetReg(fdt, node, addressCells, sizeCells, 0, sPlic); in HandleFdt()
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp238 int addressCells = 3; in dump_fdt() local
246 addressCells = fdt32_to_cpu(*prop); in dump_fdt()
259 for (int i = 0; i < addressCells; i++) { in dump_fdt()
379 uint32 addressCells = dtb_get_address_cells(fdt, node); in dtb_get_reg() local
387 size_t entrySize = 4 * (addressCells + sizeCells); in dtb_get_reg()
393 switch (addressCells) { in dtb_get_reg()
414 while (rangesSize >= (rangesPos + parentAddressCells + addressCells + sizeCells)) { in dtb_get_reg()
419 if (addressCells == 1) { in dtb_get_reg()
424 rangesPos += addressCells; in dtb_get_reg()
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp431 uint32 addressCells = fdt_get_address_cells(gFDT, fdtNode); in fdt_device_get_reg() local
433 size_t entrySize = 4 * (addressCells + sizeCells); in fdt_device_get_reg()
439 const void* sizePtr = (const uint32*)addressPtr + addressCells; in fdt_device_get_reg()
441 switch (addressCells) { in fdt_device_get_reg()
604 int addressCells = 3; in fdt_device_get_interrupt_map() local
612 addressCells = B_BENDIAN_TO_HOST_INT32(*(uint32*)property); in fdt_device_get_interrupt_map()
623 it += addressCells; in fdt_device_get_interrupt_map()