Home
last modified time | relevance | path

Searched refs:nic_base (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/8390/
A Dzorro8390.c114 int nic_base = dev->base_addr; in zorro8390_get_8390_hdr() local
130 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_get_8390_hdr()
132 z_writeb(0, nic_base + NE_EN0_RCNTHI); in zorro8390_get_8390_hdr()
134 z_writeb(ring_page, nic_base + NE_EN0_RSARHI); in zorro8390_get_8390_hdr()
157 int nic_base = dev->base_addr; in zorro8390_block_input() local
172 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_block_input()
174 z_writeb(count >> 8, nic_base + NE_EN0_RCNTHI); in zorro8390_block_input()
192 int nic_base = NE_BASE; in zorro8390_block_output() local
216 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_block_output()
221 z_writeb(0x00, nic_base + NE_EN0_RSARLO); in zorro8390_block_output()
[all …]
A Dapne.c385 int nic_base = dev->base_addr; in apne_get_8390_hdr() local
400 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_get_8390_hdr()
402 outb(0, nic_base + NE_EN0_RCNTHI); in apne_get_8390_hdr()
404 outb(ring_page, nic_base + NE_EN0_RSARHI); in apne_get_8390_hdr()
431 int nic_base = dev->base_addr; in apne_block_input() local
446 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_input()
448 outb(count >> 8, nic_base + NE_EN0_RCNTHI); in apne_block_input()
473 int nic_base = NE_BASE; in apne_block_output() local
496 outb(ENISR_RDC, nic_base + NE_EN0_ISR); in apne_block_output()
501 outb(0x00, nic_base + NE_EN0_RSARLO); in apne_block_output()
[all …]
A Dne2k-pci.c503 long nic_base = dev->base_addr; in ne2k_pci_get_8390_hdr() local
516 outb(0, nic_base + EN0_RCNTHI); in ne2k_pci_get_8390_hdr()
529 outb(ENISR_RDC, nic_base + EN0_ISR); in ne2k_pci_get_8390_hdr()
542 long nic_base = dev->base_addr; in ne2k_pci_block_input() local
582 outb(ENISR_RDC, nic_base + EN0_ISR); in ne2k_pci_block_input()
589 long nic_base = NE_BASE; in ne2k_pci_block_output() local
619 outb(0x42, nic_base + EN0_RCNTLO); in ne2k_pci_block_output()
620 outb(0x00, nic_base + EN0_RCNTHI); in ne2k_pci_block_output()
621 outb(0x42, nic_base + EN0_RSARLO); in ne2k_pci_block_output()
622 outb(0x00, nic_base + EN0_RSARHI); in ne2k_pci_block_output()
[all …]
A Dne.c575 int nic_base = dev->base_addr; in ne_get_8390_hdr() local
590 outb_p(0, nic_base + EN0_RCNTHI); in ne_get_8390_hdr()
592 outb_p(ring_page, nic_base + EN0_RSARHI); in ne_get_8390_hdr()
617 int nic_base = dev->base_addr; in ne_block_input() local
681 int nic_base = NE_BASE; in ne_block_output() local
717 outb_p(0x42, nic_base + EN0_RCNTLO); in ne_block_output()
718 outb_p(0x00, nic_base + EN0_RCNTHI); in ne_block_output()
719 outb_p(0x42, nic_base + EN0_RSARLO); in ne_block_output()
720 outb_p(0x00, nic_base + EN0_RSARHI); in ne_block_output()
726 outb_p(ENISR_RDC, nic_base + EN0_ISR); in ne_block_output()
[all …]
A Dxsurf100.c158 void __iomem *nic_base = ei_local->mem; in xs100_block_input() local
172 ei_outb(count & 0xff, nic_base + EN0_RCNTLO); in xs100_block_input()
173 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in xs100_block_input()
174 ei_outb(ring_offset & 0xff, nic_base + EN0_RSARLO); in xs100_block_input()
175 ei_outb(ring_offset >> 8, nic_base + EN0_RSARHI); in xs100_block_input()
187 void __iomem *nic_base = ei_local->mem; in xs100_block_output() local
212 ei_outb(ENISR_RDC, nic_base + EN0_ISR); in xs100_block_output()
215 ei_outb(count & 0xff, nic_base + EN0_RCNTLO); in xs100_block_output()
216 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in xs100_block_output()
217 ei_outb(0x00, nic_base + EN0_RSARLO); in xs100_block_output()
[all …]
A Dpcnet_cs.c848 unsigned int nic_base = dev->base_addr; in set_misc_reg() local
853 tmp = inb_p(nic_base + PCNET_MISC) & ~3; in set_misc_reg()
860 outb_p(tmp, nic_base + PCNET_MISC); in set_misc_reg()
913 unsigned int nic_base = dev->base_addr; in pcnet_open() local
965 unsigned int nic_base = dev->base_addr; in pcnet_reset_8390() local
972 outb(inb(nic_base + PCNET_RESET), nic_base + PCNET_RESET); in pcnet_reset_8390()
1024 unsigned int nic_base = dev->base_addr; in ei_watchdog() local
1150 outb_p(0, nic_base + EN0_RCNTHI); in dma_get_8390_hdr()
1155 insw(nic_base + PCNET_DATAPORT, hdr, in dma_get_8390_hdr()
1257 outb_p(ENISR_RDC, nic_base + EN0_ISR); in dma_block_output()
[all …]
A Dax88796.c190 void __iomem *nic_base = ei_local->mem; in ax_get_8390_hdr() local
204 ei_outb(0, nic_base + EN0_RCNTHI); in ax_get_8390_hdr()
206 ei_outb(ring_page, nic_base + EN0_RSARHI); in ax_get_8390_hdr()
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()
234 void __iomem *nic_base = ei_local->mem; in ax_block_input() local
250 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in ax_block_input()
271 void __iomem *nic_base = ei_local->mem; in ax_block_output() local
295 ei_outb(ENISR_RDC, nic_base + EN0_ISR); in ax_block_output()
299 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in ax_block_output()
[all …]
A Daxnet_cs.c472 unsigned int nic_base = dev->base_addr; in axnet_open() local
521 unsigned int nic_base = dev->base_addr; in axnet_reset_8390() local
528 outb(inb(nic_base + AXNET_RESET), nic_base + AXNET_RESET); in axnet_reset_8390()
555 unsigned int nic_base = dev->base_addr; in ei_watchdog() local
633 unsigned int nic_base = dev->base_addr; in get_8390_hdr() local
636 outb_p(ring_page, nic_base + EN0_RSARHI); in get_8390_hdr()
639 insw(nic_base + AXNET_DATAPORT, hdr, in get_8390_hdr()
651 unsigned int nic_base = dev->base_addr; in block_input() local
675 unsigned int nic_base = dev->base_addr; in block_output() local
685 outb_p(0x00, nic_base + EN0_RSARLO); in block_output()
[all …]
A Dhydra.c206 int nic_base = dev->base_addr; in hydra_get_8390_hdr() local
208 unsigned long hdr_start= (nic_base-HYDRA_NIC_BASE) + in hydra_get_8390_hdr()
222 unsigned long nic_base = dev->base_addr; in hydra_block_input() local
223 unsigned long mem_base = nic_base - HYDRA_NIC_BASE; in hydra_block_input()
243 unsigned long nic_base = dev->base_addr; in hydra_block_output() local
244 unsigned long mem_base = nic_base - HYDRA_NIC_BASE; in hydra_block_output()

Completed in 21 milliseconds