/drivers/net/ethernet/8390/ |
D | lib8390.c | 97 #define ei_reset_8390 (ei_local->reset_8390) 98 #define ei_block_output (ei_local->block_output) 99 #define ei_block_input (ei_local->block_input) 100 #define ei_get_8390_hdr (ei_local->get_8390_hdr) 206 struct ei_device *ei_local = netdev_priv(dev); in __ei_open() local 216 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_open() 221 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_open() 222 ei_local->irqlock = 0; in __ei_open() 234 struct ei_device *ei_local = netdev_priv(dev); in __ei_close() local 241 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 655 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 …]
|
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 | 153 struct ei_device *ei_local = netdev_priv(dev); in mcf8390_reset_8390() local 155 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in mcf8390_reset_8390() 178 struct ei_device *ei_local) in mcf8390_dmaing_err() argument 181 func, ei_local->dmaing, ei_local->irqlock); in mcf8390_dmaing_err() 192 struct ei_device *ei_local = netdev_priv(dev); in mcf8390_get_8390_hdr() local 195 if (ei_local->dmaing) { in mcf8390_get_8390_hdr() 196 mcf8390_dmaing_err(__func__, dev, ei_local); in mcf8390_get_8390_hdr() 200 ei_local->dmaing |= 0x01; in mcf8390_get_8390_hdr() 212 ei_local->dmaing &= ~0x01; in mcf8390_get_8390_hdr() 227 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 | 104 struct ei_device *ei_local; in stnic_probe() local 152 ei_local = netdev_priv(dev); in stnic_probe() 153 ei_local->msg_enable = stnic_msg_enable; in stnic_probe() 171 struct ei_device *ei_local = netdev_priv(dev); in stnic_reset() local 175 netif_warn(ei_local, hw, dev, "8390 reset done (%ld).\n", jiffies); in stnic_reset() 184 struct ei_device *ei_local = netdev_priv(dev); in stnic_get_hdr() local 206 netif_dbg(ei_local, probe, dev, "ring %x status %02x next %02x count %04x.\n", in stnic_get_hdr()
|
D | ne2k-pci.c | 237 struct ei_device *ei_local; in ne2k_pci_init_one() local 288 ei_local = netdev_priv(dev); in ne2k_pci_init_one() 289 ei_local->msg_enable = netif_msg_init(ne2k_msg_enable, default_msg_level); in ne2k_pci_init_one() 475 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_reset_8390() local 477 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", in ne2k_pci_reset_8390() 677 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_get_msglevel() local 679 return ei_local->msg_enable; in ne2k_pci_get_msglevel() 684 struct ei_device *ei_local = netdev_priv(dev); in ne2k_pci_set_msglevel() local 686 ei_local->msg_enable = v; in ne2k_pci_set_msglevel()
|
D | smc-ultra.c | 214 struct ei_device *ei_local = netdev_priv(dev); in ultra_probe1() local 326 ei_local->msg_enable = ultra_msg_enable; in ultra_probe1() 422 struct ei_device *ei_local = netdev_priv(dev); in ultra_reset_8390() local 425 netif_dbg(ei_local, hw, dev, "resetting Ultra, t=%ld...\n", jiffies); in ultra_reset_8390() 435 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()
|
D | wd.c | 173 struct ei_device *ei_local = netdev_priv(dev); in wd_probe1() local 354 ei_local->msg_enable = wd_msg_enable; in wd_probe1() 392 struct ei_device *ei_local = netdev_priv(dev); in wd_reset_8390() local 395 netif_dbg(ei_local, hw, dev, "resetting the WD80x3 t=%lu...\n", in wd_reset_8390() 404 netif_dbg(ei_local, hw, dev, "reset done\n"); in wd_reset_8390() 483 struct ei_device *ei_local = netdev_priv(dev); in wd_close() local 485 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); in wd_close()
|
D | zorro8390.c | 33 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 84 struct ei_device *ei_local = netdev_priv(dev); in zorro8390_reset_8390() local 86 netif_dbg(ei_local, hw, dev, "resetting - t=%ld...\n", jiffies); in zorro8390_reset_8390() 247 struct ei_device *ei_local = netdev_priv(dev); in zorro8390_close() local 249 netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard\n"); in zorro8390_close()
|
D | ne.c | 300 struct ei_device *ei_local = netdev_priv(dev); in ne_probe1() local 528 ei_local->msg_enable = ne_msg_enable; in ne_probe1() 549 struct ei_device *ei_local = netdev_priv(dev); in ne_reset_8390() local 551 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in ne_reset_8390() 614 struct ei_device *ei_local = netdev_priv(dev); in ne_block_input() local 654 if (netif_msg_rx_status(ei_local)) in ne_block_input() 684 struct ei_device *ei_local = netdev_priv(dev); in ne_block_output() local 746 if (netif_msg_tx_queued(ei_local)) in ne_block_output()
|
D | apne.c | 120 struct ei_device *ei_local; in apne_probe() local 147 ei_local = netdev_priv(dev); in apne_probe() 148 ei_local->msg_enable = apne_msg_enable; in apne_probe() 352 struct ei_device *ei_local = netdev_priv(dev); in apne_reset_8390() local 356 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in apne_reset_8390()
|
D | mac8390.c | 45 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 632 struct ei_device *ei_local = netdev_priv(dev); in mac8390_no_reset() local 635 netif_info(ei_local, hw, dev, "reset not supported\n"); in mac8390_no_reset() 641 struct ei_device *ei_local = netdev_priv(dev); in interlan_reset() local 643 netif_info(ei_local, hw, dev, "Need to reset the NS8390 t=%lu...", in interlan_reset() 647 if (netif_msg_hw(ei_local)) in interlan_reset()
|
D | hydra.c | 31 #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()
|
D | pcnet_cs.c | 1171 struct ei_device *ei_local = netdev_priv(dev); in dma_block_input() local 1173 if ((netif_msg_rx_status(ei_local)) && (count != 4)) in dma_block_input() 1199 if (netif_msg_rx_status(ei_local)) { in dma_block_input() 1229 struct ei_device *ei_local = netdev_priv(dev); in dma_block_output() local 1234 netif_dbg(ei_local, tx_queued, dev, "[bo=%d]\n", count); in dma_block_output() 1273 if (netif_msg_tx_queued(ei_local)) { in dma_block_output()
|