Lines Matching refs:ei_status
321 ei_status.name = model_name; in wd_probe1()
322 ei_status.word16 = word16; in wd_probe1()
323 ei_status.tx_start_page = WD_START_PG; in wd_probe1()
324 ei_status.rx_start_page = WD_START_PG + TX_PAGES; in wd_probe1()
330 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
331 ei_status.priv = dev->mem_end - dev->mem_start; in wd_probe1()
333 ei_status.stop_page = word16 ? WD13_STOP_PG : WD03_STOP_PG; in wd_probe1()
334 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
335 ei_status.priv = (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
338 ei_status.mem = ioremap(dev->mem_start, ei_status.priv); in wd_probe1()
339 if (!ei_status.mem) { in wd_probe1()
347 ei_status.reset_8390 = wd_reset_8390; in wd_probe1()
348 ei_status.block_input = wd_block_input; in wd_probe1()
349 ei_status.block_output = wd_block_output; in wd_probe1()
350 ei_status.get_8390_hdr = wd_get_8390_hdr; in wd_probe1()
366 iounmap(ei_status.mem); in wd_probe1()
378 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
379 ei_status.reg5 = ((dev->mem_start>>19) & 0x1f) | NIC16; in wd_open()
381 if (ei_status.word16) in wd_open()
382 outb(ei_status.reg5, ioaddr+WD_CMDREG5); in wd_open()
383 outb(ei_status.reg0, ioaddr); /* WD_CMDREG */ in wd_open()
397 ei_status.txing = 0; in wd_reset_8390()
401 if (ei_status.word16) in wd_reset_8390()
416 void __iomem *hdr_start = ei_status.mem + ((ring_page - WD_START_PG)<<8); in wd_get_8390_hdr()
420 if (ei_status.word16) in wd_get_8390_hdr()
421 outb(ISA16 | ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_get_8390_hdr()
443 void __iomem *xfer_start = ei_status.mem + offset; in wd_block_input()
445 if (offset + count > ei_status.priv) { in wd_block_input()
447 int semi_count = ei_status.priv - offset; in wd_block_input()
450 memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count); in wd_block_input()
457 if (ei_status.word16) in wd_block_input()
458 outb(ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_input()
466 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); in wd_block_output()
469 if (ei_status.word16) { in wd_block_output()
471 outb(ISA16 | ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_output()
473 outb(ei_status.reg5, wd_cmdreg+WD_CMDREG5); in wd_block_output()
489 if (ei_status.word16) in wd_close()
490 outb(ei_status.reg5, wd_cmdreg + WD_CMDREG5 ); in wd_close()
493 outb(ei_status.reg0 & ~WD_MEMENB, wd_cmdreg); in wd_close()
558 iounmap(ei_status.mem); in cleanup_card()