Home
last modified time | relevance | path

Searched refs:ei_local (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Dlib8390.c98 #define ei_reset_8390 (ei_local->reset_8390)
99 #define ei_block_output (ei_local->block_output)
100 #define ei_block_input (ei_local->block_input)
101 #define ei_get_8390_hdr (ei_local->get_8390_hdr)
207 struct ei_device *ei_local = netdev_priv(dev); in __ei_open() local
217 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_open()
222 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_open()
223 ei_local->irqlock = 0; in __ei_open()
235 struct ei_device *ei_local = netdev_priv(dev); in __ei_close() local
242 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_close()
[all …]
Daxnet_cs.c144 struct ei_device *ei_local; in axnet_probe() local
152 ei_local = netdev_priv(dev); in axnet_probe()
153 spin_lock_init(&ei_local->page_lock); in axnet_probe()
649 struct ei_device *ei_local = netdev_priv(dev); in block_input() local
653 if ((netif_msg_rx_status(ei_local)) && (count != 4)) in block_input()
807 #define ei_reset_8390 (ei_local->reset_8390)
808 #define ei_block_output (ei_local->block_output)
809 #define ei_block_input (ei_local->block_input)
810 #define ei_get_8390_hdr (ei_local->get_8390_hdr)
860 struct ei_device *ei_local = netdev_priv(dev); in ax_open() local
[all …]
Dax88796.c53 #define EI_SHIFT(x) (ei_local->reg_offset[(x)])
100 struct ei_device *ei_local = netdev_priv(dev); in to_ax_dev() local
101 return (struct ax_device *)(ei_local + 1); in to_ax_dev()
112 struct ei_device *ei_local = netdev_priv(dev); in ax_initial_check() local
113 void __iomem *ioaddr = ei_local->mem; in ax_initial_check()
141 struct ei_device *ei_local = netdev_priv(dev); in ax_reset_8390() local
145 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in ax_reset_8390()
149 ei_local->txing = 0; in ax_reset_8390()
150 ei_local->dmaing = 0; in ax_reset_8390()
182 struct ei_device *ei_local = netdev_priv(dev); in ax_get_8390_hdr() local
[all …]
Detherh.c49 #define EI_SHIFT(x) (ei_local->reg_offset[x])
166 struct ei_device *ei_local = netdev_priv(dev); in etherh_setif() local
210 struct ei_device *ei_local = netdev_priv(dev); in etherh_getifstat() local
279 struct ei_device *ei_local = netdev_priv(dev); in etherh_reset() local
289 if (dev->flags & IFF_AUTOMEDIA && ei_local->interface_num) { in etherh_reset()
290 ei_local->interface_num = 0; in etherh_reset()
307 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_output() local
311 if (ei_local->dmaing) { in etherh_block_output()
314 ei_local->dmaing, ei_local->irqlock); in etherh_block_output()
321 if (count & 1 && ei_local->word16) in etherh_block_output()
[all …]
Dmcf8390.c155 struct ei_device *ei_local = netdev_priv(dev); in mcf8390_reset_8390() local
157 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in mcf8390_reset_8390()
180 struct ei_device *ei_local) in mcf8390_dmaing_err() argument
183 func, ei_local->dmaing, ei_local->irqlock); in mcf8390_dmaing_err()
194 struct ei_device *ei_local = netdev_priv(dev); in mcf8390_get_8390_hdr() local
197 if (ei_local->dmaing) { in mcf8390_get_8390_hdr()
198 mcf8390_dmaing_err(__func__, dev, ei_local); in mcf8390_get_8390_hdr()
202 ei_local->dmaing |= 0x01; in mcf8390_get_8390_hdr()
214 ei_local->dmaing &= ~0x01; in mcf8390_get_8390_hdr()
229 struct ei_device *ei_local = netdev_priv(dev); in mcf8390_block_input() local
[all …]
Dxsurf100.c40 #define EI_SHIFT(x) (ei_local->reg_offset[(x)])
103 struct ei_device *ei_local = netdev_priv(dev); in xs100_write() local
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()
129 struct ei_device *ei_local = netdev_priv(dev); in xs100_read() local
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()
162 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_input() local
163 void __iomem *nic_base = ei_local->mem; in xs100_block_input()
166 if (ei_local->dmaing) { in xs100_block_input()
[all …]
Dstnic.c108 struct ei_device *ei_local; in stnic_probe() local
156 ei_local = netdev_priv(dev); in stnic_probe()
157 ei_local->msg_enable = stnic_msg_enable; in stnic_probe()
175 struct ei_device *ei_local = netdev_priv(dev); in stnic_reset() local
179 netif_warn(ei_local, hw, dev, "8390 reset done (%ld).\n", jiffies); in stnic_reset()
188 struct ei_device *ei_local = netdev_priv(dev); in stnic_get_hdr() local
210 netif_dbg(ei_local, probe, dev, "ring %x status %02x next %02x count %04x.\n", in stnic_get_hdr()
Dne2k-pci.c236 struct ei_device *ei_local; in ne2k_pci_init_one() local
287 ei_local = netdev_priv(dev); in ne2k_pci_init_one()
288 ei_local->msg_enable = netif_msg_init(ne2k_msg_enable, default_msg_level); in ne2k_pci_init_one()
474 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_reset_8390() local
476 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", in ne2k_pci_reset_8390()
676 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_get_msglevel() local
678 return ei_local->msg_enable; in ne2k_pci_get_msglevel()
683 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_set_msglevel() local
685 ei_local->msg_enable = v; in ne2k_pci_set_msglevel()
Dsmc-ultra.c214 struct ei_device *ei_local = netdev_priv(dev); in ultra_probe1() local
325 ei_local->msg_enable = ultra_msg_enable; in ultra_probe1()
421 struct ei_device *ei_local = netdev_priv(dev); in ultra_reset_8390() local
424 netif_dbg(ei_local, hw, dev, "resetting Ultra, t=%ld...\n", jiffies); in ultra_reset_8390()
434 netif_dbg(ei_local, hw, dev, "reset done\n"); in ultra_reset_8390()
540 struct ei_device *ei_local = netdev_priv(dev); in ultra_close_card() local
544 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in ultra_close_card()
Dwd.c173 struct ei_device *ei_local = netdev_priv(dev); in wd_probe1() local
353 ei_local->msg_enable = wd_msg_enable; in wd_probe1()
391 struct ei_device *ei_local = netdev_priv(dev); in wd_reset_8390() local
394 netif_dbg(ei_local, hw, dev, "resetting the WD80x3 t=%lu...\n", in wd_reset_8390()
403 netif_dbg(ei_local, hw, dev, "reset done\n"); in wd_reset_8390()
482 struct ei_device *ei_local = netdev_priv(dev); in wd_close() local
484 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in wd_close()
Dzorro8390.c38 #define EI_SHIFT(x) (ei_local->reg_offset[x])
89 struct ei_device *ei_local = netdev_priv(dev); in zorro8390_reset_8390() local
91 netif_dbg(ei_local, hw, dev, "resetting - t=%ld...\n", jiffies); in zorro8390_reset_8390()
252 struct ei_device *ei_local = netdev_priv(dev); in zorro8390_close() local
254 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard\n"); in zorro8390_close()
Dne.c301 struct ei_device *ei_local = netdev_priv(dev); in ne_probe1() local
531 ei_local->msg_enable = ne_msg_enable; in ne_probe1()
552 struct ei_device *ei_local = netdev_priv(dev); in ne_reset_8390() local
554 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in ne_reset_8390()
617 struct ei_device *ei_local = netdev_priv(dev); in ne_block_input() local
657 if (netif_msg_rx_status(ei_local)) in ne_block_input()
687 struct ei_device *ei_local = netdev_priv(dev); in ne_block_output() local
749 if (netif_msg_tx_queued(ei_local)) in ne_block_output()
Dhydra.c33 #define EI_SHIFT(x) (ei_local->reg_offset[x])
189 struct ei_device *ei_local = netdev_priv(dev); in hydra_close() local
191 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in hydra_close()
Dapne.c126 struct ei_device *ei_local; in apne_probe() local
157 ei_local = netdev_priv(dev); in apne_probe()
158 ei_local->msg_enable = apne_msg_enable; in apne_probe()
363 struct ei_device *ei_local = netdev_priv(dev); in apne_reset_8390() local
367 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in apne_reset_8390()
Dmac8390.c47 #define EI_SHIFT(x) (ei_local->reg_offset[x])
640 struct ei_device *ei_local = netdev_priv(dev); in mac8390_no_reset() local
643 netif_info(ei_local, hw, dev, "reset not supported\n"); in mac8390_no_reset()
649 struct ei_device *ei_local = netdev_priv(dev); in interlan_reset() local
651 netif_info(ei_local, hw, dev, "Need to reset the NS8390 t=%lu...", in interlan_reset()
655 if (netif_msg_hw(ei_local)) in interlan_reset()
Dpcnet_cs.c1162 struct ei_device *ei_local = netdev_priv(dev); in dma_block_input() local
1164 if ((netif_msg_rx_status(ei_local)) && (count != 4)) in dma_block_input()
1190 if (netif_msg_rx_status(ei_local)) { in dma_block_input()
1220 struct ei_device *ei_local = netdev_priv(dev); in dma_block_output() local
1225 netif_dbg(ei_local, tx_queued, dev, "[bo=%d]\n", count); in dma_block_output()
1264 if (netif_msg_tx_queued(ei_local)) { in dma_block_output()