Lines Matching refs:outw
67 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
314 outw(0x3f00, ioaddr + 8); in tc589_config()
377 outw(cmd, dev->base_addr + EL3_CMD); in tc589_wait_for_completion()
392 outw(EEPROM_READ + index, ioaddr + 10); in read_eeprom()
413 outw(0, ioaddr + 6); in tc589_set_xcvr()
416 outw(3<<14, ioaddr + 6); in tc589_set_xcvr()
419 outw(1<<14, ioaddr + 6); in tc589_set_xcvr()
423 outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD); in tc589_set_xcvr()
426 outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA); in tc589_set_xcvr()
455 outw(0x0001, ioaddr + 4); /* Activate board. */ in tc589_reset()
456 outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */ in tc589_reset()
466 outw(StatsDisable, ioaddr + EL3_CMD); in tc589_reset()
477 outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ in tc589_reset()
478 outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ in tc589_reset()
479 outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ in tc589_reset()
481 outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); in tc589_reset()
483 outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, in tc589_reset()
485 outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull in tc589_reset()
546 outw(TxEnable, ioaddr + EL3_CMD); in el3_tx_timeout()
565 outw(TxEnable, ioaddr + EL3_CMD); in pop_tx_status()
587 outw(skb->len, ioaddr + TX_FIFO); in el3_start_xmit()
588 outw(0x00, ioaddr + TX_FIFO); in el3_start_xmit()
595 outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); in el3_start_xmit()
634 outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); in el3_interrupt()
646 outw(AckIntr | RxEarly, ioaddr + EL3_CMD); in el3_interrupt()
658 outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
664 outw(RxEnable, ioaddr + EL3_CMD); in el3_interrupt()
666 outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); in el3_interrupt()
673 outw(AckIntr | 0xFF, ioaddr + EL3_CMD); in el3_interrupt()
677 outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); in el3_interrupt()
732 outw(StatsDisable, ioaddr + EL3_CMD); in media_check()
734 outw(StatsEnable, ioaddr + EL3_CMD); in media_check()
801 outw(StatsDisable, ioaddr + EL3_CMD); in update_stats()
823 outw(StatsEnable, ioaddr + EL3_CMD); in update_stats()
899 outw(opts, ioaddr + EL3_CMD); in set_rx_mode()
922 outw(StatsDisable, ioaddr + EL3_CMD); in el3_close()
925 outw(RxDisable, ioaddr + EL3_CMD); in el3_close()
926 outw(TxDisable, ioaddr + EL3_CMD); in el3_close()
930 outw(StopCoax, ioaddr + EL3_CMD); in el3_close()
934 outw(0, ioaddr + WN4_MEDIA); in el3_close()
940 outw(0x0f00, ioaddr + WN0_IRQ); in el3_close()