Lines Matching refs:base_addr
104 #define NE_BASE (dev->base_addr)
292 len += sprintf(buf+len, "Base IO: %#x\n", (unsigned int)dev->base_addr); in ne2_procinfo()
306 int i, base_addr, irq, retval; in ne2_probe1() local
328 base_addr = dlink_addresses[(POS >> 5) & 0x03]; in ne2_probe1()
336 base_addr = addresses[i - 1]; in ne2_probe1()
340 if (!request_region(base_addr, NE_IO_EXTENT, dev->name)) in ne2_probe1()
345 base_addr, irq); in ne2_probe1()
351 outb(0x0, base_addr + NE_RESET); in ne2_probe1()
352 inb(base_addr + NE_RESET); in ne2_probe1()
353 outb(0x21, base_addr + NE_CMD); in ne2_probe1()
354 if (inb(base_addr + NE_CMD) != 0x21) { in ne2_probe1()
373 outb(inb(base_addr + NE_RESET), base_addr + NE_RESET); in ne2_probe1()
375 while ((inb_p(base_addr + EN0_ISR) & ENISR_RESET) == 0) in ne2_probe1()
382 outb_p(0xff, base_addr + EN0_ISR); /* Ack all intr. */ in ne2_probe1()
413 outb_p(program_seq[i].value, base_addr + in ne2_probe1()
418 SA_prom[i] = inb(base_addr + NE_DATAPORT); in ne2_probe1()
429 v = dlink_get_eeprom(i, base_addr); in ne2_probe1()
449 dev->base_addr = base_addr; in ne2_probe1()
465 dev->name, name, base_addr, dev->irq); in ne2_probe1()
492 release_region(base_addr, NE_IO_EXTENT); in ne2_probe1()
543 int nic_base = dev->base_addr; in ne_get_8390_hdr()
584 int nic_base = dev->base_addr; in ne_block_input()
768 dev->base_addr = io[this_dev]; in init_module()
792 release_region(dev->base_addr, NE_IO_EXTENT); in cleanup_module()