Lines Matching refs:nic_base
163 void __iomem *nic_base = ei_local->mem; in xs100_block_input() local
176 ei_outb(E8390_NODMA + E8390_PAGE0 + E8390_START, nic_base + NE_CMD); in xs100_block_input()
177 ei_outb(count & 0xff, nic_base + EN0_RCNTLO); in xs100_block_input()
178 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in xs100_block_input()
179 ei_outb(ring_offset & 0xff, nic_base + EN0_RSARLO); in xs100_block_input()
180 ei_outb(ring_offset >> 8, nic_base + EN0_RSARHI); in xs100_block_input()
181 ei_outb(E8390_RREAD + E8390_START, nic_base + NE_CMD); in xs100_block_input()
192 void __iomem *nic_base = ei_local->mem; in xs100_block_output() local
215 ei_outb(E8390_PAGE0 + E8390_START + E8390_NODMA, nic_base + NE_CMD); in xs100_block_output()
217 ei_outb(ENISR_RDC, nic_base + EN0_ISR); in xs100_block_output()
220 ei_outb(count & 0xff, nic_base + EN0_RCNTLO); in xs100_block_output()
221 ei_outb(count >> 8, nic_base + EN0_RCNTHI); in xs100_block_output()
222 ei_outb(0x00, nic_base + EN0_RSARLO); in xs100_block_output()
223 ei_outb(start_page, nic_base + EN0_RSARHI); in xs100_block_output()
225 ei_outb(E8390_RWRITE + E8390_START, nic_base + NE_CMD); in xs100_block_output()
231 while ((ei_inb(nic_base + EN0_ISR) & ENISR_RDC) == 0) { in xs100_block_output()
240 ei_outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ in xs100_block_output()