Searched refs:lmb (Results 1 – 2 of 2) sorted by relevance
119 static struct memory_block *lmb_to_memblock(struct of_drconf_cell *lmb) in lmb_to_memblock() argument125 section_nr = pfn_to_section_nr(PFN_DOWN(lmb->base_addr)); in lmb_to_memblock()191 static bool lmb_is_removable(struct of_drconf_cell *lmb) in lmb_is_removable() argument198 if (!(lmb->flags & DRCONF_MEM_ASSIGNED)) in lmb_is_removable()203 phys_addr = lmb->base_addr; in lmb_is_removable()219 static int dlpar_remove_lmb(struct of_drconf_cell *lmb) in dlpar_remove_lmb() argument225 if (!lmb_is_removable(lmb)) in dlpar_remove_lmb()228 mem_block = lmb_to_memblock(lmb); in dlpar_remove_lmb()238 nid = memory_add_physaddr_to_nid(lmb->base_addr); in dlpar_remove_lmb()240 remove_memory(nid, lmb->base_addr, block_sz); in dlpar_remove_lmb()[all …]
73 xlnx,d-lmb = <0x1>;93 xlnx,i-lmb = <0x1>;