/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | prom_parse.c | 19 *busno = of_read_number(dma_window, 1); in of_parse_dma_window() 26 cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn); in of_parse_dma_window() 27 *phys = of_read_number(dma_window, cells); in of_parse_dma_window() 32 cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn); in of_parse_dma_window() 33 *size = of_read_number(dma_window, cells); in of_parse_dma_window()
|
D | pci_of_scan.c | 29 return of_read_number(prop, 1); in get_int_prop() 138 flags = pci_parse_of_flags(of_read_number(addrs, 1), 0); in of_pci_parse_addrs() 141 base = of_read_number(&addrs[1], 2); in of_pci_parse_addrs() 142 size = of_read_number(&addrs[3], 2); in of_pci_parse_addrs() 145 i = of_read_number(addrs, 1) & 0xff; in of_pci_parse_addrs() 279 of_read_number(busrange, 1)); in of_scan_pci_bridge() 282 of_read_number(busrange, 1)); in of_scan_pci_bridge() 291 pci_bus_insert_busn_res(bus, of_read_number(busrange, 1), in of_scan_pci_bridge() 292 of_read_number(busrange+1, 1)); in of_scan_pci_bridge() 305 flags = pci_parse_of_flags(of_read_number(ranges, 1), 1); in of_scan_pci_bridge() [all …]
|
D | pci_dn.c | 301 u32 addr = of_read_number(regs, 1); in pci_add_device_node_info() 310 pdn->vendor_id = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info() 312 pdn->device_id = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info() 314 pdn->class_code = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info() 317 pdn->pci_ext_config_space = (type && of_read_number(type, 1) == 1); in pci_add_device_node_info() 416 class = of_read_number(classp, 1); in pci_traverse_device_nodes()
|
D | cacheinfo.c | 217 *ret = of_read_number(cache_size, 1); in cache_size() 252 *ret = of_read_number(line_size, 1); in cache_get_line_size() 267 *ret = of_read_number(nr_sets, 1); in cache_nr_sets()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | drmem.c | 199 lmb->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v1_cell() 201 lmb->drc_index = of_read_number(p++, 1); in read_drconf_v1_cell() 205 lmb->aa_index = of_read_number(p++, 1); in read_drconf_v1_cell() 206 lmb->flags = of_read_number(p++, 1); in read_drconf_v1_cell() 219 n_lmbs = of_read_number(prop++, 1); in __walk_drmem_v1_lmbs() 235 dr_cell->seq_lmbs = of_read_number(p++, 1); in read_drconf_v2_cell() 236 dr_cell->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v2_cell() 238 dr_cell->drc_index = of_read_number(p++, 1); in read_drconf_v2_cell() 239 dr_cell->aa_index = of_read_number(p++, 1); in read_drconf_v2_cell() 240 dr_cell->flags = of_read_number(p++, 1); in read_drconf_v2_cell() [all …]
|
D | numa.c | 220 distance_lookup_table[nid][i] = of_read_number(entry, 1); in initialize_distance_lookup_table() 235 if (of_read_number(associativity, 1) >= min_common_depth) in associativity_to_nid() 236 nid = of_read_number(&associativity[min_common_depth], 1); in associativity_to_nid() 243 of_read_number(associativity, 1) >= distance_ref_points_depth) { in associativity_to_nid() 329 depth = of_read_number(distance_ref_points, 1); in find_min_common_depth() 337 depth = of_read_number(&distance_ref_points[1], 1); in find_min_common_depth() 376 result = (result << 32) | of_read_number(*buf, 1); in read_n_cells() 414 aa->n_arrays = of_read_number(prop++, 1); in of_get_assoc_arrays() 415 aa->array_sz = of_read_number(prop++, 1); in of_get_assoc_arrays() 450 nid = of_read_number(&aa.arrays[index], 1); in of_drconf_to_nid_single() [all …]
|
/kernel/linux/linux-5.10/drivers/of/ |
D | fdt_address.c | 75 cp = of_read_number(range, na); in fdt_bus_default_map() 76 s = of_read_number(range + na + pna, ns); in fdt_bus_default_map() 77 da = of_read_number(addr, na); in fdt_bus_default_map() 89 u64 a = of_read_number(addr, na); in fdt_bus_default_translate() 123 offset = of_read_number(addr, na); in fdt_translate_one() 210 result = of_read_number(addr, na); in fdt_translate_address()
|
D | address.c | 75 cp = of_read_number(range, na); in of_bus_default_map() 76 s = of_read_number(range + na + pna, ns); in of_bus_default_map() 77 da = of_read_number(addr, na); in of_bus_default_map() 90 u64 a = of_read_number(addr, na); in of_bus_default_translate() 180 cp = of_read_number(range + 1, na - 1); in of_bus_pci_map() 181 s = of_read_number(range + na + pna, ns); in of_bus_pci_map() 182 da = of_read_number(addr + 1, na - 1); in of_bus_pci_map() 232 *size = of_read_number(prop + na, ns); in of_get_pci_address() 339 cp = of_read_number(range + 1, na - 1); in of_bus_isa_map() 340 s = of_read_number(range + na + pna, ns); in of_bus_isa_map() [all …]
|
D | of_numa.c | 100 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 102 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 104 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | setup.c | 632 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 639 ret = of_read_number(&indexes[i], 2); in pseries_get_iov_fw_value() 642 ret = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in pseries_get_iov_fw_value() 645 ret = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); in pseries_get_iov_fw_value() 658 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 663 base = of_read_number(&indexes[i], 2); in of_pci_set_vf_bar_size() 664 size = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in of_pci_set_vf_bar_size() 665 res->flags = pci_parse_of_flags(of_read_number in of_pci_set_vf_bar_size() 685 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_parse_iov_addrs() 689 base = of_read_number(&indexes[i], 2); in of_pci_parse_iov_addrs() [all …]
|
D | hotplug-memory.c | 41 memblock_size = of_read_number(prop, size_cells); in pseries_memory_block_size() 341 base = of_read_number(prop, addr_cells); in pseries_remove_mem_node() 343 lmb_size = of_read_number(prop, size_cells); in pseries_remove_mem_node() 928 base = of_read_number(prop, addr_cells); in pseries_add_mem_node() 930 lmb_size = of_read_number(prop, size_cells); in pseries_add_mem_node()
|
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
D | ima.c | 43 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer() 44 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer()
|
D | ranges.c | 402 base = of_read_number(prop + (i * cells), n_mem_addr_cells); in add_reserved_mem_ranges() 403 size = of_read_number(prop + (i * cells) + n_mem_addr_cells, in add_reserved_mem_ranges()
|
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
D | ofpart.c | 105 parts[i].offset = of_read_number(reg, a_cells); in parse_fixed_partitions() 106 parts[i].size = of_read_number(reg + a_cells, s_cells); in parse_fixed_partitions()
|
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
D | of.c | 65 *handle = of_read_number(prop, of_n_addr_cells(np)); in read_handle() 84 addr = of_read_number(prop, naddr); in read_phys_addr() 85 size = of_read_number(&prop[naddr], nsize); in read_phys_addr() 375 of_read_number(prop, naddr), in cxl_of_read_adapter_properties()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | opal.c | 126 opal.base = of_read_number(basep, basesz/4); in early_init_dt_scan_opal() 127 opal.entry = of_read_number(entryp, entrysz/4); in early_init_dt_scan_opal() 128 opal.size = of_read_number(sizep, runtimesz/4); in early_init_dt_scan_opal() 190 of_read_number(prop + (i * 5) + 0, 2); in early_init_dt_scan_recoverable_ranges() 193 of_read_number(prop + (i * 5) + 2, 1); in early_init_dt_scan_recoverable_ranges() 195 of_read_number(prop + (i * 5) + 3, 2); in early_init_dt_scan_recoverable_ranges()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | of_iommu.c | 73 *addr = of_read_number(dma_window, cells); in of_get_dma_window() 80 *size = of_read_number(dma_window, cells); in of_get_dma_window()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/ |
D | setup.c | 232 openpic_addr = of_read_number(opprop, naddr); in maple_init_IRQ() 260 unsigned long isuaddr = of_read_number(opprop + i, naddr); in maple_init_IRQ()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/ |
D | icp-native.c | 277 *indx = of_read_number(ireg, 1); in icp_native_init_one_node() 279 num_servers = of_read_number(ireg + 1, 1); in icp_native_init_one_node()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | fsl_rio.c | 546 range_start = of_read_number(dt_range, aw); in fsl_rio_setup() 574 range_start = of_read_number(dt_range, aw); in fsl_rio_setup() 607 range_start = of_read_number(dt_range + aw, paw); in fsl_rio_setup() 608 range_size = of_read_number(dt_range + aw + paw, sw); in fsl_rio_setup()
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | jz4780-nemc.c | 77 bank = of_read_number(prop, 1); in jz4780_nemc_num_banks() 345 bank = of_read_number(prop, 1); in jz4780_nemc_probe()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | qoriq_thermal.c | 201 val = of_read_number(calibration, 1); in qoriq_tmu_calibration() 203 val = of_read_number(calibration + 1, 1); in qoriq_tmu_calibration()
|
/kernel/linux/linux-5.10/arch/sh/boards/ |
D | of-generic.c | 67 if (cell) id = of_read_number(cell, of_n_addr_cells(np)); in sh_of_smp_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 213 start = of_read_number(prop, len / 4); in get_initrd_range() 218 end = of_read_number(prop, len / 4); in get_initrd_range()
|
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 950 range->mc_region_type = of_read_number(cell, 1); in get_mc_addr_translation_ranges() 951 range->start_mc_offset = of_read_number(cell + 1, in get_mc_addr_translation_ranges() 954 range->start_phys_addr = of_read_number(cell, paddr_cells); in get_mc_addr_translation_ranges() 957 of_read_number(cell, mc_size_cells); in get_mc_addr_translation_ranges()
|