/linux-6.1.9/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() 417 class = of_read_number(classp, 1); in pci_traverse_device_nodes()
|
D | cacheinfo.c | 219 *ret = of_read_number(cache_size, 1); in cache_size() 254 *ret = of_read_number(line_size, 1); in cache_get_line_size() 269 *ret = of_read_number(nr_sets, 1); in cache_nr_sets()
|
D | isa-bridge.c | 227 size = of_read_number(ranges + i + na + pna, ns); in isa_bridge_init_non_pci()
|
D | prom.c | 632 base = of_read_number(prop + (i * 4) + 0, 2); in early_reserve_mem_dt() 633 size = of_read_number(prop + (i * 4) + 2, 2); in early_reserve_mem_dt()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | drmem.c | 206 lmb->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v1_cell() 208 lmb->drc_index = of_read_number(p++, 1); in read_drconf_v1_cell() 212 lmb->aa_index = of_read_number(p++, 1); in read_drconf_v1_cell() 213 lmb->flags = of_read_number(p++, 1); in read_drconf_v1_cell() 226 n_lmbs = of_read_number(prop++, 1); in __walk_drmem_v1_lmbs() 242 dr_cell->seq_lmbs = of_read_number(p++, 1); in read_drconf_v2_cell() 243 dr_cell->base_addr = of_read_number(p, n_root_addr_cells); in read_drconf_v2_cell() 245 dr_cell->drc_index = of_read_number(p++, 1); in read_drconf_v2_cell() 246 dr_cell->aa_index = of_read_number(p++, 1); in read_drconf_v2_cell() 247 dr_cell->flags = of_read_number(p++, 1); in read_drconf_v2_cell() [all …]
|
D | numa.c | 180 nid = of_read_number(&associativity[index], 1); in __associativity_to_nid() 193 int array_sz = of_read_number(associativity, 1); in associativity_to_nid() 323 distance_lookup_table[nid][i] = of_read_number(entry, 1); in __initialize_form1_numa_distance() 332 array_sz = of_read_number(associativity, 1); in initialize_form1_numa_distance() 391 max_numa_index = of_read_number(&numa_lookup_index[0], 1); in initialize_form2_numa_distance_lookup_table() 395 form2_distances_length = of_read_number((const __be32 *)&form2_distances[0], 1); in initialize_form2_numa_distance_lookup_table() 404 numa_id_index_table[i] = of_read_number(&numa_lookup_index[i + 1], 1); in initialize_form2_numa_distance_lookup_table() 486 index = of_read_number(&distance_ref_points[1], 1); in find_primary_domain_index() 492 index = of_read_number(distance_ref_points, 1); in find_primary_domain_index() 530 result = (result << 32) | of_read_number(*buf, 1); in read_n_cells() [all …]
|
/linux-6.1.9/drivers/of/ |
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() 88 u64 a = of_read_number(addr, na); in of_bus_default_translate() 181 cp = of_read_number(range + 1, na - 1); in of_bus_pci_map() 182 s = of_read_number(range + na + pna, ns); in of_bus_pci_map() 183 da = of_read_number(addr + 1, na - 1); in of_bus_pci_map() 294 cp = of_read_number(range + 1, na - 1); in of_bus_isa_map() 295 s = of_read_number(range + na + pna, ns); in of_bus_isa_map() 296 da = of_read_number(addr + 1, na - 1); in of_bus_isa_map() [all …]
|
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 | 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()
|
D | kexec.c | 113 *addr = of_read_number(prop, addr_cells); in do_get_kexec_buffer() 114 *size = of_read_number(prop + 4 * addr_cells, size_cells); in do_get_kexec_buffer() 331 tmp_start = of_read_number(prop, len / 4); in of_kexec_alloc_and_setup_fdt() 339 tmp_end = of_read_number(prop, len / 4); in of_kexec_alloc_and_setup_fdt()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | setup.c | 678 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 685 ret = of_read_number(&indexes[i], 2); in pseries_get_iov_fw_value() 688 ret = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in pseries_get_iov_fw_value() 691 ret = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); in pseries_get_iov_fw_value() 704 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 709 base = of_read_number(&indexes[i], 2); in of_pci_set_vf_bar_size() 710 size = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in of_pci_set_vf_bar_size() 711 res->flags = pci_parse_of_flags(of_read_number in of_pci_set_vf_bar_size() 731 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_parse_iov_addrs() 735 base = of_read_number(&indexes[i], 2); in of_pci_parse_iov_addrs() [all …]
|
D | hotplug-memory.c | 40 memblock_size = of_read_number(prop, size_cells); in pseries_memory_block_size() 339 base = of_read_number(prop, addr_cells); in pseries_remove_mem_node() 341 lmb_size = of_read_number(prop, size_cells); in pseries_remove_mem_node() 956 base = of_read_number(prop, addr_cells); in pseries_add_mem_node() 958 lmb_size = of_read_number(prop, size_cells); in pseries_add_mem_node()
|
/linux-6.1.9/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() 374 of_read_number(prop, naddr), in cxl_of_read_adapter_properties()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/mtd/parsers/ |
D | ofpart_core.c | 132 parts[i].offset = of_read_number(reg, a_cells); in parse_fixed_partitions() 133 parts[i].size = of_read_number(reg + a_cells, s_cells); in parse_fixed_partitions()
|
/linux-6.1.9/arch/powerpc/sysdev/xics/ |
D | icp-native.c | 278 *indx = of_read_number(ireg, 1); in icp_native_init_one_node() 280 num_servers = of_read_number(ireg + 1, 1); in icp_native_init_one_node()
|
/linux-6.1.9/arch/powerpc/platforms/maple/ |
D | setup.c | 229 openpic_addr = of_read_number(opprop, naddr); in maple_init_IRQ() 257 unsigned long isuaddr = of_read_number(opprop + i, naddr); in maple_init_IRQ()
|
/linux-6.1.9/arch/powerpc/kexec/ |
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()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | fsl_rio.c | 556 range_start = of_read_number(dt_range, aw); in fsl_rio_setup() 584 range_start = of_read_number(dt_range, aw); in fsl_rio_setup() 617 range_start = of_read_number(dt_range + aw, paw); in fsl_rio_setup() 618 range_size = of_read_number(dt_range + aw + paw, sw); in fsl_rio_setup()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 208 start = of_read_number(prop, len / 4); in get_initrd_range() 213 end = of_read_number(prop, len / 4); in get_initrd_range()
|
/linux-6.1.9/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 1091 range->mc_region_type = of_read_number(cell, 1); in get_mc_addr_translation_ranges() 1092 range->start_mc_offset = of_read_number(cell + 1, in get_mc_addr_translation_ranges() 1095 range->start_phys_addr = of_read_number(cell, paddr_cells); in get_mc_addr_translation_ranges() 1098 of_read_number(cell, mc_size_cells); in get_mc_addr_translation_ranges()
|