Lines Matching refs:nic_base
385 int nic_base = dev->base_addr; in apne_get_8390_hdr() local
399 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_get_8390_hdr()
400 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_get_8390_hdr()
401 outb(sizeof(struct e8390_pkt_hdr), nic_base + NE_EN0_RCNTLO); in apne_get_8390_hdr()
402 outb(0, nic_base + NE_EN0_RCNTHI); in apne_get_8390_hdr()
403 outb(0, nic_base + NE_EN0_RSARLO); /* On page boundary */ in apne_get_8390_hdr()
404 outb(ring_page, nic_base + NE_EN0_RSARHI); in apne_get_8390_hdr()
405 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_get_8390_hdr()
417 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_get_8390_hdr()
431 int nic_base = dev->base_addr; in apne_block_input() local
445 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_block_input()
446 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_input()
447 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_input()
448 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_input()
449 outb(ring_offset & 0xff, nic_base + NE_EN0_RSARLO); in apne_block_input()
450 outb(ring_offset >> 8, nic_base + NE_EN0_RSARHI); in apne_block_input()
451 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_block_input()
465 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_input()
473 int nic_base = NE_BASE; in apne_block_output() local
494 outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); in apne_block_output()
496 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_output()
499 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_output()
500 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_output()
501 outb(0x00, nic_base + NE_EN0_RSARLO); in apne_block_output()
502 outb(start_page, nic_base + NE_EN0_RSARHI); in apne_block_output()
504 outb(E8390_RWRITE+E8390_START, nic_base + NE_CMD); in apne_block_output()
525 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_output()