Lines Matching refs:NE_BASE
157 #define NE_BASE (dev->base_addr) macro
462 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne2k_pci_reset_8390()
468 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne2k_pci_reset_8390()
473 outb(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne2k_pci_reset_8390()
502 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne2k_pci_get_8390_hdr()
504 *(u32*)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr()
541 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne2k_pci_block_input()
543 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
546 insl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_input()
552 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input()
556 *buf = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
567 long nic_base = NE_BASE; in ne2k_pci_block_output()
609 outsw(NE_BASE + NE_DATAPORT, buf, count>>1); in ne2k_pci_block_output()
611 outsl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_output()
617 outw(le16_to_cpu(*b++), NE_BASE + NE_DATAPORT); in ne2k_pci_block_output()