Lines Matching refs:ioread16
723 if (! (ioread16(ioaddr + EECtrl) & 0x8000)) { in eeprom_read()
724 return ioread16(ioaddr + EEData); in eeprom_read()
902 ioread16(ioaddr + MACCtrl1), ioread16(ioaddr + MACCtrl0)); 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()
953 dev->name, ioread16(ioaddr + IntrEnable), in netdev_timer()
1185 int intr_status = ioread16(ioaddr + IntrStatus); in intr_handler()
1205 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler()
1237 iowrite16(ioread16(ioaddr + MACCtrl1) | TxEnable, ioaddr + MACCtrl1); in intr_handler()
1238 if (ioread16(ioaddr + MACCtrl1) & TxEnabled) in intr_handler()
1249 tx_status = ioread16 (ioaddr + TxStatus); in intr_handler()
1314 dev->name, ioread16(ioaddr + IntrStatus)); in intr_handler()
1489 iowrite16(ioread16(ioaddr + MulticastFilter1+2) | 0x0200, in netdev_error()
1491 iowrite16(ioread16(ioaddr + MACCtrl0) | EnbFlowCtrl, in netdev_error()
1520 dev->stats.tx_packets += ioread16(ioaddr + TxFramesOK); in get_stats()
1521 dev->stats.rx_packets += ioread16(ioaddr + RxFramesOK); in get_stats()
1542 dev->stats.tx_bytes += ioread16(ioaddr + TxOctetsLow); in get_stats()
1543 dev->stats.tx_bytes += ioread16(ioaddr + TxOctetsHigh) << 16; in get_stats()
1544 dev->stats.rx_bytes += ioread16(ioaddr + RxOctetsLow); in get_stats()
1545 dev->stats.rx_bytes += ioread16(ioaddr + RxOctetsHigh) << 16; in get_stats()
1836 ioread32(ioaddr + RxStatus), ioread16(ioaddr + IntrStatus)); in netdev_close()
1860 if ((ioread16(ioaddr + ASIC_HI_WORD(ASICCtrl)) & ResetBusy) == 0) in netdev_close()