Searched refs:NE_BASE (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | apne.c | 54 #define NE_BASE (dev->base_addr) macro 349 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in apne_reset_8390() 355 while ((inb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in apne_reset_8390() 360 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in apne_reset_8390() 396 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 400 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 441 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input() 443 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 448 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 459 int nic_base = NE_BASE; in apne_block_output() [all …]
|
D | ne2k-pci.c | 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() [all …]
|
D | zorro8390.c | 41 #define NE_BASE (dev->base_addr) macro 263 z_writeb(z_readb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in zorro8390_reset_8390() 269 while ((z_readb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in zorro8390_reset_8390() 274 z_writeb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in zorro8390_reset_8390() 307 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr() 346 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 348 buf[count-1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 358 int nic_base = NE_BASE; in zorro8390_block_output() 391 z_writew(*ptrs++, NE_BASE+NE_DATAPORT); in zorro8390_block_output() 395 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RDC) == 0) in zorro8390_block_output()
|
D | ne2.c | 104 #define NE_BASE (dev->base_addr) macro 520 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 526 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 532 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 563 insw(NE_BASE + NE_DATAPORT, hdr, in ne_get_8390_hdr() 566 insb(NE_BASE + NE_DATAPORT, hdr, in ne_get_8390_hdr() 603 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input() 605 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input() 611 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input() 643 int nic_base = NE_BASE; in ne_block_output() [all …]
|
D | ne.c | 117 #define NE_BASE (dev->base_addr) macro 517 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 523 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 528 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 558 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr() 560 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr() 598 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input() 601 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input() 607 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input() 642 int nic_base = NE_BASE; in ne_block_output() [all …]
|
D | hydra.c | 39 #define NE_BASE (dev->base_addr) macro
|