Searched refs:NE_BASE (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | ne-h8300.c | 62 #define NE_BASE (dev->base_addr) macro 380 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 386 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 391 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 412 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, NE_BASE + NE_CMD); in ne_get_8390_hdr() 413 outb_p(sizeof(struct e8390_pkt_hdr), NE_BASE + EN0_RCNTLO); in ne_get_8390_hdr() 414 outb_p(0, NE_BASE + EN0_RCNTHI); in ne_get_8390_hdr() 415 outb_p(0, NE_BASE + EN0_RSARLO); /* On page boundary */ in ne_get_8390_hdr() 416 outb_p(ring_page, NE_BASE + EN0_RSARHI); in ne_get_8390_hdr() 417 outb_p(E8390_RREAD+E8390_START, NE_BASE + NE_CMD); in ne_get_8390_hdr() [all …]
|
D | apne.c | 55 #define NE_BASE (dev->base_addr) macro 360 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in apne_reset_8390() 366 while ((inb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in apne_reset_8390() 371 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in apne_reset_8390() 407 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 411 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr() 452 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input() 454 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 459 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_block_input() 470 int nic_base = NE_BASE; in apne_block_output() [all …]
|
D | ne2k-pci.c | 158 #define NE_BASE (dev->base_addr) macro 461 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne2k_pci_reset_8390() 467 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne2k_pci_reset_8390() 472 outb(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne2k_pci_reset_8390() 501 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne2k_pci_get_8390_hdr() 503 *(u32*)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr() 540 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne2k_pci_block_input() 542 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input() 545 insl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_input() 551 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input() [all …]
|
D | zorro8390.c | 50 #define NE_BASE (dev->base_addr) macro 290 z_writeb(z_readb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in zorro8390_reset_8390() 296 while ((z_readb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0) in zorro8390_reset_8390() 302 z_writeb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */ in zorro8390_reset_8390() 335 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr() 374 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 376 buf[count-1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input() 386 int nic_base = NE_BASE; in zorro8390_block_output() 419 z_writew(*ptrs++, NE_BASE+NE_DATAPORT); in zorro8390_block_output() 423 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RDC) == 0) in zorro8390_block_output()
|
D | ne2.c | 101 #define NE_BASE (dev->base_addr) macro 516 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 522 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() 559 insw(NE_BASE + NE_DATAPORT, hdr, in ne_get_8390_hdr() 562 insb(NE_BASE + NE_DATAPORT, hdr, in ne_get_8390_hdr() 599 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() 639 int nic_base = NE_BASE; in ne_block_output() [all …]
|
D | ne.c | 154 #define NE_BASE (dev->base_addr) macro 565 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); in ne_reset_8390() 571 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0) in ne_reset_8390() 576 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 606 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr() 608 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr() 646 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input() 649 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input() 655 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input() 690 int nic_base = NE_BASE; in ne_block_output() [all …]
|