Lines Matching refs:ei_local
52 #define EI_SHIFT(x) (ei_local->reg_offset[x])
171 struct ei_device *ei_local = netdev_priv(dev); in etherh_setif() local
215 struct ei_device *ei_local = netdev_priv(dev); in etherh_getifstat() local
284 struct ei_device *ei_local = netdev_priv(dev); in etherh_reset() local
294 if (dev->flags & IFF_AUTOMEDIA && ei_local->interface_num) { in etherh_reset()
295 ei_local->interface_num = 0; in etherh_reset()
312 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_output() local
316 if (ei_local->dmaing) { in etherh_block_output()
319 ei_local->dmaing, ei_local->irqlock); in etherh_block_output()
326 if (count & 1 && ei_local->word16) in etherh_block_output()
329 ei_local->dmaing = 1; in etherh_block_output()
352 if (ei_local->word16) in etherh_block_output()
368 ei_local->dmaing = 0; in etherh_block_output()
377 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_input() local
381 if (ei_local->dmaing) { in etherh_block_input()
384 ei_local->dmaing, ei_local->irqlock); in etherh_block_input()
388 ei_local->dmaing = 1; in etherh_block_input()
401 if (ei_local->word16) { in etherh_block_input()
409 ei_local->dmaing = 0; in etherh_block_input()
418 struct ei_device *ei_local = netdev_priv(dev); in etherh_get_header() local
421 if (ei_local->dmaing) { in etherh_get_header()
424 ei_local->dmaing, ei_local->irqlock); in etherh_get_header()
428 ei_local->dmaing = 1; in etherh_get_header()
440 if (ei_local->word16) in etherh_get_header()
446 ei_local->dmaing = 0; in etherh_get_header()
460 struct ei_device *ei_local = netdev_priv(dev); in etherh_open() local
470 ei_local->interface_num = 0; in etherh_open()
626 struct ei_device *ei_local = netdev_priv(dev); in etherh_get_msglevel() local
628 return ei_local->msg_enable; in etherh_get_msglevel()
633 struct ei_device *ei_local = netdev_priv(dev); in etherh_set_msglevel() local
635 ei_local->msg_enable = v; in etherh_set_msglevel()
670 struct ei_device *ei_local; in etherh_probe() local
740 ei_local = netdev_priv(dev); in etherh_probe()
741 spin_lock_init(&ei_local->page_lock); in etherh_probe()
745 ei_local->reg_offset = etherm_regoffsets; in etherh_probe()
748 ei_local->reg_offset = etherh_regoffsets; in etherh_probe()
751 ei_local->name = dev->name; in etherh_probe()
752 ei_local->word16 = 1; in etherh_probe()
753 ei_local->tx_start_page = data->tx_start_page; in etherh_probe()
754 ei_local->rx_start_page = ei_local->tx_start_page + TX_PAGES; in etherh_probe()
755 ei_local->stop_page = data->stop_page; in etherh_probe()
756 ei_local->reset_8390 = etherh_reset; in etherh_probe()
757 ei_local->block_input = etherh_block_input; in etherh_probe()
758 ei_local->block_output = etherh_block_output; in etherh_probe()
759 ei_local->get_8390_hdr = etherh_get_header; in etherh_probe()
760 ei_local->interface_num = 0; in etherh_probe()
761 ei_local->msg_enable = etherh_msg_enable; in etherh_probe()