Lines Matching refs:nic_base
483 long nic_base = dev->base_addr; in ne2k_pci_get_8390_hdr() local
494 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in ne2k_pci_get_8390_hdr()
495 outb(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO); in ne2k_pci_get_8390_hdr()
496 outb(0, nic_base + EN0_RCNTHI); in ne2k_pci_get_8390_hdr()
497 outb(0, nic_base + EN0_RSARLO); /* On page boundary */ in ne2k_pci_get_8390_hdr()
498 outb(ring_page, nic_base + EN0_RSARHI); in ne2k_pci_get_8390_hdr()
499 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in ne2k_pci_get_8390_hdr()
508 outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ in ne2k_pci_get_8390_hdr()
520 long nic_base = dev->base_addr; in ne2k_pci_block_input() local
533 outb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in ne2k_pci_block_input()
534 outb(count & 0xff, nic_base + EN0_RCNTLO); in ne2k_pci_block_input()
535 outb(count >> 8, nic_base + EN0_RCNTHI); in ne2k_pci_block_input()
536 outb(ring_offset & 0xff, nic_base + EN0_RSARLO); in ne2k_pci_block_input()
537 outb(ring_offset >> 8, nic_base + EN0_RSARHI); in ne2k_pci_block_input()
538 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in ne2k_pci_block_input()
560 outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ in ne2k_pci_block_input()
567 long nic_base = NE_BASE; in ne2k_pci_block_output() local
587 outb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); in ne2k_pci_block_output()
594 outb(0x42, nic_base + EN0_RCNTLO); in ne2k_pci_block_output()
595 outb(0x00, nic_base + EN0_RCNTHI); in ne2k_pci_block_output()
596 outb(0x42, nic_base + EN0_RSARLO); in ne2k_pci_block_output()
597 outb(0x00, nic_base + EN0_RSARHI); in ne2k_pci_block_output()
598 outb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in ne2k_pci_block_output()
600 outb(ENISR_RDC, nic_base + EN0_ISR); in ne2k_pci_block_output()
603 outb(count & 0xff, nic_base + EN0_RCNTLO); in ne2k_pci_block_output()
604 outb(count >> 8, nic_base + EN0_RCNTHI); in ne2k_pci_block_output()
605 outb(0x00, nic_base + EN0_RSARLO); in ne2k_pci_block_output()
606 outb(start_page, nic_base + EN0_RSARHI); in ne2k_pci_block_output()
607 outb(E8390_RWRITE+E8390_START, nic_base + NE_CMD); in ne2k_pci_block_output()
625 while ((inb(nic_base + EN0_ISR) & ENISR_RDC) == 0) in ne2k_pci_block_output()
633 outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ in ne2k_pci_block_output()