Searched refs:lmb (Results 1 – 2 of 2) sorted by relevance
120 static struct memory_block *lmb_to_memblock(struct of_drconf_cell *lmb) in lmb_to_memblock() argument126 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()192 static bool lmb_is_removable(struct of_drconf_cell *lmb) in lmb_is_removable() argument199 if (!(lmb->flags & DRCONF_MEM_ASSIGNED)) in lmb_is_removable()204 phys_addr = lmb->base_addr; in lmb_is_removable()220 static int dlpar_remove_lmb(struct of_drconf_cell *lmb) in dlpar_remove_lmb() argument226 if (!lmb_is_removable(lmb)) in dlpar_remove_lmb()229 mem_block = lmb_to_memblock(lmb); in dlpar_remove_lmb()239 nid = memory_add_physaddr_to_nid(lmb->base_addr); in dlpar_remove_lmb()241 remove_memory(nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()[all …]
73 xlnx,d-lmb = <0x1>;93 xlnx,i-lmb = <0x1>;