Lines Matching refs:ei_local

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()
324 ei_local->dmaing = 1; in etherh_block_output()
347 if (ei_local->word16) in etherh_block_output()
363 ei_local->dmaing = 0; in etherh_block_output()
372 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_input() local
376 if (ei_local->dmaing) { in etherh_block_input()
379 ei_local->dmaing, ei_local->irqlock); in etherh_block_input()
383 ei_local->dmaing = 1; in etherh_block_input()
396 if (ei_local->word16) { in etherh_block_input()
404 ei_local->dmaing = 0; in etherh_block_input()
413 struct ei_device *ei_local = netdev_priv(dev); in etherh_get_header() local
416 if (ei_local->dmaing) { in etherh_get_header()
419 ei_local->dmaing, ei_local->irqlock); in etherh_get_header()
423 ei_local->dmaing = 1; in etherh_get_header()
435 if (ei_local->word16) in etherh_get_header()
441 ei_local->dmaing = 0; in etherh_get_header()
455 struct ei_device *ei_local = netdev_priv(dev); in etherh_open() local
465 ei_local->interface_num = 0; in etherh_open()
612 struct ei_device *ei_local = netdev_priv(dev); in etherh_get_msglevel() local
614 return ei_local->msg_enable; in etherh_get_msglevel()
619 struct ei_device *ei_local = netdev_priv(dev); in etherh_set_msglevel() local
621 ei_local->msg_enable = v; in etherh_set_msglevel()
655 struct ei_device *ei_local; in etherh_probe() local
724 ei_local = netdev_priv(dev); in etherh_probe()
725 spin_lock_init(&ei_local->page_lock); in etherh_probe()
729 ei_local->reg_offset = etherm_regoffsets; in etherh_probe()
732 ei_local->reg_offset = etherh_regoffsets; in etherh_probe()
736 ei_local->name = dev->name; in etherh_probe()
737 ei_local->word16 = 1; in etherh_probe()
738 ei_local->tx_start_page = data->tx_start_page; in etherh_probe()
739 ei_local->rx_start_page = ei_local->tx_start_page + TX_PAGES; in etherh_probe()
740 ei_local->stop_page = data->stop_page; in etherh_probe()
741 ei_local->reset_8390 = etherh_reset; in etherh_probe()
742 ei_local->block_input = etherh_block_input; in etherh_probe()
743 ei_local->block_output = etherh_block_output; in etherh_probe()
744 ei_local->get_8390_hdr = etherh_get_header; in etherh_probe()
745 ei_local->interface_num = 0; in etherh_probe()