Lines Matching refs:nic_base

391     int nic_base = dev->base_addr;  in apne_get_8390_hdr()  local
405 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_get_8390_hdr()
406 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_get_8390_hdr()
407 outb(sizeof(struct e8390_pkt_hdr), nic_base + NE_EN0_RCNTLO); in apne_get_8390_hdr()
408 outb(0, nic_base + NE_EN0_RCNTHI); in apne_get_8390_hdr()
409 outb(0, nic_base + NE_EN0_RSARLO); /* On page boundary */ in apne_get_8390_hdr()
410 outb(ring_page, nic_base + NE_EN0_RSARHI); in apne_get_8390_hdr()
411 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_get_8390_hdr()
423 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_get_8390_hdr()
437 int nic_base = dev->base_addr; in apne_block_input() local
451 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in apne_block_input()
452 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_input()
453 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_input()
454 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_input()
455 outb(ring_offset & 0xff, nic_base + NE_EN0_RSARLO); in apne_block_input()
456 outb(ring_offset >> 8, nic_base + NE_EN0_RSARHI); in apne_block_input()
457 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in apne_block_input()
471 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_input()
479 int nic_base = NE_BASE; in apne_block_output() local
500 outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); in apne_block_output()
502 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_output()
505 outb(count & 0xff, nic_base + NE_EN0_RCNTLO); in apne_block_output()
506 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_output()
507 outb(0x00, nic_base + NE_EN0_RSARLO); in apne_block_output()
508 outb(start_page, nic_base + NE_EN0_RSARHI); in apne_block_output()
510 outb(E8390_RWRITE+E8390_START, nic_base + NE_CMD); in apne_block_output()
531 outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in apne_block_output()