Lines Matching refs:ei_status

322 	ei_status.name = model_name;  in wd_probe1()
323 ei_status.word16 = word16; in wd_probe1()
324 ei_status.tx_start_page = WD_START_PG; in wd_probe1()
325 ei_status.rx_start_page = WD_START_PG + TX_PAGES; in wd_probe1()
331 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
332 ei_status.priv = dev->mem_end - dev->mem_start; in wd_probe1()
334 ei_status.stop_page = word16 ? WD13_STOP_PG : WD03_STOP_PG; in wd_probe1()
335 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
336 ei_status.priv = (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
339 ei_status.mem = ioremap(dev->mem_start, ei_status.priv); in wd_probe1()
340 if (!ei_status.mem) { in wd_probe1()
348 ei_status.reset_8390 = wd_reset_8390; in wd_probe1()
349 ei_status.block_input = wd_block_input; in wd_probe1()
350 ei_status.block_output = wd_block_output; in wd_probe1()
351 ei_status.get_8390_hdr = wd_get_8390_hdr; in wd_probe1()
367 iounmap(ei_status.mem); in wd_probe1()
379 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
380 ei_status.reg5 = ((dev->mem_start>>19) & 0x1f) | NIC16; in wd_open()
382 if (ei_status.word16) in wd_open()
383 outb(ei_status.reg5, ioaddr+WD_CMDREG5); in wd_open()
384 outb(ei_status.reg0, ioaddr); /* WD_CMDREG */ in wd_open()
398 ei_status.txing = 0; in wd_reset_8390()
402 if (ei_status.word16) in wd_reset_8390()
417 void __iomem *hdr_start = ei_status.mem + ((ring_page - WD_START_PG)<<8); in wd_get_8390_hdr()
421 if (ei_status.word16) in wd_get_8390_hdr()
422 outb(ISA16 | ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_get_8390_hdr()
444 void __iomem *xfer_start = ei_status.mem + offset; in wd_block_input()
446 if (offset + count > ei_status.priv) { in wd_block_input()
448 int semi_count = ei_status.priv - offset; in wd_block_input()
451 memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count); in wd_block_input()
458 if (ei_status.word16) in wd_block_input()
459 outb(ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_input()
467 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); in wd_block_output()
470 if (ei_status.word16) { in wd_block_output()
472 outb(ISA16 | ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_output()
474 outb(ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_output()
490 if (ei_status.word16) in wd_close()
491 outb(ei_status.reg5, wd_cmdreg + WD_CMDREG5 ); in wd_close()
494 outb(ei_status.reg0 & ~WD_MEMENB, wd_cmdreg); in wd_close()
559 iounmap(ei_status.mem); in cleanup_card()