Lines Matching refs:ULTRA_NIC_OFFSET
123 #define ULTRA_NIC_OFFSET 16 /* NIC register offset from the base_addr. */ macro
280 dev->base_addr = ioaddr+ULTRA_NIC_OFFSET; in ultra_probe1()
391 int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ 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()
613 release_region(dev->base_addr - ULTRA_NIC_OFFSET, ULTRA_IO_EXTENT); in cleanup_card()