Home
last modified time | relevance | path

Searched refs:NE_DATAPORT (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/8390/
Dne2k-pci.c159 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
338 ((u32 *)SA_prom)[i] = le32_to_cpu(inl(ioaddr + NE_DATAPORT)); in ne2k_pci_init_one()
341 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne2k_pci_init_one()
503 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne2k_pci_get_8390_hdr()
505 *(u32*)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr()
542 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne2k_pci_block_input()
544 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
547 insl(NE_BASE + NE_DATAPORT, buf, count>>2); in ne2k_pci_block_input()
553 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input()
557 *buf = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
[all …]
Dapne.c57 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
263 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in apne_probe1()
264 SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); in apne_probe1()
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()
514 outw(*ptrs++, NE_BASE+NE_DATAPORT); in apne_block_output()
518 outb(*ptrc++, NE_BASE + NE_DATAPORT); in apne_block_output()
Dzorro8390.c55 #define NE_DATAPORT (0x10 * 2) /* NatSemi-defined port window offset */ macro
141 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
182 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
184 buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
229 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
353 SA_prom[i] = z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
354 (void)z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
Dmcf8390.c27 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset */ macro
212 ei_insw(addr + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr) >> 1); in mcf8390_get_8390_hdr()
248 ei_insw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_input()
250 buf[count - 1] = ei_inb(addr + NE_DATAPORT); in mcf8390_block_input()
286 ei_outsw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_output()
365 SA_prom[i] = ei_inb(addr + NE_DATAPORT); in mcf8390_init()
366 ei_inb(addr + NE_DATAPORT); in mcf8390_init()
Dne.c158 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
394 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
395 SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
615 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr()
617 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr()
656 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input()
659 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input()
665 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input()
755 outsw(NE_BASE + NE_DATAPORT, buf, count>>1); in ne_block_output()
757 outsb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_output()
Dax88796.c71 #define NE_DATAPORT EI_SHIFT(0x10) macro
193 ioread16_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
196 ioread8_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
239 ioread16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_input()
241 buf[count-1] = ei_inb(nic_base + NE_DATAPORT); in ax_block_input()
244 ioread8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_input()
288 iowrite16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_output()
290 iowrite8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_output()
676 SA_prom[i] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()
677 SA_prom[i + 1] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()