Home
last modified time | relevance | path

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

/drivers/net/ethernet/8390/
Dne2k-pci.c166 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
352 ((u32 *)SA_prom)[i] = le32_to_cpu(inl(ioaddr + NE_DATAPORT)); in ne2k_pci_init_one()
355 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne2k_pci_init_one()
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()
578 *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.c53 #define NE_DATAPORT (0x10 * 2) /* NatSemi-defined port window offset */ macro
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()
227 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
349 SA_prom[i] = z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
350 (void)z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
Dmcf8390.c27 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset */ macro
211 ei_insw(addr + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr) >> 1); in mcf8390_get_8390_hdr()
247 ei_insw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_input()
249 buf[count - 1] = ei_inb(addr + NE_DATAPORT); in mcf8390_block_input()
285 ei_outsw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_output()
363 SA_prom[i] = ei_inb(addr + NE_DATAPORT); in mcf8390_init()
364 ei_inb(addr + NE_DATAPORT); in mcf8390_init()
Dne.c158 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
391 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
392 SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
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()
738 outsw(NE_BASE + NE_DATAPORT, buf, count>>1); in ne_block_output()
740 outsb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_output()
Dxsurf100.c53 #define NE_DATAPORT EI_SHIFT(0x10) macro
120 ei_outw(*(uint16_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
124 ei_outb(*(uint8_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
146 *(uint16_t *)dst = ei_inw(ei_local->mem + NE_DATAPORT); in xs100_read()
150 *(uint8_t *)dst = ei_inb(ei_local->mem + NE_DATAPORT); in xs100_read()
Dax88796.c68 #define NE_DATAPORT EI_SHIFT(0x10) macro
203 ioread16_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
206 ioread8_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
249 ioread16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_input()
251 buf[count-1] = ei_inb(nic_base + NE_DATAPORT); in ax_block_input()
254 ioread8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_input()
298 iowrite16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_output()
300 iowrite8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_output()
703 SA_prom[i] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()
704 SA_prom[i + 1] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()