Lines Matching refs:base_addr
143 int base_addr = dev->base_addr; in do_ultra_probe() local
146 if (base_addr > 0x1ff) /* Check a single specified location. */ in do_ultra_probe()
147 return ultra_probe1(dev, base_addr); in do_ultra_probe()
148 else if (base_addr != 0) /* Don't probe at all. */ in do_ultra_probe()
280 dev->base_addr = ioaddr+ULTRA_NIC_OFFSET; in ultra_probe1()
362 dev->base_addr = pnp_port_start(idev, 0); in ultra_probe_isapnp()
367 dev->base_addr, dev->irq); in ultra_probe_isapnp()
368 if (ultra_probe1(dev, dev->base_addr) != 0) { /* Shouldn't happen. */ in ultra_probe_isapnp()
371 dev->base_addr); in ultra_probe_isapnp()
391 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ in ultra_open()
413 outb_p(E8390_NODMA+E8390_PAGE0, dev->base_addr); in ultra_open()
414 outb(0xff, dev->base_addr + EN0_ERWCNT); in ultra_open()
422 int cmd_port = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC base addr */ in ultra_reset_8390()
448 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem on */ in ultra_get_8390_hdr()
457 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem off */ in ultra_get_8390_hdr()
469 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_input()
481 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_input()
491 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_output()
495 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_output()
509 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ in ultra_pio_get_hdr()
518 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ in ultra_pio_input()
530 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ in ultra_pio_output()
540 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* CMDREG */ in ultra_close_card()
590 dev->base_addr = io[this_dev]; in ultra_init_module()
613 release_region(dev->base_addr - ULTRA_NIC_OFFSET, ULTRA_IO_EXTENT); in cleanup_card()