Searched refs:_lmb (Results 1 – 2 of 2) sorted by relevance
59 struct lmb *_lmb = PTRRELOC(&lmb); in lmb_init() local64 _lmb->memory.region[0].base = 0; in lmb_init()65 _lmb->memory.region[0].size = 0; in lmb_init()66 _lmb->memory.region[0].type = LMB_MEMORY_AREA; in lmb_init()67 _lmb->memory.cnt = 1; in lmb_init()70 _lmb->reserved.region[0].base = 0; in lmb_init()71 _lmb->reserved.region[0].size = 0; in lmb_init()72 _lmb->reserved.region[0].type = LMB_MEMORY_AREA; in lmb_init()73 _lmb->reserved.cnt = 1; in lmb_init()85 struct lmb *_lmb = PTRRELOC(&lmb); in lmb_analyze() local[all …]
666 struct lmb *_lmb = PTRRELOC(&lmb); in prom_instantiate_rtas() local667 rtas_region = min(_lmb->rmo_size, RTAS_INSTANTIATE_MAX); in prom_instantiate_rtas()728 struct lmb *_lmb = PTRRELOC(&lmb); in prom_initialize_mschunks() local731 unsigned long addr_range = _lmb->memory.size + _lmb->memory.iosize; in prom_initialize_mschunks()732 unsigned long chunk_size = _lmb->memory.lcd_size; in prom_initialize_mschunks()738 for (i=0; i < _lmb->memory.cnt ;i++) { in prom_initialize_mschunks()739 unsigned long base = _lmb->memory.region[i].base; in prom_initialize_mschunks()740 unsigned long size = _lmb->memory.region[i].size; in prom_initialize_mschunks()744 if(_lmb->memory.region[i].type != LMB_MEMORY_AREA) in prom_initialize_mschunks()747 _lmb->memory.region[i].physbase = chunk_to_addr(pchunk); in prom_initialize_mschunks()[all …]