Lines Matching refs:outw
66 #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD)
299 outw(0x3f00, ioaddr + 8); in tc589_config()
363 outw(cmd, dev->base_addr + EL3_CMD); in tc589_wait_for_completion()
377 outw(EEPROM_READ + index, ioaddr + 10); in read_eeprom()
396 case 0: case 1: outw(0, ioaddr + 6); break; in tc589_set_xcvr()
397 case 2: outw(3<<14, ioaddr + 6); break; in tc589_set_xcvr()
398 case 3: outw(1<<14, ioaddr + 6); break; in tc589_set_xcvr()
401 outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD); in tc589_set_xcvr()
404 outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA); in tc589_set_xcvr()
433 outw(0x0001, ioaddr + 4); /* Activate board. */ in tc589_reset()
434 outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */ in tc589_reset()
444 outw(StatsDisable, ioaddr + EL3_CMD); in tc589_reset()
455 outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ in tc589_reset()
456 outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ in tc589_reset()
457 outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ in tc589_reset()
459 outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); in tc589_reset()
461 outw(AckIntr | IntLatch | TxAvailable | RxEarly | IntReq, in tc589_reset()
463 outw(SetIntrEnb | IntLatch | TxAvailable | RxComplete | StatsFull in tc589_reset()
527 outw(TxEnable, ioaddr + EL3_CMD); in el3_tx_timeout()
545 outw(TxEnable, ioaddr + EL3_CMD); in pop_tx_status()
567 outw(skb->len, ioaddr + TX_FIFO); in el3_start_xmit()
568 outw(0x00, ioaddr + TX_FIFO); in el3_start_xmit()
575 outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); in el3_start_xmit()
614 outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); in el3_interrupt()
625 outw(AckIntr | RxEarly, ioaddr + EL3_CMD); in el3_interrupt()
637 outw(TxEnable, ioaddr + EL3_CMD); in el3_interrupt()
643 outw(RxEnable, ioaddr + EL3_CMD); in el3_interrupt()
645 outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); in el3_interrupt()
652 outw(AckIntr | 0xFF, ioaddr + EL3_CMD); in el3_interrupt()
656 outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); in el3_interrupt()
707 outw(StatsDisable, ioaddr + EL3_CMD); in media_check()
709 outw(StatsEnable, ioaddr + EL3_CMD); in media_check()
775 outw(StatsDisable, ioaddr + EL3_CMD); in update_stats()
792 outw(StatsEnable, ioaddr + EL3_CMD); in update_stats()
856 outw(opts, ioaddr + EL3_CMD); in set_rx_mode()
879 outw(StatsDisable, ioaddr + EL3_CMD); in el3_close()
882 outw(RxDisable, ioaddr + EL3_CMD); in el3_close()
883 outw(TxDisable, ioaddr + EL3_CMD); in el3_close()
887 outw(StopCoax, ioaddr + EL3_CMD); in el3_close()
891 outw(0, ioaddr + WN4_MEDIA); in el3_close()
897 outw(0x0f00, ioaddr + WN0_IRQ); in el3_close()