Home
last modified time | relevance | path

Searched refs:NE_BASE (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/8390/
H A Dapne.c50 #define NE_BASE (dev->base_addr) macro
358 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in apne_reset_8390()
364 while ((inb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in apne_reset_8390()
369 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in apne_reset_8390()
405 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
409 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
450 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
452 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in apne_block_input()
457 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_block_input()
468 int nic_base = NE_BASE; in apne_block_output()
[all …]
H A Dzorro8390.c46 #define NE_BASE (dev->base_addr) macro
88 z_writeb(z_readb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in zorro8390_reset_8390()
94 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RESET) == 0) in zorro8390_reset_8390()
99 z_writeb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr */ in zorro8390_reset_8390()
134 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
175 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
177 buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
187 int nic_base = NE_BASE; in zorro8390_block_output()
222 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
226 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RDC) == 0) in zorro8390_block_output()
H A Dne2k-pci.c165 #define NE_BASE (dev->base_addr) macro
469 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne2k_pci_reset_8390()
475 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne2k_pci_reset_8390()
481 outb(ENISR_RESET, NE_BASE + EN0_ISR); in ne2k_pci_reset_8390()
512 insw(NE_BASE + NE_DATAPORT, hdr, in ne2k_pci_get_8390_hdr()
515 *(u32 *)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr()
554 insw(NE_BASE + NE_DATAPORT, buf, count >> 1); in ne2k_pci_block_input()
556 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
558 insl(NE_BASE + NE_DATAPORT, buf, count >> 2); in ne2k_pci_block_input()
564 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input()
[all …]
H A Dne.c155 #define NE_BASE (dev->base_addr) macro
554 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390()
560 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390()
565 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390()
595 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr()
597 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr()
636 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input()
639 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input()
645 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input()
680 int nic_base = NE_BASE; in ne_block_output()
[all …]