Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Ddrmem.c212 static void __init __walk_drmem_v1_lmbs(const __be32 *prop, const __be32 *usm, in __walk_drmem_v1_lmbs() argument
224 func(&lmb, &usm); in __walk_drmem_v1_lmbs()
242 static void __init __walk_drmem_v2_lmbs(const __be32 *prop, const __be32 *usm, in __walk_drmem_v2_lmbs() argument
266 func(&lmb, &usm); in __walk_drmem_v2_lmbs()
275 const __be32 *prop, *usm; in walk_drmem_lmbs_early() local
284 usm = of_get_flat_dt_prop(node, "linux,drconf-usable-memory", &len); in walk_drmem_lmbs_early()
288 __walk_drmem_v1_lmbs(prop, usm, func); in walk_drmem_lmbs_early()
293 __walk_drmem_v2_lmbs(prop, usm, func); in walk_drmem_lmbs_early()
339 const __be32 *prop, *usm; in walk_drmem_lmbs() local
344 usm = of_get_usable_memory(dn); in walk_drmem_lmbs()
[all …]
Dnuma.c563 static inline int __init read_usm_ranges(const __be32 **usm) in read_usm_ranges() argument
571 return read_n_cells(n_mem_size_cells, usm); in read_usm_ranges()
579 const __be32 **usm) in numa_setup_drmem_lmb() argument
593 if (*usm) in numa_setup_drmem_lmb()
601 ranges = read_usm_ranges(usm); in numa_setup_drmem_lmb()
608 base = read_n_cells(n_mem_addr_cells, usm); in numa_setup_drmem_lmb()
609 size = read_n_cells(n_mem_size_cells, usm); in numa_setup_drmem_lmb()
/Linux-v4.19/arch/powerpc/kernel/
Dprom.c472 const __be32 **usm) in early_init_drmem_lmb() argument
489 if (*usm) in early_init_drmem_lmb()
500 rngs = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()
507 base = dt_mem_next_cell(dt_root_addr_cells, usm); in early_init_drmem_lmb()
508 size = dt_mem_next_cell(dt_root_size_cells, usm); in early_init_drmem_lmb()