Searched refs:NE_BASE (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
D | apne.c | 55 #define NE_BASE (dev->base_addr) macro 369 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in apne_reset_8390() 375 while ((inb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in apne_reset_8390() 380 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in apne_reset_8390() 416 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 420 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 461 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input() 463 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 468 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 479 int nic_base = NE_BASE; in apne_block_output() [all …]
|
D | zorro8390.c | 51 #define NE_BASE (dev->base_addr) macro 93 z_writeb(z_readb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in zorro8390_reset_8390() 99 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RESET) == 0) in zorro8390_reset_8390() 104 z_writeb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr */ in zorro8390_reset_8390() 139 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr() 180 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 182 buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 192 int nic_base = NE_BASE; in zorro8390_block_output() 227 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output() 231 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RDC) == 0) in zorro8390_block_output()
|
D | ne2k-pci.c | 164 #define NE_BASE (dev->base_addr) macro 479 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne2k_pci_reset_8390() 485 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne2k_pci_reset_8390() 491 outb(ENISR_RESET, NE_BASE + EN0_ISR); in ne2k_pci_reset_8390() 522 insw(NE_BASE + NE_DATAPORT, hdr, in ne2k_pci_get_8390_hdr() 525 *(u32 *)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr() 564 insw(NE_BASE + NE_DATAPORT, buf, count >> 1); in ne2k_pci_block_input() 566 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input() 568 insl(NE_BASE + NE_DATAPORT, buf, count >> 2); in ne2k_pci_block_input() 574 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input() [all …]
|
D | ne.c | 156 #define NE_BASE (dev->base_addr) macro 557 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 563 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 568 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 598 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr() 600 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr() 639 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input() 642 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input() 648 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input() 683 int nic_base = NE_BASE; in ne_block_output() [all …]
|