Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/8390/
H A Dlib8390.c97 #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 …]
H A 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 …]
H A Dstnic.c104 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()
H A Dapne.c120 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()
H A Dmac8390.c45 #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()
H A Dpcnet_cs.c1171 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()