Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Ddrmem.h25 u32 lmb_size; member
72 return drmem_info->lmb_size; in drmem_lmb_size()
/Linux-v4.19/arch/powerpc/mm/
Ddrmem.c282 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()
306 if (drmem_info->lmb_size) in init_drmem_lmb_size()
315 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in init_drmem_lmb_size()
408 dr_cell.base_addr += drmem_info->lmb_size; in init_drmem_v2_lmbs()
Dnuma.c933 unsigned long lmb_size; in hot_add_drconf_scn_to_nid() local
936 lmb_size = drmem_lmb_size(); in hot_add_drconf_scn_to_nid()
946 || (scn_addr >= (lmb->base_addr + lmb_size))) in hot_add_drconf_scn_to_nid()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-memory.c353 unsigned int lmb_size; in pseries_remove_mem_node() local
371 lmb_size = be32_to_cpu(regs[3]); in pseries_remove_mem_node()
373 pseries_remove_memblock(base, lmb_size); in pseries_remove_mem_node()
970 unsigned int lmb_size; in pseries_add_mem_node() local
988 lmb_size = be32_to_cpu(regs[3]); in pseries_add_mem_node()
993 ret = memblock_add(base, lmb_size); in pseries_add_mem_node()