Lines Matching refs:NE_BASE
161 #define NE_BASE (dev->base_addr) macro
421 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne2k_pci_reset_8390()
427 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne2k_pci_reset_8390()
432 outb(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne2k_pci_reset_8390()
461 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne2k_pci_get_8390_hdr()
463 *(u32*)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr()
500 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne2k_pci_block_input()
502 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
505 insl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_input()
511 *b++ = le16_to_cpu(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input()
515 *buf = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
526 long nic_base = NE_BASE; in ne2k_pci_block_output()
568 outsw(NE_BASE + NE_DATAPORT, buf, count>>1); in ne2k_pci_block_output()
570 outsl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_output()
576 outw(cpu_to_le16(*b++), NE_BASE + NE_DATAPORT); in ne2k_pci_block_output()