Home
last modified time | relevance | path

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

/linux/arch/powerpc/kexec/
A 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()
A Dfile_load_64.c562 int n_mem_addr_cells, n_mem_size_cells, node; in add_usable_mem_property() local
586 n_mem_addr_cells = of_n_addr_cells(dn); in add_usable_mem_property()
588 pr_debug("address cells: %d, size cells: %d\n", n_mem_addr_cells, in add_usable_mem_property()
607 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in add_usable_mem_property()
610 base = of_read_number(prop, n_mem_addr_cells); in add_usable_mem_property()
611 prop += n_mem_addr_cells; in add_usable_mem_property()
/linux/arch/powerpc/mm/
A Dnuma.c52 static int n_mem_addr_cells, n_mem_size_cells; variable
879 base = read_n_cells(n_mem_addr_cells, usm); in numa_setup_drmem_lmb()
962 get_n_mem_cells(&n_mem_addr_cells, &n_mem_size_cells); in parse_numa_properties()
980 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in parse_numa_properties()
983 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()
1300 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in hot_add_node_scn_to_nid()
1303 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in hot_add_node_scn_to_nid()
/linux/arch/powerpc/platforms/pseries/
A Diommu.c1099 int n_mem_addr_cells, n_mem_size_cells, len; in ddw_memory_hotplug_max() local
1106 n_mem_addr_cells = of_n_addr_cells(memory); in ddw_memory_hotplug_max()
1109 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max()
1110 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max()

Completed in 11 milliseconds