Lines Matching refs:outw

116 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
325 outw(0x0f00, ioaddr + WN0_IRQ);
372 outw(0x0f00, ioaddr + WN0_IRQ);
575 outw(SelectWindow | 0, ioaddr + 0xC80 + EL3_CMD);
627 outw(EEPROM_READ + index, ioaddr + 10);
663 outw(TxReset, ioaddr + EL3_CMD);
664 outw(RxReset, ioaddr + EL3_CMD);
665 outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD);
697 outw(TxReset, ioaddr + EL3_CMD);
698 outw(TxEnable, ioaddr + EL3_CMD);
732 outw(skb->len, ioaddr + TX_FIFO);
733 outw(0x00, ioaddr + TX_FIFO);
741 outw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
754 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
755 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD);
791 outw(AckIntr | TxAvailable, ioaddr + EL3_CMD);
800 outw(AckIntr | RxEarly, ioaddr + EL3_CMD);
808 if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD);
809 if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD);
815 outw(RxReset, ioaddr + EL3_CMD);
817 outw(SetRxFilter | RxStation | RxBroadcast
821 outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */
822 outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD);
830 outw(AckIntr | 0xFF, ioaddr + EL3_CMD);
834 outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); /* Ack IRQ */
888 outw(StatsDisable, ioaddr + EL3_CMD);
905 outw(StatsEnable, ioaddr + EL3_CMD);
921 outw(RxDiscard, ioaddr + EL3_CMD);
946 outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */
953 outw(RxDiscard, ioaddr + EL3_CMD);
989 outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm,
993 outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast, ioaddr + EL3_CMD);
996 outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
1018 outw(0x0f00, ioaddr + WN0_IRQ);
1114 outw(tmp, ioaddr + WN0_ADDR_CONF);
1119 outw(StartCoax, ioaddr + EL3_CMD);
1131 outw(tmp, ioaddr + WN4_NETDIAG);
1203 outw(StatsDisable, ioaddr + EL3_CMD);
1206 outw(RxDisable, ioaddr + EL3_CMD);
1207 outw(TxDisable, ioaddr + EL3_CMD);
1211 outw(StopCoax, ioaddr + EL3_CMD);
1215 outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA);
1218 outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD);
1230 outw(0x0001, ioaddr + 4);
1233 outw((dev->irq << 12) | 0x0f00, ioaddr + WN0_IRQ);
1243 outw(StartCoax, ioaddr + EL3_CMD);
1276 outw(net_diag, ioaddr + WN4_NETDIAG);
1281 outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA);
1285 outw(StatsDisable, ioaddr + EL3_CMD);
1296 outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD);
1297 outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */
1299 outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */
1300 outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */
1302 outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD);
1304 outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq,
1306 outw(SetIntrEnb | IntLatch|TxAvailable|TxComplete|RxComplete|StatsFull,
1333 outw(PowerDown, ioaddr + EL3_CMD);
1353 outw(PowerUp, ioaddr + EL3_CMD);