Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kexec/
H 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()
H A Dfile_load_64.c567 int n_mem_addr_cells, n_mem_size_cells, node; in add_usable_mem_property() local
591 n_mem_addr_cells = of_n_addr_cells(dn); in add_usable_mem_property()
593 pr_debug("address cells: %d, size cells: %d\n", n_mem_addr_cells, in add_usable_mem_property()
612 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in add_usable_mem_property()
615 base = of_read_number(prop, n_mem_addr_cells); in add_usable_mem_property()
616 prop += n_mem_addr_cells; in add_usable_mem_property()
/openbmc/linux/arch/powerpc/mm/
H A Dnuma.c53 static int n_mem_addr_cells, n_mem_size_cells; variable
881 base = read_n_cells(n_mem_addr_cells, usm); in numa_setup_drmem_lmb()
966 get_n_mem_cells(&n_mem_addr_cells, &n_mem_size_cells); in parse_numa_properties()
984 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); in parse_numa_properties()
987 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()