Lines Matching refs:iowrite16
720 iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); in eeprom_read()
862 iowrite16(dev->mtu + 18, ioaddr + MaxFrameSize); in netdev_open()
864 iowrite16(dev->mtu + 14, ioaddr + MaxFrameSize); in netdev_open()
877 iowrite16(0, ioaddr + IntrEnable); in netdev_open()
878 iowrite16(0, ioaddr + DownCounter); in netdev_open()
891 iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); in netdev_open()
910 iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); in netdev_open()
926 iowrite16 (ioread16 (ioaddr + MACCtrl0) | EnbFullDuplex, in check_duplex()
939 iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0); in check_duplex()
969 iowrite16(0, ioaddr + IntrEnable); in tx_timeout()
1008 iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); in tx_timeout()
1144 iowrite16 (TxDisable, ioaddr + MACCtrl1); in reset_tx()
1167 iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); in reset_tx()
1186 iowrite16(intr_status, ioaddr + IntrStatus); in intr_handler()
1198 iowrite16(DEFAULT_INTR & ~(IntrRxDone|IntrRxDMADone), in intr_handler()
1237 iowrite16(ioread16(ioaddr + MACCtrl1) | TxEnable, ioaddr + MACCtrl1); in intr_handler()
1244 iowrite16 (0, ioaddr + TxStatus); in intr_handler()
1399 iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); in rx_poll()
1489 iowrite16(ioread16(ioaddr + MulticastFilter1+2) | 0x0200, in netdev_error()
1491 iowrite16(ioread16(ioaddr + MACCtrl0) | EnbFlowCtrl, in netdev_error()
1589 iowrite16(mc_filter[i], ioaddr + MulticastFilter0 + i*2); in set_rx_mode()
1599 iowrite16(addr16, np->base + StationAddr); in __set_mac_addr()
1601 iowrite16(addr16, np->base + StationAddr+2); in __set_mac_addr()
1603 iowrite16(addr16, np->base + StationAddr+4); in __set_mac_addr()
1842 iowrite16(0x0000, ioaddr + IntrEnable); in netdev_close()
1848 iowrite16(TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl1); in netdev_close()
1856 iowrite16(GlobalReset | DMAReset | FIFOReset | NetworkReset, in netdev_close()
1946 iowrite16(RxEnable, ioaddr + MACCtrl1); in sundance_suspend()