Home
last modified time | relevance | path

Searched refs:n_mem_addr_cells (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/powerpc/kexec/
Dranges.c387 int n_mem_addr_cells, n_mem_size_cells, i, len, cells, ret = 0; in add_reserved_mem_ranges() local
394 n_mem_addr_cells = of_n_addr_cells(of_root); in add_reserved_mem_ranges()
396 cells = n_mem_addr_cells + n_mem_size_cells; in add_reserved_mem_ranges()
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()
Dfile_load_64.c563 int n_mem_addr_cells, n_mem_size_cells, node; in add_usable_mem_property() local
587 n_mem_addr_cells = of_n_addr_cells(dn); in add_usable_mem_property()
589 pr_debug("address cells: %d, size cells: %d\n", n_mem_addr_cells, in add_usable_mem_property()
608 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in add_usable_mem_property()
611 base = of_read_number(prop, n_mem_addr_cells); in add_usable_mem_property()
612 prop += n_mem_addr_cells; in add_usable_mem_property()
/linux-6.1.9/arch/powerpc/mm/
Dnuma.c51 static int n_mem_addr_cells, n_mem_size_cells; variable
878 base = read_n_cells(n_mem_addr_cells, usm); in numa_setup_drmem_lmb()
963 get_n_mem_cells(&n_mem_addr_cells, &n_mem_size_cells); in parse_numa_properties()
981 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in parse_numa_properties()
984 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()
1301 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in hot_add_node_scn_to_nid()
1304 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in hot_add_node_scn_to_nid()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Diommu.c1119 int n_mem_addr_cells, n_mem_size_cells, len; in ddw_memory_hotplug_max() local
1126 n_mem_addr_cells = of_n_addr_cells(memory); in ddw_memory_hotplug_max()
1129 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max()
1130 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max()