/linux-5.19.10/drivers/net/ethernet/8390/ |
D | lib8390.c | 98 #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 …]
|
D | axnet_cs.c | 144 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() 652 struct ei_device *ei_local = netdev_priv(dev); in block_input() local 656 if ((netif_msg_rx_status(ei_local)) && (count != 4)) in block_input() 810 #define ei_reset_8390 (ei_local->reset_8390) 811 #define ei_block_output (ei_local->block_output) 812 #define ei_block_input (ei_local->block_input) 813 #define ei_get_8390_hdr (ei_local->get_8390_hdr) 863 struct ei_device *ei_local = netdev_priv(dev); in ax_open() local [all …]
|
D | ax88796.c | 53 #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() 119 struct ei_device *ei_local = netdev_priv(dev); in ax_initial_check() local 120 void __iomem *ioaddr = ei_local->mem; in ax_initial_check() 148 struct ei_device *ei_local = netdev_priv(dev); in ax_reset_8390() local 152 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in ax_reset_8390() 156 ei_local->txing = 0; in ax_reset_8390() 157 ei_local->dmaing = 0; in ax_reset_8390() 189 struct ei_device *ei_local = netdev_priv(dev); in ax_get_8390_hdr() local [all …]
|
D | etherh.c | 49 #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 …]
|
D | mcf8390.c | 155 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 …]
|
D | xsurf100.c | 38 #define EI_SHIFT(x) (ei_local->reg_offset[(x)]) 98 struct ei_device *ei_local = netdev_priv(dev); in xs100_write() local 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() 124 struct ei_device *ei_local = netdev_priv(dev); in xs100_read() local 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() 157 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_input() local 158 void __iomem *nic_base = ei_local->mem; in xs100_block_input() 161 if (ei_local->dmaing) { in xs100_block_input() [all …]
|
D | stnic.c | 107 struct ei_device *ei_local; in stnic_probe() local 155 ei_local = netdev_priv(dev); in stnic_probe() 156 ei_local->msg_enable = stnic_msg_enable; in stnic_probe() 174 struct ei_device *ei_local = netdev_priv(dev); in stnic_reset() local 178 netif_warn(ei_local, hw, dev, "8390 reset done (%ld).\n", jiffies); in stnic_reset() 187 struct ei_device *ei_local = netdev_priv(dev); in stnic_get_hdr() local 209 netif_dbg(ei_local, probe, dev, "ring %x status %02x next %02x count %04x.\n", in stnic_get_hdr()
|
D | ne2k-pci.c | 236 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()
|
D | smc-ultra.c | 215 struct ei_device *ei_local = netdev_priv(dev); in ultra_probe1() local 327 ei_local->msg_enable = ultra_msg_enable; in ultra_probe1() 423 struct ei_device *ei_local = netdev_priv(dev); in ultra_reset_8390() local 426 netif_dbg(ei_local, hw, dev, "resetting Ultra, t=%ld...\n", jiffies); in ultra_reset_8390() 436 netif_dbg(ei_local, hw, dev, "reset done\n"); in ultra_reset_8390() 541 struct ei_device *ei_local = netdev_priv(dev); in ultra_close_card() local 545 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in ultra_close_card()
|
D | wd.c | 174 struct ei_device *ei_local = netdev_priv(dev); in wd_probe1() local 355 ei_local->msg_enable = wd_msg_enable; in wd_probe1() 393 struct ei_device *ei_local = netdev_priv(dev); in wd_reset_8390() local 396 netif_dbg(ei_local, hw, dev, "resetting the WD80x3 t=%lu...\n", in wd_reset_8390() 405 netif_dbg(ei_local, hw, dev, "reset done\n"); in wd_reset_8390() 484 struct ei_device *ei_local = netdev_priv(dev); in wd_close() local 486 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in wd_close()
|
D | zorro8390.c | 38 #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()
|
D | ne.c | 301 struct ei_device *ei_local = netdev_priv(dev); in ne_probe1() local 529 ei_local->msg_enable = ne_msg_enable; in ne_probe1() 550 struct ei_device *ei_local = netdev_priv(dev); in ne_reset_8390() local 552 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in ne_reset_8390() 615 struct ei_device *ei_local = netdev_priv(dev); in ne_block_input() local 655 if (netif_msg_rx_status(ei_local)) in ne_block_input() 685 struct ei_device *ei_local = netdev_priv(dev); in ne_block_output() local 747 if (netif_msg_tx_queued(ei_local)) in ne_block_output()
|
D | apne.c | 125 struct ei_device *ei_local; in apne_probe() local 152 ei_local = netdev_priv(dev); in apne_probe() 153 ei_local->msg_enable = apne_msg_enable; in apne_probe() 357 struct ei_device *ei_local = netdev_priv(dev); in apne_reset_8390() local 361 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in apne_reset_8390()
|
D | hydra.c | 33 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 191 struct ei_device *ei_local = netdev_priv(dev); in hydra_close() local 193 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in hydra_close()
|
D | mac8390.c | 47 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 634 struct ei_device *ei_local = netdev_priv(dev); in mac8390_no_reset() local 637 netif_info(ei_local, hw, dev, "reset not supported\n"); in mac8390_no_reset() 643 struct ei_device *ei_local = netdev_priv(dev); in interlan_reset() local 645 netif_info(ei_local, hw, dev, "Need to reset the NS8390 t=%lu...", in interlan_reset() 649 if (netif_msg_hw(ei_local)) in interlan_reset()
|
D | pcnet_cs.c | 1172 struct ei_device *ei_local = netdev_priv(dev); in dma_block_input() local 1174 if ((netif_msg_rx_status(ei_local)) && (count != 4)) in dma_block_input() 1200 if (netif_msg_rx_status(ei_local)) { in dma_block_input() 1230 struct ei_device *ei_local = netdev_priv(dev); in dma_block_output() local 1235 netif_dbg(ei_local, tx_queued, dev, "[bo=%d]\n", count); in dma_block_output() 1274 if (netif_msg_tx_queued(ei_local)) { in dma_block_output()
|