ei_local 126 drivers/net/ethernet/8390/apne.c struct ei_device *ei_local; ei_local 157 drivers/net/ethernet/8390/apne.c ei_local = netdev_priv(dev); ei_local 158 drivers/net/ethernet/8390/apne.c ei_local->msg_enable = apne_msg_enable; ei_local 363 drivers/net/ethernet/8390/apne.c struct ei_device *ei_local = netdev_priv(dev); ei_local 367 drivers/net/ethernet/8390/apne.c netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); ei_local 53 drivers/net/ethernet/8390/ax88796.c #define EI_SHIFT(x) (ei_local->reg_offset[(x)]) ei_local 100 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 101 drivers/net/ethernet/8390/ax88796.c return (struct ax_device *)(ei_local + 1); ei_local 112 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 113 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ei_local 141 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 145 drivers/net/ethernet/8390/ax88796.c netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); ei_local 149 drivers/net/ethernet/8390/ax88796.c ei_local->txing = 0; ei_local 150 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing = 0; ei_local 182 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 183 drivers/net/ethernet/8390/ax88796.c void __iomem *nic_base = ei_local->mem; ei_local 186 drivers/net/ethernet/8390/ax88796.c if (ei_local->dmaing) { ei_local 190 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing, ei_local->irqlock); ei_local 194 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing |= 0x01; ei_local 202 drivers/net/ethernet/8390/ax88796.c if (ei_local->word16) ei_local 210 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing &= ~0x01; ei_local 226 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 227 drivers/net/ethernet/8390/ax88796.c void __iomem *nic_base = ei_local->mem; ei_local 230 drivers/net/ethernet/8390/ax88796.c if (ei_local->dmaing) { ei_local 235 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing, ei_local->irqlock); ei_local 239 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing |= 0x01; ei_local 248 drivers/net/ethernet/8390/ax88796.c if (ei_local->word16) { ei_local 257 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing &= ~1; ei_local 263 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 264 drivers/net/ethernet/8390/ax88796.c void __iomem *nic_base = ei_local->mem; ei_local 272 drivers/net/ethernet/8390/ax88796.c if (ei_local->word16 && (count & 0x01)) ei_local 276 drivers/net/ethernet/8390/ax88796.c if (ei_local->dmaing) { ei_local 280 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing, ei_local->irqlock); ei_local 284 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing |= 0x01; ei_local 297 drivers/net/ethernet/8390/ax88796.c if (ei_local->word16) ei_local 314 drivers/net/ethernet/8390/ax88796.c ei_local->dmaing &= ~0x01; ei_local 387 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 397 drivers/net/ethernet/8390/ax88796.c ei_outb(reg_gpoc, ei_local->mem + EI_SHIFT(0x17)); ei_local 455 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 460 drivers/net/ethernet/8390/ax88796.c ax->addr_memr = ei_local->mem + AX_MEMR; ei_local 582 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 584 drivers/net/ethernet/8390/ax88796.c return ei_local->msg_enable; ei_local 589 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 591 drivers/net/ethernet/8390/ax88796.c ei_local->msg_enable = v; ei_local 607 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = eeprom->data; ei_local 608 drivers/net/ethernet/8390/ax88796.c u8 reg = ei_inb(ei_local->mem + AX_MEMR); ei_local 618 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = eeprom->data; ei_local 619 drivers/net/ethernet/8390/ax88796.c u8 reg = ei_inb(ei_local->mem + AX_MEMR); ei_local 630 drivers/net/ethernet/8390/ax88796.c ei_outb(reg, ei_local->mem + AX_MEMR); ei_local 653 drivers/net/ethernet/8390/ax88796.c static void ax_initial_setup(struct net_device *dev, struct ei_device *ei_local) ei_local 655 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ei_local 676 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 678 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ei_local 690 drivers/net/ethernet/8390/ax88796.c ax_initial_setup(dev, ei_local); ei_local 720 drivers/net/ethernet/8390/ax88796.c eeprom.data = ei_local; ei_local 734 drivers/net/ethernet/8390/ax88796.c ei_outb(ax->plat->dcr_val, ei_local->mem + EN0_DCFG); ei_local 745 drivers/net/ethernet/8390/ax88796.c ei_local->mem + E8390_CMD); /* 0x61 */ ei_local 763 drivers/net/ethernet/8390/ax88796.c ei_local->name = "AX88796"; ei_local 764 drivers/net/ethernet/8390/ax88796.c ei_local->tx_start_page = start_page; ei_local 765 drivers/net/ethernet/8390/ax88796.c ei_local->stop_page = stop_page; ei_local 766 drivers/net/ethernet/8390/ax88796.c ei_local->word16 = (ax->plat->wordlength == 2); ei_local 767 drivers/net/ethernet/8390/ax88796.c ei_local->rx_start_page = start_page + TX_PAGES; ei_local 771 drivers/net/ethernet/8390/ax88796.c ei_local->stop_page = ei_local->tx_start_page + PACKETBUF_MEMSIZE; ei_local 774 drivers/net/ethernet/8390/ax88796.c ei_local->reset_8390 = &ax_reset_8390; ei_local 776 drivers/net/ethernet/8390/ax88796.c ei_local->block_input = ax->plat->block_input; ei_local 778 drivers/net/ethernet/8390/ax88796.c ei_local->block_input = &ax_block_input; ei_local 780 drivers/net/ethernet/8390/ax88796.c ei_local->block_output = ax->plat->block_output; ei_local 782 drivers/net/ethernet/8390/ax88796.c ei_local->block_output = &ax_block_output; ei_local 783 drivers/net/ethernet/8390/ax88796.c ei_local->get_8390_hdr = &ax_get_8390_hdr; ei_local 784 drivers/net/ethernet/8390/ax88796.c ei_local->priv = 0; ei_local 796 drivers/net/ethernet/8390/ax88796.c ei_local->word16 ? 16 : 8, dev->irq, dev->base_addr, ei_local 808 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local = netdev_priv(dev); ei_local 814 drivers/net/ethernet/8390/ax88796.c iounmap(ei_local->mem); ei_local 840 drivers/net/ethernet/8390/ax88796.c struct ei_device *ei_local; ei_local 852 drivers/net/ethernet/8390/ax88796.c ei_local = netdev_priv(dev); ei_local 858 drivers/net/ethernet/8390/ax88796.c ei_local->rxcr_base = ax->plat->rcr_val; ei_local 888 drivers/net/ethernet/8390/ax88796.c ei_local->reg_offset = ax->plat->reg_offsets; ei_local 890 drivers/net/ethernet/8390/ax88796.c ei_local->reg_offset = ax->reg_offsets; ei_local 901 drivers/net/ethernet/8390/ax88796.c ei_local->mem = ioremap(mem->start, mem_size); ei_local 902 drivers/net/ethernet/8390/ax88796.c dev->base_addr = (unsigned long)ei_local->mem; ei_local 904 drivers/net/ethernet/8390/ax88796.c if (ei_local->mem == NULL) { ei_local 934 drivers/net/ethernet/8390/ax88796.c ei_local->reg_offset[0x1f] = ax->map2 - ei_local->mem; ei_local 952 drivers/net/ethernet/8390/ax88796.c iounmap(ei_local->mem); ei_local 144 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local; ei_local 152 drivers/net/ethernet/8390/axnet_cs.c ei_local = netdev_priv(dev); ei_local 153 drivers/net/ethernet/8390/axnet_cs.c spin_lock_init(&ei_local->page_lock); ei_local 649 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 653 drivers/net/ethernet/8390/axnet_cs.c if ((netif_msg_rx_status(ei_local)) && (count != 4)) ei_local 805 drivers/net/ethernet/8390/axnet_cs.c #define ei_reset_8390 (ei_local->reset_8390) ei_local 806 drivers/net/ethernet/8390/axnet_cs.c #define ei_block_output (ei_local->block_output) ei_local 807 drivers/net/ethernet/8390/axnet_cs.c #define ei_block_input (ei_local->block_input) ei_local 808 drivers/net/ethernet/8390/axnet_cs.c #define ei_get_8390_hdr (ei_local->get_8390_hdr) ei_local 858 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 865 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 870 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 871 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 0; ei_local 909 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 915 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 918 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 928 drivers/net/ethernet/8390/axnet_cs.c ei_local->interface_num ^= 1; /* Try a different xcvr. */ ei_local 933 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 939 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 955 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 969 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 976 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 1; ei_local 988 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->tx1 == 0) ei_local 990 drivers/net/ethernet/8390/axnet_cs.c output_page = ei_local->tx_start_page; ei_local 991 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = send_length; ei_local 992 drivers/net/ethernet/8390/axnet_cs.c if ((netif_msg_tx_queued(ei_local)) && ei_local 993 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2 > 0) ei_local 996 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2, ei_local->lasttx, ei_local 997 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing); ei_local 999 drivers/net/ethernet/8390/axnet_cs.c else if (ei_local->tx2 == 0) ei_local 1001 drivers/net/ethernet/8390/axnet_cs.c output_page = ei_local->tx_start_page + TX_PAGES/2; ei_local 1002 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2 = send_length; ei_local 1003 drivers/net/ethernet/8390/axnet_cs.c if ((netif_msg_tx_queued(ei_local)) && ei_local 1004 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 > 0) ei_local 1007 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1, ei_local->lasttx, ei_local 1008 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing); ei_local 1012 drivers/net/ethernet/8390/axnet_cs.c netif_dbg(ei_local, tx_err, dev, ei_local 1014 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1, ei_local->tx2, ei_local 1015 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx); ei_local 1016 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 0; ei_local 1019 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 1038 drivers/net/ethernet/8390/axnet_cs.c if (! ei_local->txing) ei_local 1040 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing = 1; ei_local 1043 drivers/net/ethernet/8390/axnet_cs.c if (output_page == ei_local->tx_start_page) ei_local 1045 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = -1; ei_local 1046 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx = -1; ei_local 1050 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2 = -1; ei_local 1051 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx = -2; ei_local 1054 drivers/net/ethernet/8390/axnet_cs.c else ei_local->txqueue++; ei_local 1056 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->tx1 && ei_local->tx2) ei_local 1062 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 0; ei_local 1065 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 1090 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local; ei_local 1095 drivers/net/ethernet/8390/axnet_cs.c ei_local = netdev_priv(dev); ei_local 1101 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 1103 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->irqlock) { ei_local 1107 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->irqlock) ei_local 1116 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 1120 drivers/net/ethernet/8390/axnet_cs.c netif_dbg(ei_local, intr, dev, "interrupt(isr=%#2.2x)\n", ei_local 1124 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 1; ei_local 1131 drivers/net/ethernet/8390/axnet_cs.c netif_warn(ei_local, intr, dev, ei_local 1168 drivers/net/ethernet/8390/axnet_cs.c if (interrupts && (netif_msg_intr(ei_local))) ei_local 1187 drivers/net/ethernet/8390/axnet_cs.c ei_local->irqlock = 0; ei_local 1190 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 1251 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1258 drivers/net/ethernet/8390/axnet_cs.c ei_local->txqueue--; ei_local 1260 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->tx1 < 0) ei_local 1262 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->lasttx != 1 && ei_local->lasttx != -1) ei_local 1264 drivers/net/ethernet/8390/axnet_cs.c ei_local->name, ei_local->lasttx, ei_local 1265 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1); ei_local 1266 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = 0; ei_local 1267 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->tx2 > 0) ei_local 1269 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing = 1; ei_local 1270 drivers/net/ethernet/8390/axnet_cs.c NS8390_trigger_send(dev, ei_local->tx2, ei_local->tx_start_page + 6); ei_local 1272 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2 = -1, ei_local 1273 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx = 2; ei_local 1275 drivers/net/ethernet/8390/axnet_cs.c else ei_local->lasttx = 20, ei_local->txing = 0; ei_local 1277 drivers/net/ethernet/8390/axnet_cs.c else if (ei_local->tx2 < 0) ei_local 1279 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->lasttx != 2 && ei_local->lasttx != -2) ei_local 1281 drivers/net/ethernet/8390/axnet_cs.c ei_local->name, ei_local->lasttx, ei_local 1282 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2); ei_local 1283 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx2 = 0; ei_local 1284 drivers/net/ethernet/8390/axnet_cs.c if (ei_local->tx1 > 0) ei_local 1286 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing = 1; ei_local 1287 drivers/net/ethernet/8390/axnet_cs.c NS8390_trigger_send(dev, ei_local->tx1, ei_local->tx_start_page); ei_local 1289 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = -1; ei_local 1290 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx = 1; ei_local 1293 drivers/net/ethernet/8390/axnet_cs.c ei_local->lasttx = 10, ei_local->txing = 0; ei_local 1335 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1350 drivers/net/ethernet/8390/axnet_cs.c if (this_frame >= ei_local->stop_page) ei_local 1351 drivers/net/ethernet/8390/axnet_cs.c this_frame = ei_local->rx_start_page; ei_local 1359 drivers/net/ethernet/8390/axnet_cs.c if ((netif_msg_rx_err(ei_local)) && ei_local 1360 drivers/net/ethernet/8390/axnet_cs.c this_frame != ei_local->current_page && ei_local 1363 drivers/net/ethernet/8390/axnet_cs.c this_frame, ei_local->current_page); ei_local 1378 drivers/net/ethernet/8390/axnet_cs.c netif_err(ei_local, rx_err, dev, ei_local 1392 drivers/net/ethernet/8390/axnet_cs.c netif_err(ei_local, rx_err, dev, ei_local 1413 drivers/net/ethernet/8390/axnet_cs.c netif_err(ei_local, rx_err, dev, ei_local 1425 drivers/net/ethernet/8390/axnet_cs.c if (next_frame >= ei_local->stop_page) { ei_local 1428 drivers/net/ethernet/8390/axnet_cs.c next_frame = ei_local->rx_start_page; ei_local 1430 drivers/net/ethernet/8390/axnet_cs.c ei_local->current_page = next_frame; ei_local 1453 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1462 drivers/net/ethernet/8390/axnet_cs.c netif_dbg(ei_local, rx_err, dev, "Receiver overrun\n"); ei_local 1517 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1524 drivers/net/ethernet/8390/axnet_cs.c spin_lock_irqsave(&ei_local->page_lock,flags); ei_local 1529 drivers/net/ethernet/8390/axnet_cs.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 1566 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1569 drivers/net/ethernet/8390/axnet_cs.c memset(ei_local->mcfilter, 0, 8); ei_local 1571 drivers/net/ethernet/8390/axnet_cs.c make_mc_bits(ei_local->mcfilter, dev); ei_local 1574 drivers/net/ethernet/8390/axnet_cs.c memset(ei_local->mcfilter, 0xFF, 8); ei_local 1580 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->mcfilter[i], e8390_base + EN1_MULT_SHIFT(i)); ei_local 1624 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1626 drivers/net/ethernet/8390/axnet_cs.c int endcfg = ei_local->word16 ? (0x48 | ENDCFG_WTS) : 0x48; ei_local 1640 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->tx_start_page, e8390_base + EN0_TPSR); ei_local 1641 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = ei_local->tx2 = 0; ei_local 1642 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->rx_start_page, e8390_base + EN0_STARTPG); ei_local 1643 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/ ei_local 1644 drivers/net/ethernet/8390/axnet_cs.c ei_local->current_page = ei_local->rx_start_page; /* assert boundary+1 */ ei_local 1645 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->stop_page, e8390_base + EN0_STOPPG); ei_local 1660 drivers/net/ethernet/8390/axnet_cs.c outb_p(ei_local->rx_start_page, e8390_base + EN1_CURPAG); ei_local 1664 drivers/net/ethernet/8390/axnet_cs.c ei_local->tx1 = ei_local->tx2 = 0; ei_local 1665 drivers/net/ethernet/8390/axnet_cs.c ei_local->txing = 0; ei_local 1690 drivers/net/ethernet/8390/axnet_cs.c struct ei_device *ei_local __attribute((unused)) = netdev_priv(dev); ei_local 49 drivers/net/ethernet/8390/etherh.c #define EI_SHIFT(x) (ei_local->reg_offset[x]) ei_local 166 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 210 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 279 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 289 drivers/net/ethernet/8390/etherh.c if (dev->flags & IFF_AUTOMEDIA && ei_local->interface_num) { ei_local 290 drivers/net/ethernet/8390/etherh.c ei_local->interface_num = 0; ei_local 307 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 311 drivers/net/ethernet/8390/etherh.c if (ei_local->dmaing) { ei_local 314 drivers/net/ethernet/8390/etherh.c ei_local->dmaing, ei_local->irqlock); ei_local 321 drivers/net/ethernet/8390/etherh.c if (count & 1 && ei_local->word16) ei_local 324 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 1; ei_local 347 drivers/net/ethernet/8390/etherh.c if (ei_local->word16) ei_local 363 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 0; ei_local 372 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 376 drivers/net/ethernet/8390/etherh.c if (ei_local->dmaing) { ei_local 379 drivers/net/ethernet/8390/etherh.c ei_local->dmaing, ei_local->irqlock); ei_local 383 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 1; ei_local 396 drivers/net/ethernet/8390/etherh.c if (ei_local->word16) { ei_local 404 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 0; ei_local 413 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 416 drivers/net/ethernet/8390/etherh.c if (ei_local->dmaing) { ei_local 419 drivers/net/ethernet/8390/etherh.c ei_local->dmaing, ei_local->irqlock); ei_local 423 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 1; ei_local 435 drivers/net/ethernet/8390/etherh.c if (ei_local->word16) ei_local 441 drivers/net/ethernet/8390/etherh.c ei_local->dmaing = 0; ei_local 455 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 465 drivers/net/ethernet/8390/etherh.c ei_local->interface_num = 0; ei_local 612 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 614 drivers/net/ethernet/8390/etherh.c return ei_local->msg_enable; ei_local 619 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local = netdev_priv(dev); ei_local 621 drivers/net/ethernet/8390/etherh.c ei_local->msg_enable = v; ei_local 655 drivers/net/ethernet/8390/etherh.c struct ei_device *ei_local; ei_local 723 drivers/net/ethernet/8390/etherh.c ei_local = netdev_priv(dev); ei_local 724 drivers/net/ethernet/8390/etherh.c spin_lock_init(&ei_local->page_lock); ei_local 728 drivers/net/ethernet/8390/etherh.c ei_local->reg_offset = etherm_regoffsets; ei_local 731 drivers/net/ethernet/8390/etherh.c ei_local->reg_offset = etherh_regoffsets; ei_local 734 drivers/net/ethernet/8390/etherh.c ei_local->name = dev->name; ei_local 735 drivers/net/ethernet/8390/etherh.c ei_local->word16 = 1; ei_local 736 drivers/net/ethernet/8390/etherh.c ei_local->tx_start_page = data->tx_start_page; ei_local 737 drivers/net/ethernet/8390/etherh.c ei_local->rx_start_page = ei_local->tx_start_page + TX_PAGES; ei_local 738 drivers/net/ethernet/8390/etherh.c ei_local->stop_page = data->stop_page; ei_local 739 drivers/net/ethernet/8390/etherh.c ei_local->reset_8390 = etherh_reset; ei_local 740 drivers/net/ethernet/8390/etherh.c ei_local->block_input = etherh_block_input; ei_local 741 drivers/net/ethernet/8390/etherh.c ei_local->block_output = etherh_block_output; ei_local 742 drivers/net/ethernet/8390/etherh.c ei_local->get_8390_hdr = etherh_get_header; ei_local 743 drivers/net/ethernet/8390/etherh.c ei_local->interface_num = 0; ei_local 33 drivers/net/ethernet/8390/hydra.c #define EI_SHIFT(x) (ei_local->reg_offset[x]) ei_local 189 drivers/net/ethernet/8390/hydra.c struct ei_device *ei_local = netdev_priv(dev); ei_local 191 drivers/net/ethernet/8390/hydra.c netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); ei_local 97 drivers/net/ethernet/8390/lib8390.c #define ei_reset_8390 (ei_local->reset_8390) ei_local 98 drivers/net/ethernet/8390/lib8390.c #define ei_block_output (ei_local->block_output) ei_local 99 drivers/net/ethernet/8390/lib8390.c #define ei_block_input (ei_local->block_input) ei_local 100 drivers/net/ethernet/8390/lib8390.c #define ei_get_8390_hdr (ei_local->get_8390_hdr) ei_local 204 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 214 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 219 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 220 drivers/net/ethernet/8390/lib8390.c ei_local->irqlock = 0; ei_local 232 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 239 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 241 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 257 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 263 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 266 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 275 drivers/net/ethernet/8390/lib8390.c ei_local->interface_num ^= 1; /* Try a different xcvr. */ ei_local 281 drivers/net/ethernet/8390/lib8390.c spin_lock(&ei_local->page_lock); ei_local 287 drivers/net/ethernet/8390/lib8390.c spin_unlock(&ei_local->page_lock); ei_local 304 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 322 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 324 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 333 drivers/net/ethernet/8390/lib8390.c spin_lock(&ei_local->page_lock); ei_local 335 drivers/net/ethernet/8390/lib8390.c ei_local->irqlock = 1; ei_local 345 drivers/net/ethernet/8390/lib8390.c if (ei_local->tx1 == 0) { ei_local 346 drivers/net/ethernet/8390/lib8390.c output_page = ei_local->tx_start_page; ei_local 347 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = send_length; ei_local 348 drivers/net/ethernet/8390/lib8390.c if ((netif_msg_tx_queued(ei_local)) && ei_local 349 drivers/net/ethernet/8390/lib8390.c ei_local->tx2 > 0) ei_local 352 drivers/net/ethernet/8390/lib8390.c ei_local->tx2, ei_local->lasttx, ei_local->txing); ei_local 353 drivers/net/ethernet/8390/lib8390.c } else if (ei_local->tx2 == 0) { ei_local 354 drivers/net/ethernet/8390/lib8390.c output_page = ei_local->tx_start_page + TX_PAGES/2; ei_local 355 drivers/net/ethernet/8390/lib8390.c ei_local->tx2 = send_length; ei_local 356 drivers/net/ethernet/8390/lib8390.c if ((netif_msg_tx_queued(ei_local)) && ei_local 357 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 > 0) ei_local 360 drivers/net/ethernet/8390/lib8390.c ei_local->tx1, ei_local->lasttx, ei_local->txing); ei_local 362 drivers/net/ethernet/8390/lib8390.c netif_dbg(ei_local, tx_err, dev, ei_local 364 drivers/net/ethernet/8390/lib8390.c ei_local->tx1, ei_local->tx2, ei_local->lasttx); ei_local 365 drivers/net/ethernet/8390/lib8390.c ei_local->irqlock = 0; ei_local 368 drivers/net/ethernet/8390/lib8390.c spin_unlock(&ei_local->page_lock); ei_local 382 drivers/net/ethernet/8390/lib8390.c if (!ei_local->txing) { ei_local 383 drivers/net/ethernet/8390/lib8390.c ei_local->txing = 1; ei_local 385 drivers/net/ethernet/8390/lib8390.c if (output_page == ei_local->tx_start_page) { ei_local 386 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = -1; ei_local 387 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = -1; ei_local 389 drivers/net/ethernet/8390/lib8390.c ei_local->tx2 = -1; ei_local 390 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = -2; ei_local 393 drivers/net/ethernet/8390/lib8390.c ei_local->txqueue++; ei_local 395 drivers/net/ethernet/8390/lib8390.c if (ei_local->tx1 && ei_local->tx2) ei_local 401 drivers/net/ethernet/8390/lib8390.c ei_local->irqlock = 0; ei_local 404 drivers/net/ethernet/8390/lib8390.c spin_unlock(&ei_local->page_lock); ei_local 430 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 436 drivers/net/ethernet/8390/lib8390.c spin_lock(&ei_local->page_lock); ei_local 438 drivers/net/ethernet/8390/lib8390.c if (ei_local->irqlock) { ei_local 446 drivers/net/ethernet/8390/lib8390.c spin_unlock(&ei_local->page_lock); ei_local 452 drivers/net/ethernet/8390/lib8390.c netif_dbg(ei_local, intr, dev, "interrupt(isr=%#2.2x)\n", ei_local 491 drivers/net/ethernet/8390/lib8390.c if (interrupts && (netif_msg_intr(ei_local))) { ei_local 504 drivers/net/ethernet/8390/lib8390.c spin_unlock(&ei_local->page_lock); ei_local 535 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local __maybe_unused = netdev_priv(dev); ei_local 580 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 589 drivers/net/ethernet/8390/lib8390.c ei_local->txqueue--; ei_local 591 drivers/net/ethernet/8390/lib8390.c if (ei_local->tx1 < 0) { ei_local 592 drivers/net/ethernet/8390/lib8390.c if (ei_local->lasttx != 1 && ei_local->lasttx != -1) ei_local 594 drivers/net/ethernet/8390/lib8390.c ei_local->name, ei_local->lasttx, ei_local->tx1); ei_local 595 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = 0; ei_local 596 drivers/net/ethernet/8390/lib8390.c if (ei_local->tx2 > 0) { ei_local 597 drivers/net/ethernet/8390/lib8390.c ei_local->txing = 1; ei_local 598 drivers/net/ethernet/8390/lib8390.c NS8390_trigger_send(dev, ei_local->tx2, ei_local->tx_start_page + 6); ei_local 600 drivers/net/ethernet/8390/lib8390.c ei_local->tx2 = -1, ei_local 601 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = 2; ei_local 603 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = 20, ei_local->txing = 0; ei_local 604 drivers/net/ethernet/8390/lib8390.c } else if (ei_local->tx2 < 0) { ei_local 605 drivers/net/ethernet/8390/lib8390.c if (ei_local->lasttx != 2 && ei_local->lasttx != -2) ei_local 607 drivers/net/ethernet/8390/lib8390.c ei_local->name, ei_local->lasttx, ei_local->tx2); ei_local 608 drivers/net/ethernet/8390/lib8390.c ei_local->tx2 = 0; ei_local 609 drivers/net/ethernet/8390/lib8390.c if (ei_local->tx1 > 0) { ei_local 610 drivers/net/ethernet/8390/lib8390.c ei_local->txing = 1; ei_local 611 drivers/net/ethernet/8390/lib8390.c NS8390_trigger_send(dev, ei_local->tx1, ei_local->tx_start_page); ei_local 613 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = -1; ei_local 614 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = 1; ei_local 616 drivers/net/ethernet/8390/lib8390.c ei_local->lasttx = 10, ei_local->txing = 0; ei_local 656 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 661 drivers/net/ethernet/8390/lib8390.c int num_rx_pages = ei_local->stop_page-ei_local->rx_start_page; ei_local 673 drivers/net/ethernet/8390/lib8390.c if (this_frame >= ei_local->stop_page) ei_local 674 drivers/net/ethernet/8390/lib8390.c this_frame = ei_local->rx_start_page; ei_local 682 drivers/net/ethernet/8390/lib8390.c if ((netif_msg_rx_status(ei_local)) && ei_local 683 drivers/net/ethernet/8390/lib8390.c this_frame != ei_local->current_page && ei_local 687 drivers/net/ethernet/8390/lib8390.c this_frame, ei_local->current_page); ei_local 707 drivers/net/ethernet/8390/lib8390.c ei_local->current_page = rxing_page; ei_local 708 drivers/net/ethernet/8390/lib8390.c ei_outb(ei_local->current_page-1, e8390_base+EN0_BOUNDARY); ei_local 714 drivers/net/ethernet/8390/lib8390.c netif_dbg(ei_local, rx_status, dev, ei_local 725 drivers/net/ethernet/8390/lib8390.c netif_err(ei_local, rx_err, dev, ei_local 743 drivers/net/ethernet/8390/lib8390.c netif_err(ei_local, rx_err, dev, ei_local 755 drivers/net/ethernet/8390/lib8390.c if (next_frame >= ei_local->stop_page) { ei_local 758 drivers/net/ethernet/8390/lib8390.c next_frame = ei_local->rx_start_page; ei_local 760 drivers/net/ethernet/8390/lib8390.c ei_local->current_page = next_frame; ei_local 787 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local __maybe_unused = netdev_priv(dev); ei_local 796 drivers/net/ethernet/8390/lib8390.c netif_dbg(ei_local, rx_err, dev, "Receiver overrun\n"); ei_local 853 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 860 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 865 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 901 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 904 drivers/net/ethernet/8390/lib8390.c memset(ei_local->mcfilter, 0, 8); ei_local 906 drivers/net/ethernet/8390/lib8390.c make_mc_bits(ei_local->mcfilter, dev); ei_local 908 drivers/net/ethernet/8390/lib8390.c memset(ei_local->mcfilter, 0xFF, 8); /* mcast set to accept-all */ ei_local 927 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->mcfilter[i], e8390_base + EN1_MULT_SHIFT(i)); ei_local 929 drivers/net/ethernet/8390/lib8390.c if (ei_inb_p(e8390_base + EN1_MULT_SHIFT(i)) != ei_local->mcfilter[i]) ei_local 953 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 955 drivers/net/ethernet/8390/lib8390.c spin_lock_irqsave(&ei_local->page_lock, flags); ei_local 957 drivers/net/ethernet/8390/lib8390.c spin_unlock_irqrestore(&ei_local->page_lock, flags); ei_local 970 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 977 drivers/net/ethernet/8390/lib8390.c spin_lock_init(&ei_local->page_lock); ei_local 979 drivers/net/ethernet/8390/lib8390.c ei_local->msg_enable = msg_enable; ei_local 1011 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1013 drivers/net/ethernet/8390/lib8390.c int endcfg = ei_local->word16 ei_local 1014 drivers/net/ethernet/8390/lib8390.c ? (0x48 | ENDCFG_WTS | (ei_local->bigendian ? ENDCFG_BOS : 0)) ei_local 1029 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->tx_start_page, e8390_base + EN0_TPSR); ei_local 1030 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = ei_local->tx2 = 0; ei_local 1031 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->rx_start_page, e8390_base + EN0_STARTPG); ei_local 1032 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/ ei_local 1033 drivers/net/ethernet/8390/lib8390.c ei_local->current_page = ei_local->rx_start_page; /* assert boundary+1 */ ei_local 1034 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->stop_page, e8390_base + EN0_STOPPG); ei_local 1044 drivers/net/ethernet/8390/lib8390.c if ((netif_msg_probe(ei_local)) && ei_local 1050 drivers/net/ethernet/8390/lib8390.c ei_outb_p(ei_local->rx_start_page, e8390_base + EN1_CURPAG); ei_local 1053 drivers/net/ethernet/8390/lib8390.c ei_local->tx1 = ei_local->tx2 = 0; ei_local 1054 drivers/net/ethernet/8390/lib8390.c ei_local->txing = 0; ei_local 1074 drivers/net/ethernet/8390/lib8390.c struct ei_device *ei_local __attribute((unused)) = netdev_priv(dev); ei_local 47 drivers/net/ethernet/8390/mac8390.c #define EI_SHIFT(x) (ei_local->reg_offset[x]) ei_local 640 drivers/net/ethernet/8390/mac8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 643 drivers/net/ethernet/8390/mac8390.c netif_info(ei_local, hw, dev, "reset not supported\n"); ei_local 649 drivers/net/ethernet/8390/mac8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 651 drivers/net/ethernet/8390/mac8390.c netif_info(ei_local, hw, dev, "Need to reset the NS8390 t=%lu...", ei_local 655 drivers/net/ethernet/8390/mac8390.c if (netif_msg_hw(ei_local)) ei_local 155 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 157 drivers/net/ethernet/8390/mcf8390.c netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); ei_local 180 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local) ei_local 183 drivers/net/ethernet/8390/mcf8390.c func, ei_local->dmaing, ei_local->irqlock); ei_local 194 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 197 drivers/net/ethernet/8390/mcf8390.c if (ei_local->dmaing) { ei_local 198 drivers/net/ethernet/8390/mcf8390.c mcf8390_dmaing_err(__func__, dev, ei_local); ei_local 202 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing |= 0x01; ei_local 214 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing &= ~0x01; ei_local 229 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 233 drivers/net/ethernet/8390/mcf8390.c if (ei_local->dmaing) { ei_local 234 drivers/net/ethernet/8390/mcf8390.c mcf8390_dmaing_err(__func__, dev, ei_local); ei_local 238 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing |= 0x01; ei_local 252 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing &= ~0x01; ei_local 259 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 267 drivers/net/ethernet/8390/mcf8390.c if (ei_local->dmaing) { ei_local 268 drivers/net/ethernet/8390/mcf8390.c mcf8390_dmaing_err(__func__, dev, ei_local); ei_local 272 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing |= 0x01; ei_local 298 drivers/net/ethernet/8390/mcf8390.c ei_local->dmaing &= ~0x01; ei_local 321 drivers/net/ethernet/8390/mcf8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 382 drivers/net/ethernet/8390/mcf8390.c ei_local->name = "mcf8390"; ei_local 383 drivers/net/ethernet/8390/mcf8390.c ei_local->tx_start_page = start_page; ei_local 384 drivers/net/ethernet/8390/mcf8390.c ei_local->stop_page = stop_page; ei_local 385 drivers/net/ethernet/8390/mcf8390.c ei_local->word16 = 1; ei_local 386 drivers/net/ethernet/8390/mcf8390.c ei_local->rx_start_page = start_page + TX_PAGES; ei_local 387 drivers/net/ethernet/8390/mcf8390.c ei_local->reset_8390 = mcf8390_reset_8390; ei_local 388 drivers/net/ethernet/8390/mcf8390.c ei_local->block_input = mcf8390_block_input; ei_local 389 drivers/net/ethernet/8390/mcf8390.c ei_local->block_output = mcf8390_block_output; ei_local 390 drivers/net/ethernet/8390/mcf8390.c ei_local->get_8390_hdr = mcf8390_get_8390_hdr; ei_local 391 drivers/net/ethernet/8390/mcf8390.c ei_local->reg_offset = offsets; ei_local 301 drivers/net/ethernet/8390/ne.c struct ei_device *ei_local = netdev_priv(dev); ei_local 531 drivers/net/ethernet/8390/ne.c ei_local->msg_enable = ne_msg_enable; ei_local 552 drivers/net/ethernet/8390/ne.c struct ei_device *ei_local = netdev_priv(dev); ei_local 554 drivers/net/ethernet/8390/ne.c netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); ei_local 617 drivers/net/ethernet/8390/ne.c struct ei_device *ei_local = netdev_priv(dev); ei_local 657 drivers/net/ethernet/8390/ne.c if (netif_msg_rx_status(ei_local)) ei_local 687 drivers/net/ethernet/8390/ne.c struct ei_device *ei_local = netdev_priv(dev); ei_local 749 drivers/net/ethernet/8390/ne.c if (netif_msg_tx_queued(ei_local)) ei_local 228 drivers/net/ethernet/8390/ne2k-pci.c struct ei_device *ei_local; ei_local 283 drivers/net/ethernet/8390/ne2k-pci.c ei_local = netdev_priv(dev); ei_local 284 drivers/net/ethernet/8390/ne2k-pci.c ei_local->msg_enable = ne2k_msg_enable; ei_local 457 drivers/net/ethernet/8390/ne2k-pci.c struct ei_device *ei_local = netdev_priv(dev); ei_local 459 drivers/net/ethernet/8390/ne2k-pci.c netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", ei_local 650 drivers/net/ethernet/8390/ne2k-pci.c struct ei_device *ei_local = netdev_priv(dev); ei_local 652 drivers/net/ethernet/8390/ne2k-pci.c return ei_local->msg_enable; ei_local 657 drivers/net/ethernet/8390/ne2k-pci.c struct ei_device *ei_local = netdev_priv(dev); ei_local 659 drivers/net/ethernet/8390/ne2k-pci.c ei_local->msg_enable = v; ei_local 1162 drivers/net/ethernet/8390/pcnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1164 drivers/net/ethernet/8390/pcnet_cs.c if ((netif_msg_rx_status(ei_local)) && (count != 4)) ei_local 1188 drivers/net/ethernet/8390/pcnet_cs.c if (netif_msg_rx_status(ei_local)) { ei_local 1218 drivers/net/ethernet/8390/pcnet_cs.c struct ei_device *ei_local = netdev_priv(dev); ei_local 1223 drivers/net/ethernet/8390/pcnet_cs.c netif_dbg(ei_local, tx_queued, dev, "[bo=%d]\n", count); ei_local 1262 drivers/net/ethernet/8390/pcnet_cs.c if (netif_msg_tx_queued(ei_local)) { ei_local 214 drivers/net/ethernet/8390/smc-ultra.c struct ei_device *ei_local = netdev_priv(dev); ei_local 325 drivers/net/ethernet/8390/smc-ultra.c ei_local->msg_enable = ultra_msg_enable; ei_local 421 drivers/net/ethernet/8390/smc-ultra.c struct ei_device *ei_local = netdev_priv(dev); ei_local 424 drivers/net/ethernet/8390/smc-ultra.c netif_dbg(ei_local, hw, dev, "resetting Ultra, t=%ld...\n", jiffies); ei_local 434 drivers/net/ethernet/8390/smc-ultra.c netif_dbg(ei_local, hw, dev, "reset done\n"); ei_local 540 drivers/net/ethernet/8390/smc-ultra.c struct ei_device *ei_local = netdev_priv(dev); ei_local 544 drivers/net/ethernet/8390/smc-ultra.c netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); ei_local 108 drivers/net/ethernet/8390/stnic.c struct ei_device *ei_local; ei_local 156 drivers/net/ethernet/8390/stnic.c ei_local = netdev_priv(dev); ei_local 157 drivers/net/ethernet/8390/stnic.c ei_local->msg_enable = stnic_msg_enable; ei_local 175 drivers/net/ethernet/8390/stnic.c struct ei_device *ei_local = netdev_priv(dev); ei_local 179 drivers/net/ethernet/8390/stnic.c netif_warn(ei_local, hw, dev, "8390 reset done (%ld).\n", jiffies); ei_local 188 drivers/net/ethernet/8390/stnic.c struct ei_device *ei_local = netdev_priv(dev); ei_local 210 drivers/net/ethernet/8390/stnic.c netif_dbg(ei_local, probe, dev, "ring %x status %02x next %02x count %04x.\n", ei_local 173 drivers/net/ethernet/8390/wd.c struct ei_device *ei_local = netdev_priv(dev); ei_local 353 drivers/net/ethernet/8390/wd.c ei_local->msg_enable = wd_msg_enable; ei_local 391 drivers/net/ethernet/8390/wd.c struct ei_device *ei_local = netdev_priv(dev); ei_local 394 drivers/net/ethernet/8390/wd.c netif_dbg(ei_local, hw, dev, "resetting the WD80x3 t=%lu...\n", ei_local 403 drivers/net/ethernet/8390/wd.c netif_dbg(ei_local, hw, dev, "reset done\n"); ei_local 482 drivers/net/ethernet/8390/wd.c struct ei_device *ei_local = netdev_priv(dev); ei_local 484 drivers/net/ethernet/8390/wd.c netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard.\n"); ei_local 40 drivers/net/ethernet/8390/xsurf100.c #define EI_SHIFT(x) (ei_local->reg_offset[(x)]) ei_local 103 drivers/net/ethernet/8390/xsurf100.c struct ei_device *ei_local = netdev_priv(dev); ei_local 120 drivers/net/ethernet/8390/xsurf100.c ei_outw(*(uint16_t *)src, ei_local->mem + NE_DATAPORT); ei_local 124 drivers/net/ethernet/8390/xsurf100.c ei_outb(*(uint8_t *)src, ei_local->mem + NE_DATAPORT); ei_local 129 drivers/net/ethernet/8390/xsurf100.c struct ei_device *ei_local = netdev_priv(dev); ei_local 146 drivers/net/ethernet/8390/xsurf100.c *(uint16_t *)dst = ei_inw(ei_local->mem + NE_DATAPORT); ei_local 150 drivers/net/ethernet/8390/xsurf100.c *(uint8_t *)dst = ei_inb(ei_local->mem + NE_DATAPORT); ei_local 162 drivers/net/ethernet/8390/xsurf100.c struct ei_device *ei_local = netdev_priv(dev); ei_local 163 drivers/net/ethernet/8390/xsurf100.c void __iomem *nic_base = ei_local->mem; ei_local 166 drivers/net/ethernet/8390/xsurf100.c if (ei_local->dmaing) { ei_local 170 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing, ei_local->irqlock); ei_local 174 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing |= 0x01; ei_local 185 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing &= ~1; ei_local 191 drivers/net/ethernet/8390/xsurf100.c struct ei_device *ei_local = netdev_priv(dev); ei_local 192 drivers/net/ethernet/8390/xsurf100.c void __iomem *nic_base = ei_local->mem; ei_local 199 drivers/net/ethernet/8390/xsurf100.c if (ei_local->word16 && (count & 0x01)) ei_local 205 drivers/net/ethernet/8390/xsurf100.c if (ei_local->dmaing) { ei_local 209 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing, ei_local->irqlock); ei_local 213 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing |= 0x01; ei_local 234 drivers/net/ethernet/8390/xsurf100.c ei_local->reset_8390(dev); ei_local 241 drivers/net/ethernet/8390/xsurf100.c ei_local->dmaing &= ~0x01; ei_local 38 drivers/net/ethernet/8390/zorro8390.c #define EI_SHIFT(x) (ei_local->reg_offset[x]) ei_local 89 drivers/net/ethernet/8390/zorro8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 91 drivers/net/ethernet/8390/zorro8390.c netif_dbg(ei_local, hw, dev, "resetting - t=%ld...\n", jiffies); ei_local 252 drivers/net/ethernet/8390/zorro8390.c struct ei_device *ei_local = netdev_priv(dev); ei_local 254 drivers/net/ethernet/8390/zorro8390.c netif_dbg(ei_local, ifdown, dev, "Shutting down ethercard\n");