Home
last modified time | relevance | path

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

/drivers/net/ethernet/8390/
Dne2k-pci.c167 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
353 ((u32 *)SA_prom)[i] = le32_to_cpu(inl(ioaddr + NE_DATAPORT)); in ne2k_pci_init_one()
356 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne2k_pci_init_one()
523 insw(NE_BASE + NE_DATAPORT, hdr, in ne2k_pci_get_8390_hdr()
526 *(u32 *)hdr = le32_to_cpu(inl(NE_BASE + NE_DATAPORT)); in ne2k_pci_get_8390_hdr()
565 insw(NE_BASE + NE_DATAPORT, buf, count >> 1); in ne2k_pci_block_input()
567 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
569 insl(NE_BASE + NE_DATAPORT, buf, count >> 2); in ne2k_pci_block_input()
575 *b++ = cpu_to_le16(inw(NE_BASE + NE_DATAPORT)); in ne2k_pci_block_input()
579 *buf = inb(NE_BASE + NE_DATAPORT); in ne2k_pci_block_input()
[all …]
Dapne.c52 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
253 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in apne_probe1()
254 SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); in apne_probe1()
405 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
409 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
450 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
452 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in apne_block_input()
457 *ptrc++ = inb(NE_BASE + NE_DATAPORT); in apne_block_input()
503 outw(*ptrs++, NE_BASE+NE_DATAPORT); in apne_block_output()
507 outb(*ptrc++, NE_BASE + NE_DATAPORT); in apne_block_output()
Dzorro8390.c48 #define NE_DATAPORT (0x10 * 2) /* NatSemi-defined port window offset */ macro
134 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
175 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
177 buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
222 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
344 SA_prom[i] = z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
345 (void)z_readb(ioaddr + NE_DATAPORT); in zorro8390_init()
Dmcf8390.c25 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset */ macro
209 ei_insw(addr + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr) >> 1); in mcf8390_get_8390_hdr()
245 ei_insw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_input()
247 buf[count - 1] = ei_inb(addr + NE_DATAPORT); in mcf8390_block_input()
283 ei_outsw(addr + NE_DATAPORT, buf, count >> 1); in mcf8390_block_output()
361 SA_prom[i] = ei_inb(addr + NE_DATAPORT); in mcf8390_init()
362 ei_inb(addr + NE_DATAPORT); in mcf8390_init()
Dne.c157 #define NE_DATAPORT 0x10 /* NatSemi-defined port window offset. */ macro
390 SA_prom[i] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
391 SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); in ne_probe1()
595 insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in ne_get_8390_hdr()
597 insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in ne_get_8390_hdr()
636 insw(NE_BASE + NE_DATAPORT,buf,count>>1); in ne_block_input()
639 buf[count-1] = inb(NE_BASE + NE_DATAPORT); in ne_block_input()
645 insb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_input()
735 outsw(NE_BASE + NE_DATAPORT, buf, count>>1); in ne_block_output()
737 outsb(NE_BASE + NE_DATAPORT, buf, count); in ne_block_output()
Dxsurf100.c48 #define NE_DATAPORT EI_SHIFT(0x10) macro
115 ei_outw(*(uint16_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
119 ei_outb(*(uint8_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
141 *(uint16_t *)dst = ei_inw(ei_local->mem + NE_DATAPORT); in xs100_read()
145 *(uint8_t *)dst = ei_inb(ei_local->mem + NE_DATAPORT); in xs100_read()
Dax88796.c68 #define NE_DATAPORT EI_SHIFT(0x10) macro
210 ioread16_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
213 ioread8_rep(nic_base + NE_DATAPORT, hdr, in ax_get_8390_hdr()
256 ioread16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_input()
258 buf[count-1] = ei_inb(nic_base + NE_DATAPORT); in ax_block_input()
261 ioread8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_input()
305 iowrite16_rep(nic_base + NE_DATAPORT, buf, count >> 1); in ax_block_output()
307 iowrite8_rep(nic_base + NE_DATAPORT, buf, count); in ax_block_output()
710 SA_prom[i] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()
711 SA_prom[i + 1] = ei_inb(ioaddr + NE_DATAPORT); in ax_init_dev()