Lines Matching refs:inw
440 if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0)) { in check_device()
449 if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) in check_device()
452 if (inw(ioaddr + Wn0EepromData) != 0x6d50) { in check_device()
523 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
542 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
579 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
582 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
587 dev->dma = inw(ioaddr + 0x2000) & 7; in corkscrew_setup()
628 if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) in corkscrew_setup()
631 eeprom[i] = inw(ioaddr + Wn0EepromData); in corkscrew_setup()
659 vp->available_media = inw(ioaddr + Wn3_Options); in corkscrew_setup()
663 config, inw(ioaddr + Wn3_Options)); in corkscrew_setup()
739 if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_open()
745 if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_open()
771 dev->name, dev->irq, inw(ioaddr + Wn4_Media)); in corkscrew_open()
785 outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP | Media_SQE)) | in corkscrew_open()
793 inw(ioaddr + 10); in corkscrew_open()
794 inw(ioaddr + 12); in corkscrew_open()
876 int old_window = inw(ioaddr + EL3_CMD) >> 13; in corkscrew_timer()
879 media_status = inw(ioaddr + Wn4_Media); in corkscrew_timer()
960 inw(ioaddr + EL3_STATUS)); in corkscrew_timeout()
980 if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_timeout()
1026 if ((inw(ioaddr + EL3_STATUS) & CmdInProgress) == 0) in corkscrew_start_xmit()
1063 if (inw(ioaddr + TxFree) > 1536) { in corkscrew_start_xmit()
1074 if (inw(ioaddr + TxFree) > 1536) { in corkscrew_start_xmit()
1100 if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_start_xmit()
1128 status = inw(ioaddr + EL3_STATUS); in corkscrew_interrupt()
1204 if (DoneDidThat == 0 && inw(ioaddr + EL3_STATUS) & StatsFull) { in corkscrew_interrupt()
1245 } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); in corkscrew_interrupt()
1262 inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); in corkscrew_rx()
1263 while ((rx_status = inw(ioaddr + RxStatus)) > 0) { in corkscrew_rx()
1302 if (! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_rx()
1312 if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) in corkscrew_rx()
1327 inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); in boomerang_rx()
1412 dev->name, inw(ioaddr + EL3_STATUS), in corkscrew_close()
1495 inw(ioaddr + 10); /* Total Rx and Tx octets. */ in update_stats()
1496 inw(ioaddr + 12); in update_stats()