Lines Matching refs:ei_local
40 #define EI_SHIFT(x) (ei_local->reg_offset[(x)])
103 struct ei_device *ei_local = netdev_priv(dev); in xs100_write() local
120 ei_outw(*(uint16_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
124 ei_outb(*(uint8_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
129 struct ei_device *ei_local = netdev_priv(dev); in xs100_read() local
146 *(uint16_t *)dst = ei_inw(ei_local->mem + NE_DATAPORT); in xs100_read()
150 *(uint8_t *)dst = ei_inb(ei_local->mem + NE_DATAPORT); in xs100_read()
162 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_input() local
163 void __iomem *nic_base = ei_local->mem; in xs100_block_input()
166 if (ei_local->dmaing) { in xs100_block_input()
170 ei_local->dmaing, ei_local->irqlock); in xs100_block_input()
174 ei_local->dmaing |= 0x01; in xs100_block_input()
185 ei_local->dmaing &= ~1; in xs100_block_input()
191 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_output() local
192 void __iomem *nic_base = ei_local->mem; in xs100_block_output()
199 if (ei_local->word16 && (count & 0x01)) in xs100_block_output()
205 if (ei_local->dmaing) { in xs100_block_output()
209 ei_local->dmaing, ei_local->irqlock); in xs100_block_output()
213 ei_local->dmaing |= 0x01; in xs100_block_output()
234 ei_local->reset_8390(dev); in xs100_block_output()
241 ei_local->dmaing &= ~0x01; in xs100_block_output()