Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/
Ddrmem.h24 u32 lmb_size; member
71 return drmem_info->lmb_size; in drmem_lmb_size()
/Linux-v5.4/arch/powerpc/mm/
Ddrmem.c278 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in walk_drmem_lmbs_early()
302 if (drmem_info->lmb_size) in init_drmem_lmb_size()
311 drmem_info->lmb_size = dt_mem_next_cell(dt_root_size_cells, &prop); in init_drmem_lmb_size()
406 dr_cell.base_addr += drmem_info->lmb_size; in init_drmem_v2_lmbs()
Dnuma.c961 unsigned long lmb_size; in hot_add_drconf_scn_to_nid() local
964 lmb_size = drmem_lmb_size(); in hot_add_drconf_scn_to_nid()
974 || (scn_addr >= (lmb->base_addr + lmb_size))) in hot_add_drconf_scn_to_nid()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dhotplug-memory.c315 unsigned int lmb_size; in pseries_remove_mem_node() local
332 lmb_size = be32_to_cpu(regs[3]); in pseries_remove_mem_node()
334 pseries_remove_memblock(base, lmb_size); in pseries_remove_mem_node()
948 unsigned int lmb_size; in pseries_add_mem_node() local
965 lmb_size = be32_to_cpu(regs[3]); in pseries_add_mem_node()
970 ret = memblock_add(base, lmb_size); in pseries_add_mem_node()
Dlparcfg.c438 maxmem += drmem_info->n_lmbs * drmem_info->lmb_size; in maxmem_data()