Searched refs:mem_ptr_phys (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/hp/
H A Dhp100.c165 unsigned long mem_ptr_phys; /* physical memory mapped area */ member in struct:hp100_private
461 unsigned long mem_ptr_phys; hp100_probe1() local
611 mem_ptr_phys = 0UL; hp100_probe1()
618 mem_ptr_phys = (hp100_inw(MEM_MAP_LSW) | (hp100_inw(MEM_MAP_MSW) << 16)); hp100_probe1()
619 mem_ptr_phys &= ~0x1fff; /* 8k alignment */ hp100_probe1()
621 if (bus == HP100_BUS_ISA && (mem_ptr_phys & ~0xfffff) != 0) { hp100_probe1()
623 mem_ptr_phys = 0; hp100_probe1()
633 if ((mem_ptr_virt = ioremap((u_long) mem_ptr_phys, virt_memory_size)) == NULL) { hp100_probe1()
635 printk("hp100: %s: ioremap for 0x%x bytes high PCI memory at 0x%lx failed\n", dev->name, virt_memory_size, mem_ptr_phys); hp100_probe1()
639 printk("hp100: %s: remapped 0x%x bytes high PCI memory at 0x%lx to %p.\n", dev->name, virt_memory_size, mem_ptr_phys, mem_ptr_virt); hp100_probe1()
655 mem_ptr_phys = 0; hp100_probe1()
671 lp->mem_ptr_phys = mem_ptr_phys; hp100_probe1()
767 printk("hp100: Memory area at 0x%lx-0x%lx", mem_ptr_phys, hp100_probe1()
768 (mem_ptr_phys + (mem_ptr_phys > 0x100000 ? (u_long) lp->memory_size : 16 * 1024)) - 1); hp100_probe1()
774 dev->mem_start = mem_ptr_phys; hp100_probe1()
775 dev->mem_end = mem_ptr_phys + lp->memory_size; hp100_probe1()

Completed in 62 milliseconds