Lines Matching refs:ei_local
38 #define EI_SHIFT(x) (ei_local->reg_offset[(x)])
98 struct ei_device *ei_local = netdev_priv(dev); in xs100_write() local
115 ei_outw(*(uint16_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
119 ei_outb(*(uint8_t *)src, ei_local->mem + NE_DATAPORT); in xs100_write()
124 struct ei_device *ei_local = netdev_priv(dev); in xs100_read() local
141 *(uint16_t *)dst = ei_inw(ei_local->mem + NE_DATAPORT); in xs100_read()
145 *(uint8_t *)dst = ei_inb(ei_local->mem + NE_DATAPORT); in xs100_read()
157 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_input() local
158 void __iomem *nic_base = ei_local->mem; in xs100_block_input()
161 if (ei_local->dmaing) { in xs100_block_input()
165 ei_local->dmaing, ei_local->irqlock); in xs100_block_input()
169 ei_local->dmaing |= 0x01; in xs100_block_input()
180 ei_local->dmaing &= ~1; in xs100_block_input()
186 struct ei_device *ei_local = netdev_priv(dev); in xs100_block_output() local
187 void __iomem *nic_base = ei_local->mem; in xs100_block_output()
194 if (ei_local->word16 && (count & 0x01)) in xs100_block_output()
200 if (ei_local->dmaing) { in xs100_block_output()
204 ei_local->dmaing, ei_local->irqlock); in xs100_block_output()
208 ei_local->dmaing |= 0x01; in xs100_block_output()
229 ei_local->reset_8390(dev); in xs100_block_output()
236 ei_local->dmaing &= ~0x01; in xs100_block_output()