of_read_number 455 arch/arm64/kernel/smp.c hwid = of_read_number(cell, of_n_addr_cells(dn)); of_read_number 215 arch/powerpc/kernel/cacheinfo.c *ret = of_read_number(cache_size, 1); of_read_number 250 arch/powerpc/kernel/cacheinfo.c *ret = of_read_number(line_size, 1); of_read_number 265 arch/powerpc/kernel/cacheinfo.c *ret = of_read_number(nr_sets, 1); of_read_number 1227 arch/powerpc/kernel/fadump.c base = of_read_number(prop + (i * 4) + 0, 2); of_read_number 1228 arch/powerpc/kernel/fadump.c size = of_read_number(prop + (i * 4) + 2, 2); of_read_number 43 arch/powerpc/kernel/ima_kexec.c *addr = of_read_number(prop, addr_cells); of_read_number 44 arch/powerpc/kernel/ima_kexec.c *size = of_read_number(prop + 4 * addr_cells, size_cells); of_read_number 212 arch/powerpc/kernel/isa-bridge.c size = of_read_number(ranges + i + na + pna, ns); of_read_number 289 arch/powerpc/kernel/legacy_serial.c base = of_read_number(&addrp[2], 1); of_read_number 296 arch/powerpc/kernel/pci_dn.c u32 addr = of_read_number(regs, 1); of_read_number 305 arch/powerpc/kernel/pci_dn.c pdn->vendor_id = regs ? of_read_number(regs, 1) : 0; of_read_number 307 arch/powerpc/kernel/pci_dn.c pdn->device_id = regs ? of_read_number(regs, 1) : 0; of_read_number 309 arch/powerpc/kernel/pci_dn.c pdn->class_code = regs ? of_read_number(regs, 1) : 0; of_read_number 312 arch/powerpc/kernel/pci_dn.c pdn->pci_ext_config_space = (type && of_read_number(type, 1) == 1); of_read_number 411 arch/powerpc/kernel/pci_dn.c class = of_read_number(classp, 1); of_read_number 29 arch/powerpc/kernel/pci_of_scan.c return of_read_number(prop, 1); of_read_number 138 arch/powerpc/kernel/pci_of_scan.c flags = pci_parse_of_flags(of_read_number(addrs, 1), 0); of_read_number 141 arch/powerpc/kernel/pci_of_scan.c base = of_read_number(&addrs[1], 2); of_read_number 142 arch/powerpc/kernel/pci_of_scan.c size = of_read_number(&addrs[3], 2); of_read_number 145 arch/powerpc/kernel/pci_of_scan.c i = of_read_number(addrs, 1) & 0xff; of_read_number 279 arch/powerpc/kernel/pci_of_scan.c of_read_number(busrange, 1)); of_read_number 282 arch/powerpc/kernel/pci_of_scan.c of_read_number(busrange, 1)); of_read_number 291 arch/powerpc/kernel/pci_of_scan.c pci_bus_insert_busn_res(bus, of_read_number(busrange, 1), of_read_number 292 arch/powerpc/kernel/pci_of_scan.c of_read_number(busrange+1, 1)); of_read_number 305 arch/powerpc/kernel/pci_of_scan.c flags = pci_parse_of_flags(of_read_number(ranges, 1), 1); of_read_number 306 arch/powerpc/kernel/pci_of_scan.c size = of_read_number(&ranges[6], 2); of_read_number 326 arch/powerpc/kernel/pci_of_scan.c region.start = of_read_number(&ranges[1], 2); of_read_number 365 arch/powerpc/kernel/pci_of_scan.c devfn = (of_read_number(reg, 1) >> 8) & 0xff; of_read_number 603 arch/powerpc/kernel/prom.c base = of_read_number(prop + (i * 4) + 0, 2); of_read_number 604 arch/powerpc/kernel/prom.c size = of_read_number(prop + (i * 4) + 2, 2); of_read_number 19 arch/powerpc/kernel/prom_parse.c *busno = of_read_number(dma_window, 1); of_read_number 26 arch/powerpc/kernel/prom_parse.c cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn); of_read_number 27 arch/powerpc/kernel/prom_parse.c *phys = of_read_number(dma_window, cells); of_read_number 32 arch/powerpc/kernel/prom_parse.c cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn); of_read_number 33 arch/powerpc/kernel/prom_parse.c *size = of_read_number(dma_window, cells); of_read_number 198 arch/powerpc/mm/drmem.c lmb->drc_index = of_read_number(p++, 1); of_read_number 202 arch/powerpc/mm/drmem.c lmb->aa_index = of_read_number(p++, 1); of_read_number 203 arch/powerpc/mm/drmem.c lmb->flags = of_read_number(p++, 1); of_read_number 214 arch/powerpc/mm/drmem.c n_lmbs = of_read_number(prop++, 1); of_read_number 229 arch/powerpc/mm/drmem.c dr_cell->seq_lmbs = of_read_number(p++, 1); of_read_number 231 arch/powerpc/mm/drmem.c dr_cell->drc_index = of_read_number(p++, 1); of_read_number 232 arch/powerpc/mm/drmem.c dr_cell->aa_index = of_read_number(p++, 1); of_read_number 233 arch/powerpc/mm/drmem.c dr_cell->flags = of_read_number(p++, 1); of_read_number 245 arch/powerpc/mm/drmem.c lmb_sets = of_read_number(prop++, 1); of_read_number 356 arch/powerpc/mm/drmem.c drmem_info->n_lmbs = of_read_number(prop++, 1); of_read_number 379 arch/powerpc/mm/drmem.c lmb_sets = of_read_number(prop++, 1); of_read_number 220 arch/powerpc/mm/numa.c distance_lookup_table[nid][i] = of_read_number(entry, 1); of_read_number 234 arch/powerpc/mm/numa.c if (of_read_number(associativity, 1) >= min_common_depth) of_read_number 235 arch/powerpc/mm/numa.c nid = of_read_number(&associativity[min_common_depth], 1); of_read_number 242 arch/powerpc/mm/numa.c of_read_number(associativity, 1) >= distance_ref_points_depth) { of_read_number 328 arch/powerpc/mm/numa.c depth = of_read_number(distance_ref_points, 1); of_read_number 336 arch/powerpc/mm/numa.c depth = of_read_number(&distance_ref_points[1], 1); of_read_number 375 arch/powerpc/mm/numa.c result = (result << 32) | of_read_number(*buf, 1); of_read_number 413 arch/powerpc/mm/numa.c aa->n_arrays = of_read_number(prop++, 1); of_read_number 414 arch/powerpc/mm/numa.c aa->array_sz = of_read_number(prop++, 1); of_read_number 449 arch/powerpc/mm/numa.c nid = of_read_number(&aa.arrays[index], 1); of_read_number 115 arch/powerpc/platforms/4xx/pci.c u64 pci_addr = of_read_number(ranges + 1, 2); of_read_number 117 arch/powerpc/platforms/4xx/pci.c size = of_read_number(ranges + pna + 3, 2); of_read_number 835 arch/powerpc/platforms/cell/iommu.c size = of_read_number(ranges + i + naddr + pna, nsize); of_read_number 844 arch/powerpc/platforms/cell/iommu.c dev_addr = of_read_number(ranges + best, naddr); of_read_number 236 arch/powerpc/platforms/maple/setup.c openpic_addr = of_read_number(opprop, naddr); of_read_number 264 arch/powerpc/platforms/maple/setup.c unsigned long isuaddr = of_read_number(opprop + i, naddr); of_read_number 282 arch/powerpc/platforms/pasemi/setup.c openpic_addr = of_read_number(opprop, naddr); of_read_number 655 arch/powerpc/platforms/powernv/opal-fadump.c base = of_read_number(prop + (i * 4) + 0, 2); of_read_number 657 arch/powerpc/platforms/powernv/opal-fadump.c end += of_read_number(prop + (i * 4) + 2, 2); of_read_number 63 arch/powerpc/platforms/powernv/opal-prd.c range_addr = of_read_number(addrp, 2); of_read_number 114 arch/powerpc/platforms/powernv/opal.c opal.base = of_read_number(basep, basesz/4); of_read_number 115 arch/powerpc/platforms/powernv/opal.c opal.entry = of_read_number(entryp, entrysz/4); of_read_number 116 arch/powerpc/platforms/powernv/opal.c opal.size = of_read_number(sizep, runtimesz/4); of_read_number 178 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 0, 2); of_read_number 181 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 2, 1); of_read_number 183 arch/powerpc/platforms/powernv/opal.c of_read_number(prop + (i * 5) + 3, 2); of_read_number 484 arch/powerpc/platforms/powernv/pci-ioda.c res->end = res->start + of_read_number(r + 4, 2) - 1; of_read_number 486 arch/powerpc/platforms/powernv/pci-ioda.c pci_addr = of_read_number(r, 2); of_read_number 960 arch/powerpc/platforms/pseries/iommu.c start = of_read_number(memcell_buf, n_mem_addr_cells); of_read_number 962 arch/powerpc/platforms/pseries/iommu.c size = of_read_number(memcell_buf, n_mem_size_cells); of_read_number 163 arch/powerpc/platforms/pseries/pci.c max_config_vfs = of_read_number(&max_vfs[0], 1); of_read_number 537 arch/powerpc/platforms/pseries/rtas-fadump.c u32 type = (u32)of_read_number(sections, 1); of_read_number 598 arch/powerpc/platforms/pseries/setup.c num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); of_read_number 605 arch/powerpc/platforms/pseries/setup.c ret = of_read_number(&indexes[i], 2); of_read_number 608 arch/powerpc/platforms/pseries/setup.c ret = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); of_read_number 611 arch/powerpc/platforms/pseries/setup.c ret = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); of_read_number 624 arch/powerpc/platforms/pseries/setup.c num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); of_read_number 629 arch/powerpc/platforms/pseries/setup.c base = of_read_number(&indexes[i], 2); of_read_number 630 arch/powerpc/platforms/pseries/setup.c size = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); of_read_number 631 arch/powerpc/platforms/pseries/setup.c res->flags = pci_parse_of_flags(of_read_number of_read_number 651 arch/powerpc/platforms/pseries/setup.c num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); of_read_number 655 arch/powerpc/platforms/pseries/setup.c base = of_read_number(&indexes[i], 2); of_read_number 656 arch/powerpc/platforms/pseries/setup.c size = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); of_read_number 1394 arch/powerpc/platforms/pseries/vio.c unit_address = of_read_number(prop, 1); of_read_number 1404 arch/powerpc/platforms/pseries/vio.c viodev->resource_id = of_read_number(prop, 1); of_read_number 1670 arch/powerpc/platforms/pseries/vio.c (uint32_t)of_read_number(prop, 1)); of_read_number 546 arch/powerpc/sysdev/fsl_rio.c range_start = of_read_number(dt_range, aw); of_read_number 574 arch/powerpc/sysdev/fsl_rio.c range_start = of_read_number(dt_range, aw); of_read_number 607 arch/powerpc/sysdev/fsl_rio.c range_start = of_read_number(dt_range + aw, paw); of_read_number 608 arch/powerpc/sysdev/fsl_rio.c range_size = of_read_number(dt_range + aw + paw, sw); of_read_number 1097 arch/powerpc/sysdev/fsl_rmu.c msg_start = of_read_number(msg_addr, aw); of_read_number 277 arch/powerpc/sysdev/xics/icp-native.c *indx = of_read_number(ireg, 1); of_read_number 279 arch/powerpc/sysdev/xics/icp-native.c num_servers = of_read_number(ireg + 1, 1); of_read_number 67 arch/sh/boards/of-generic.c if (cell) id = of_read_number(cell, of_n_addr_cells(np)); of_read_number 793 drivers/bus/fsl-mc/fsl-mc-bus.c range->mc_region_type = of_read_number(cell, 1); of_read_number 794 drivers/bus/fsl-mc/fsl-mc-bus.c range->start_mc_offset = of_read_number(cell + 1, of_read_number 797 drivers/bus/fsl-mc/fsl-mc-bus.c range->start_phys_addr = of_read_number(cell, paddr_cells); of_read_number 800 drivers/bus/fsl-mc/fsl-mc-bus.c of_read_number(cell, mc_size_cells); of_read_number 1259 drivers/bus/mvebu-mbus.c windowid = of_read_number(r, 1); of_read_number 1266 drivers/bus/mvebu-mbus.c base = of_read_number(r + c_addr_cells, addr_cells); of_read_number 1267 drivers/bus/mvebu-mbus.c size = of_read_number(r + c_addr_cells + addr_cells, of_read_number 584 drivers/crypto/nx/nx-842-pseries.c const unsigned int maxsglen = of_read_number(prop->value, 1); of_read_number 302 drivers/edac/cpc925_edac.c start = of_read_number(reg, aw); of_read_number 304 drivers/edac/cpc925_edac.c size = of_read_number(reg, sw); of_read_number 738 drivers/firmware/efi/efi.c val = of_read_number(prop, len / sizeof(u32)); of_read_number 426 drivers/fsi/fsi-core.c if (of_read_number(prop, 1) != addr) of_read_number 429 drivers/fsi/fsi-core.c psize = of_read_number(prop + 1, 1); of_read_number 664 drivers/fsi/fsi-core.c return (of_read_number(prop, 1) == link) && of_read_number 665 drivers/fsi/fsi-core.c (of_read_number(prop + 1, 1) == id); of_read_number 70 drivers/iommu/of_iommu.c *addr = of_read_number(dma_window, cells); of_read_number 77 drivers/iommu/of_iommu.c *size = of_read_number(dma_window, cells); of_read_number 74 drivers/memory/jz4780-nemc.c bank = of_read_number(prop, 1); of_read_number 328 drivers/memory/jz4780-nemc.c bank = of_read_number(prop, 1); of_read_number 65 drivers/misc/cxl/of.c *handle = of_read_number(prop, of_n_addr_cells(np)); of_read_number 84 drivers/misc/cxl/of.c addr = of_read_number(prop, naddr); of_read_number 85 drivers/misc/cxl/of.c size = of_read_number(&prop[naddr], nsize); of_read_number 375 drivers/misc/cxl/of.c of_read_number(prop, naddr), of_read_number 105 drivers/mtd/parsers/ofpart.c parts[i].offset = of_read_number(reg, a_cells); of_read_number 106 drivers/mtd/parsers/ofpart.c parts[i].size = of_read_number(reg + a_cells, s_cells); of_read_number 71 drivers/of/address.c cp = of_read_number(range, na); of_read_number 72 drivers/of/address.c s = of_read_number(range + na + pna, ns); of_read_number 73 drivers/of/address.c da = of_read_number(addr, na); of_read_number 86 drivers/of/address.c u64 a = of_read_number(addr, na); of_read_number 159 drivers/of/address.c cp = of_read_number(range + 1, na - 1); of_read_number 160 drivers/of/address.c s = of_read_number(range + na + pna, ns); of_read_number 161 drivers/of/address.c da = of_read_number(addr + 1, na - 1); of_read_number 211 drivers/of/address.c *size = of_read_number(prop + na, ns); of_read_number 281 drivers/of/address.c range->pci_addr = of_read_number(parser->range + 1, ns); of_read_number 284 drivers/of/address.c range->size = of_read_number(parser->range + parser->pna + na, ns); of_read_number 294 drivers/of/address.c pci_addr = of_read_number(parser->range + 1, ns); of_read_number 297 drivers/of/address.c size = of_read_number(parser->range + parser->pna + na, ns); of_read_number 396 drivers/of/address.c cp = of_read_number(range + 1, na - 1); of_read_number 397 drivers/of/address.c s = of_read_number(range + na + pna, ns); of_read_number 398 drivers/of/address.c da = of_read_number(addr + 1, na - 1); of_read_number 527 drivers/of/address.c offset = of_read_number(addr, na); of_read_number 618 drivers/of/address.c result = of_read_number(addr, na); of_read_number 628 drivers/of/address.c result = of_read_number(addr + 1, na - 1); of_read_number 744 drivers/of/address.c *size = of_read_number(prop + na, ns); of_read_number 974 drivers/of/address.c dmaaddr = of_read_number(ranges, naddr); of_read_number 984 drivers/of/address.c *size = of_read_number(ranges + naddr + pna, nsize); of_read_number 390 drivers/of/base.c hwid = of_read_number(cell, ac); of_read_number 886 drivers/of/fdt.c start = of_read_number(prop, len/4); of_read_number 891 drivers/of/fdt.c end = of_read_number(prop, len/4); of_read_number 990 drivers/of/fdt.c return of_read_number(p, s); of_read_number 75 drivers/of/fdt_address.c cp = of_read_number(range, na); of_read_number 76 drivers/of/fdt_address.c s = of_read_number(range + na + pna, ns); of_read_number 77 drivers/of/fdt_address.c da = of_read_number(addr, na); of_read_number 89 drivers/of/fdt_address.c u64 a = of_read_number(addr, na); of_read_number 123 drivers/of/fdt_address.c offset = of_read_number(addr, na); of_read_number 210 drivers/of/fdt_address.c result = of_read_number(addr, na); of_read_number 100 drivers/of/of_numa.c nodea = of_read_number(matrix, 1); of_read_number 102 drivers/of/of_numa.c nodeb = of_read_number(matrix, 1); of_read_number 104 drivers/of/of_numa.c distance = of_read_number(matrix, 1); of_read_number 257 drivers/of/of_reserved_mem.c rmem->phandle = of_read_number(prop, len/4); of_read_number 326 drivers/of/property.c *out_value = of_read_number(val, 2); of_read_number 370 drivers/of/property.c *out_values++ = of_read_number(val, 2); of_read_number 748 drivers/pci/controller/pci-mvebu.c u32 flags = of_read_number(range, 1); of_read_number 749 drivers/pci/controller/pci-mvebu.c u32 slot = of_read_number(range + 1, 1); of_read_number 750 drivers/pci/controller/pci-mvebu.c u64 cpuaddr = of_read_number(range + na, pna); of_read_number 256 drivers/scsi/ibmvscsi/ibmvscsi.c partition_number = of_read_number(p_number_ptr, 1); of_read_number 3674 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c partition_number = of_read_number(num, 1); of_read_number 171 drivers/thermal/qoriq_thermal.c val = of_read_number(calibration, 1); of_read_number 173 drivers/thermal/qoriq_thermal.c val = of_read_number(calibration + 1, 1); of_read_number 397 drivers/tty/hvc/hvc_vio.c hvterm_priv0.termno = of_read_number(termno, 1); of_read_number 246 include/linux/of.h return of_read_number(cell, size);