Home
last modified time | relevance | path

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

/Linux-v5.10/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.c561 int n_mem_addr_cells, n_mem_size_cells, node; in add_usable_mem_property() local
585 n_mem_addr_cells = of_n_addr_cells(dn); in add_usable_mem_property()
587 pr_debug("address cells: %d, size cells: %d\n", n_mem_addr_cells, in add_usable_mem_property()
606 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in add_usable_mem_property()
609 base = of_read_number(prop, n_mem_addr_cells); in add_usable_mem_property()
610 prop += n_mem_addr_cells; in add_usable_mem_property()
/Linux-v5.10/arch/powerpc/mm/
Dnuma.c55 static int n_mem_addr_cells, n_mem_size_cells; variable
684 base = read_n_cells(n_mem_addr_cells, usm); in numa_setup_drmem_lmb()
748 get_n_mem_cells(&n_mem_addr_cells, &n_mem_size_cells); in parse_numa_properties()
766 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in parse_numa_properties()
769 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()
1081 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in hot_add_node_scn_to_nid()
1084 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in hot_add_node_scn_to_nid()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Diommu.c1048 int n_mem_addr_cells, n_mem_size_cells, len; in ddw_memory_hotplug_max() local
1055 n_mem_addr_cells = of_n_addr_cells(memory); in ddw_memory_hotplug_max()
1058 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max()
1059 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max()