Lines Matching refs:outw
131 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
369 outw(2<<11, ioaddr + RunnerRdCtrl); in tc574_config()
371 outw(0<<11, ioaddr + RunnerRdCtrl); in tc574_config()
385 outw(0x8040, ioaddr + Wn3_Options); in tc574_config()
387 outw(0xc040, ioaddr + Wn3_Options); in tc574_config()
391 outw(0x8040, ioaddr + Wn3_Options); in tc574_config()
492 outw(cmd, dev->base_addr + EL3_CMD); in tc574_wait_for_completion()
505 outw(EEPROM_Read + index, ioaddr + Wn0EepromCmd); in read_eeprom()
536 outw(MDIO_DATA_WRITE1, mdio_addr); in mdio_sync()
537 outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in mdio_sync()
554 outw(dataval, mdio_addr); in mdio_read()
555 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
559 outw(MDIO_ENB_IN, mdio_addr); in mdio_read()
561 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
578 outw(dataval, mdio_addr); in mdio_write()
579 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
583 outw(MDIO_ENB_IN, mdio_addr); in mdio_write()
584 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
600 outw(0, ioaddr + RunnerWrCtrl); in tc574_reset()
601 outw(0, ioaddr + RunnerRdCtrl); in tc574_reset()
608 outw(0, ioaddr + i); in tc574_reset()
616 outw(0x8040, ioaddr + Wn3_Options); in tc574_reset()
618 outw(0xc040, ioaddr + Wn3_Options); in tc574_reset()
627 outw(0x8040, ioaddr + Wn3_Options); in tc574_reset()
630 outw(StatsDisable, ioaddr + EL3_CMD); in tc574_reset()
641 outw(0x0040, ioaddr + Wn4_NetDiag); in tc574_reset()
659 outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ in tc574_reset()
660 outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ in tc574_reset()
661 outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ in tc574_reset()
663 outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); in tc574_reset()
665 outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, in tc574_reset()
667 outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull in tc574_reset()
702 outw(TxEnable, ioaddr + EL3_CMD); in el3_tx_timeout()
722 outw(TxEnable, ioaddr + EL3_CMD); in pop_tx_status()
745 outw(skb->len, ioaddr + TX_FIFO); in el3_start_xmit()
746 outw(0, ioaddr + TX_FIFO); in el3_start_xmit()
755 outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); in el3_start_xmit()
799 outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); in el3_interrupt()
812 outw(AckIntr | RxEarly, ioaddr + EL3_CMD); in el3_interrupt()
824 outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
830 outw(RxEnable, ioaddr + EL3_CMD); in el3_interrupt()
832 outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); in el3_interrupt()
840 outw(AckIntr | 0xFF, ioaddr + EL3_CMD); in el3_interrupt()
844 outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); in el3_interrupt()
1095 outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm, in set_rx_mode()
1098 outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); in set_rx_mode()
1100 outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); in set_rx_mode()
1125 outw(StatsDisable, ioaddr + EL3_CMD); in el3_close()
1128 outw(RxDisable, ioaddr + EL3_CMD); in el3_close()
1129 outw(TxDisable, ioaddr + EL3_CMD); in el3_close()
1138 outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); in el3_close()