Lines Matching refs:nic_base
738 ioaddr_t nic_base = dev->base_addr; in axnet_reset_8390() local
743 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, nic_base + E8390_CMD); in axnet_reset_8390()
745 outb(inb(nic_base + AXNET_RESET), nic_base + AXNET_RESET); in axnet_reset_8390()
748 if ((inb_p(nic_base+EN0_ISR) & ENISR_RESET) != 0) in axnet_reset_8390()
752 outb_p(ENISR_RESET, nic_base + EN0_ISR); /* Ack intr. */ in axnet_reset_8390()
773 ioaddr_t nic_base = dev->base_addr; in ei_watchdog() local
774 ioaddr_t mii_addr = nic_base + AXNET_MII_EEP; in ei_watchdog()
781 if (info->stale++ && (inb_p(nic_base + EN0_ISR) & ENISR_ALL)) { in ei_watchdog()
869 ioaddr_t nic_base = dev->base_addr; in get_8390_hdr() local
871 outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ in get_8390_hdr()
872 outb_p(ring_page, nic_base + EN0_RSARHI); in get_8390_hdr()
873 outb_p(E8390_RREAD+E8390_START, nic_base + AXNET_CMD); in get_8390_hdr()
875 insw(nic_base + AXNET_DATAPORT, hdr, in get_8390_hdr()
887 ioaddr_t nic_base = dev->base_addr; in block_input() local
895 outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); in block_input()
896 outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); in block_input()
897 outb_p(E8390_RREAD+E8390_START, nic_base + AXNET_CMD); in block_input()
899 insw(nic_base + AXNET_DATAPORT,buf,count>>1); in block_input()
901 buf[count-1] = inb(nic_base + AXNET_DATAPORT), xfer_count++; in block_input()
910 ioaddr_t nic_base = dev->base_addr; in block_output() local
923 outb_p(0x00, nic_base + EN0_RSARLO); in block_output()
924 outb_p(start_page, nic_base + EN0_RSARHI); in block_output()
925 outb_p(E8390_RWRITE+E8390_START, nic_base + AXNET_CMD); in block_output()
926 outsw(nic_base + AXNET_DATAPORT, buf, count>>1); in block_output()