Lines Matching refs:mem_ptr_phys
153 unsigned long mem_ptr_phys; /* physical memory mapped area */ member
443 unsigned long mem_ptr_phys; in hp100_probe1() local
593 mem_ptr_phys = 0UL; in hp100_probe1()
600 mem_ptr_phys = (hp100_inw(MEM_MAP_LSW) | (hp100_inw(MEM_MAP_MSW) << 16)); in hp100_probe1()
601 mem_ptr_phys &= ~0x1fff; /* 8k alignment */ in hp100_probe1()
603 if (bus == HP100_BUS_ISA && (mem_ptr_phys & ~0xfffff) != 0) { in hp100_probe1()
605 mem_ptr_phys = 0; in hp100_probe1()
615 if ((mem_ptr_virt = ioremap((u_long) mem_ptr_phys, virt_memory_size)) == NULL) { in hp100_probe1()
617 …emap for 0x%x bytes high PCI memory at 0x%lx failed\n", dev->name, virt_memory_size, mem_ptr_phys); in hp100_probe1()
621 …bytes high PCI memory at 0x%lx to %p.\n", dev->name, virt_memory_size, mem_ptr_phys, mem_ptr_virt); in hp100_probe1()
637 mem_ptr_phys = 0; in hp100_probe1()
653 lp->mem_ptr_phys = mem_ptr_phys; in hp100_probe1()
749 printk("hp100: Memory area at 0x%lx-0x%lx", mem_ptr_phys, in hp100_probe1()
750 (mem_ptr_phys + (mem_ptr_phys > 0x100000 ? (u_long) lp->memory_size : 16 * 1024)) - 1); in hp100_probe1()
756 dev->mem_start = mem_ptr_phys; in hp100_probe1()
757 dev->mem_end = mem_ptr_phys + lp->memory_size; in hp100_probe1()