Lines Matching refs:ei_local
52 #define EI_SHIFT(x) (ei_local->reg_offset[x])
169 struct ei_device *ei_local = netdev_priv(dev); in etherh_setif() local
213 struct ei_device *ei_local = netdev_priv(dev); in etherh_getifstat() local
282 struct ei_device *ei_local = netdev_priv(dev); in etherh_reset() local
292 if (dev->flags & IFF_AUTOMEDIA && ei_local->interface_num) { in etherh_reset()
293 ei_local->interface_num = 0; in etherh_reset()
310 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_output() local
314 if (ei_local->dmaing) { in etherh_block_output()
317 ei_local->dmaing, ei_local->irqlock); in etherh_block_output()
324 if (count & 1 && ei_local->word16) in etherh_block_output()
327 ei_local->dmaing = 1; in etherh_block_output()
350 if (ei_local->word16) in etherh_block_output()
366 ei_local->dmaing = 0; in etherh_block_output()
375 struct ei_device *ei_local = netdev_priv(dev); in etherh_block_input() local
379 if (ei_local->dmaing) { in etherh_block_input()
382 ei_local->dmaing, ei_local->irqlock); in etherh_block_input()
386 ei_local->dmaing = 1; in etherh_block_input()
399 if (ei_local->word16) { in etherh_block_input()
407 ei_local->dmaing = 0; in etherh_block_input()
416 struct ei_device *ei_local = netdev_priv(dev); in etherh_get_header() local
419 if (ei_local->dmaing) { in etherh_get_header()
422 ei_local->dmaing, ei_local->irqlock); in etherh_get_header()
426 ei_local->dmaing = 1; in etherh_get_header()
438 if (ei_local->word16) in etherh_get_header()
444 ei_local->dmaing = 0; in etherh_get_header()
458 struct ei_device *ei_local = netdev_priv(dev); in etherh_open() local
468 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
723 ei_local = netdev_priv(dev); in etherh_probe()
724 spin_lock_init(&ei_local->page_lock); in etherh_probe()
728 ei_local->reg_offset = etherm_regoffsets; in etherh_probe()
731 ei_local->reg_offset = etherh_regoffsets; in etherh_probe()
734 ei_local->name = dev->name; in etherh_probe()
735 ei_local->word16 = 1; in etherh_probe()
736 ei_local->tx_start_page = data->tx_start_page; in etherh_probe()
737 ei_local->rx_start_page = ei_local->tx_start_page + TX_PAGES; in etherh_probe()
738 ei_local->stop_page = data->stop_page; in etherh_probe()
739 ei_local->reset_8390 = etherh_reset; in etherh_probe()
740 ei_local->block_input = etherh_block_input; in etherh_probe()
741 ei_local->block_output = etherh_block_output; in etherh_probe()
742 ei_local->get_8390_hdr = etherh_get_header; in etherh_probe()
743 ei_local->interface_num = 0; in etherh_probe()