Lines Matching refs:outw

68 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
307 outw(0x3f00, ioaddr + 8); in tc589_config()
370 outw(cmd, dev->base_addr + EL3_CMD); in tc589_wait_for_completion()
385 outw(EEPROM_READ + index, ioaddr + 10); in read_eeprom()
406 outw(0, ioaddr + 6); in tc589_set_xcvr()
409 outw(3<<14, ioaddr + 6); in tc589_set_xcvr()
412 outw(1<<14, ioaddr + 6); in tc589_set_xcvr()
416 outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD); in tc589_set_xcvr()
419 outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA); in tc589_set_xcvr()
448 outw(0x0001, ioaddr + 4); /* Activate board. */ in tc589_reset()
449 outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */ in tc589_reset()
459 outw(StatsDisable, ioaddr + EL3_CMD); in tc589_reset()
470 outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ in tc589_reset()
471 outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ in tc589_reset()
472 outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ in tc589_reset()
474 outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); in tc589_reset()
476 outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, in tc589_reset()
478 outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull in tc589_reset()
540 outw(TxEnable, ioaddr + EL3_CMD); in el3_tx_timeout()
559 outw(TxEnable, ioaddr + EL3_CMD); in pop_tx_status()
581 outw(skb->len, ioaddr + TX_FIFO); in el3_start_xmit()
582 outw(0x00, ioaddr + TX_FIFO); in el3_start_xmit()
589 outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); in el3_start_xmit()
628 outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); in el3_interrupt()
640 outw(AckIntr | RxEarly, ioaddr + EL3_CMD); in el3_interrupt()
652 outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
658 outw(RxEnable, ioaddr + EL3_CMD); in el3_interrupt()
660 outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); in el3_interrupt()
667 outw(AckIntr | 0xFF, ioaddr + EL3_CMD); in el3_interrupt()
671 outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); in el3_interrupt()
726 outw(StatsDisable, ioaddr + EL3_CMD); in media_check()
728 outw(StatsEnable, ioaddr + EL3_CMD); in media_check()
795 outw(StatsDisable, ioaddr + EL3_CMD); in update_stats()
817 outw(StatsEnable, ioaddr + EL3_CMD); in update_stats()
893 outw(opts, ioaddr + EL3_CMD); in set_rx_mode()
916 outw(StatsDisable, ioaddr + EL3_CMD); in el3_close()
919 outw(RxDisable, ioaddr + EL3_CMD); in el3_close()
920 outw(TxDisable, ioaddr + EL3_CMD); in el3_close()
924 outw(StopCoax, ioaddr + EL3_CMD); in el3_close()
928 outw(0, ioaddr + WN4_MEDIA); in el3_close()
934 outw(0x0f00, ioaddr + WN0_IRQ); in el3_close()