Searched refs:NE_BASE (Results 1 - 6 of 6) sorted by relevance

/drivers/net/ethernet/8390/
H A Dne-h8300.c62 #define NE_BASE (dev->base_addr) macro
380 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
386 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0)
391 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */
412 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, NE_BASE + NE_CMD);
413 outb_p(sizeof(struct e8390_pkt_hdr), NE_BASE + EN0_RCNTLO);
414 outb_p(0, NE_BASE + EN0_RCNTHI);
415 outb_p(0, NE_BASE + EN0_RSARLO); /* On page boundary */
416 outb_p(ring_page, NE_BASE
[all...]
H A Dapne.c56 #define NE_BASE (dev->base_addr) macro
361 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
367 while ((inb(NE_BASE+NE_EN0_ISR) & ENISR_RESET) == 0)
372 outb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr. */
408 *ptrs++ = inw(NE_BASE + NE_DATAPORT);
412 *ptrc++ = inb(NE_BASE + NE_DATAPORT);
453 *ptrs++ = inw(NE_BASE + NE_DATAPORT);
455 buf[count-1] = inb(NE_BASE + NE_DATAPORT);
460 *ptrc++ = inb(NE_BASE
[all...]
H A Dne2k-pci.c158 #define NE_BASE (dev->base_addr) macro
461 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
467 while ((inb(NE_BASE+EN0_ISR) & ENISR_RESET) == 0)
472 outb(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */
501 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
503 *(u32*)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT));
540 insw(NE_BASE + NE_DATAPORT,buf,count>>1);
542 buf[count-1] = inb(NE_BASE + NE_DATAPORT);
545 insl(NE_BASE
[all...]
H A Dzorro8390.c52 #define NE_BASE (dev->base_addr) macro
94 z_writeb(z_readb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
100 while ((z_readb(NE_BASE + NE_EN0_ISR) & ENISR_RESET) == 0)
105 z_writeb(ENISR_RESET, NE_BASE + NE_EN0_ISR); /* Ack intr */
139 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT);
180 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT);
182 buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT);
192 int nic_base = NE_BASE;
227 z_writew(*ptrs++, NE_BASE
[all...]
H A Dne2.c101 #define NE_BASE (dev->base_addr) macro
516 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
522 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0)
528 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */
559 insw(NE_BASE + NE_DATAPORT, hdr,
562 insb(NE_BASE + NE_DATAPORT, hdr,
599 insw(NE_BASE + NE_DATAPORT,buf,count>>1);
601 buf[count-1] = inb(NE_BASE + NE_DATAPORT);
607 insb(NE_BASE
[all...]
H A Dne.c154 #define NE_BASE (dev->base_addr) macro
565 outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
571 while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0)
576 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */
606 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
608 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr));
646 insw(NE_BASE + NE_DATAPORT,buf,count>>1);
649 buf[count-1] = inb(NE_BASE + NE_DATAPORT);
655 insb(NE_BASE
[all...]

Completed in 325 milliseconds