Lines Matching refs:LANCE_DATA

205 #define LANCE_DATA 0x10  macro
517 if (inw(ioaddr+LANCE_DATA) != 0x0004) in lance_probe1()
525 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1()
527 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1()
585 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_probe1()
588 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_probe1()
639 outw(0x0041, ioaddr+LANCE_DATA); in lance_probe1()
652 if (inw(ioaddr+LANCE_DATA) & 0x0100) in lance_probe1()
674 outw(0x7f04, ioaddr+LANCE_DATA); /* Clear the memory error bits. */ in lance_probe1()
684 outw(0x0001, ioaddr+LANCE_DATA); in lance_probe1()
686 if (inw(ioaddr+LANCE_DATA) & 0x0900) in lance_probe1()
688 if (inw(ioaddr+LANCE_DATA) & 0x0100) { in lance_probe1()
711 outw(0x0041, ioaddr+LANCE_DATA); in lance_probe1()
801 outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); in lance_open()
803 outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); in lance_open()
806 outw(0x0915, ioaddr+LANCE_DATA); in lance_open()
809 outw(0x0001, ioaddr+LANCE_DATA); in lance_open()
815 if (inw(ioaddr+LANCE_DATA) & 0x0100) in lance_open()
821 outw(0x0042, ioaddr+LANCE_DATA); in lance_open()
825 dev->name, i, (u32) isa_virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA)); in lance_open()
918 outw(csr0_bits, dev->base_addr + LANCE_DATA); in lance_restart()
929 dev->name, inw (ioaddr + LANCE_DATA)); in lance_tx_timeout()
930 outw (0x0004, ioaddr + LANCE_DATA); in lance_tx_timeout()
969 inw(ioaddr+LANCE_DATA)); in lance_start_xmit()
970 outw(0x0000, ioaddr+LANCE_DATA); in lance_start_xmit()
1015 outw(0x0048, ioaddr+LANCE_DATA); in lance_start_xmit()
1039 while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 && in lance_interrupt()
1042 outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); in lance_interrupt()
1048 dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); in lance_interrupt()
1131 outw(0x0004, dev->base_addr + LANCE_DATA); in lance_interrupt()
1138 outw(0x7940, dev->base_addr + LANCE_DATA); in lance_interrupt()
1143 inw(dev->base_addr + LANCE_DATA)); in lance_interrupt()
1240 dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); in lance_close()
1246 dev->name, inw(ioaddr+LANCE_DATA)); in lance_close()
1250 outw(0x0004, ioaddr+LANCE_DATA); in lance_close()
1277 dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); in lance_get_stats()
1293 outw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance. */ in set_multicast_list()
1297 outw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */ in set_multicast_list()
1308 outw(multicast_table[i], ioaddr+LANCE_DATA); in set_multicast_list()
1311 outw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */ in set_multicast_list()