Searched refs:n_mem_addr_cells (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/kexec/ |
H A D | ranges.c | 401 int n_mem_addr_cells, n_mem_size_cells, i, len, cells, ret = 0; in add_reserved_mem_ranges() local 406 n_mem_addr_cells = of_n_addr_cells(root); in add_reserved_mem_ranges() 412 cells = n_mem_addr_cells + n_mem_size_cells; in add_reserved_mem_ranges() 418 base = of_read_number(prop + (i * cells), n_mem_addr_cells); in add_reserved_mem_ranges() 419 size = of_read_number(prop + (i * cells) + n_mem_addr_cells, in add_reserved_mem_ranges()
|
/linux/arch/powerpc/mm/ |
H A D | numa.c | 51 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() 964 get_n_mem_cells(&n_mem_addr_cells, &n_mem_size_cells); in parse_numa_properties() 982 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in parse_numa_properties() 985 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()
|