Lines Matching refs:nic_base

371     int nic_base = dev->base_addr;  in apne_get_8390_hdr()  local
385 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_get_8390_hdr()
386 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_get_8390_hdr()
387 outb(sizeof(struct e8390_pkt_hdr), nic_base + NE_EN0_RCNTLO); in apne_get_8390_hdr()
388 outb(0, nic_base + NE_EN0_RCNTHI); in apne_get_8390_hdr()
389 outb(0, nic_base + NE_EN0_RSARLO); /* On page boundary */ in apne_get_8390_hdr()
390 outb(ring_page, nic_base + NE_EN0_RSARHI); in apne_get_8390_hdr()
391 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_get_8390_hdr()
403 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_get_8390_hdr()
417 int nic_base = dev->base_addr; in apne_block_input() local
431 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_block_input()
432 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_input()
433 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_input()
434 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_input()
435 outb(ring_offset & 0xff, nic_base + NE_EN0_RSARLO); in apne_block_input()
436 outb(ring_offset >> 8, nic_base + NE_EN0_RSARHI); in apne_block_input()
437 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_block_input()
451 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_input()
459 int nic_base = NE_BASE; in apne_block_output() local
480 outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); in apne_block_output()
482 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_output()
485 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_output()
486 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_output()
487 outb(0x00, nic_base + NE_EN0_RSARLO); in apne_block_output()
488 outb(start_page, nic_base + NE_EN0_RSARHI); in apne_block_output()
490 outb(E8390_RWRITE+E8390_START, nic_base + NE_CMD); in apne_block_output()
511 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_output()