Lines Matching refs:er32
189 #define er32(reg) ioread32(ioaddr + (reg)) macro
416 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_init_one()
471 ew32(NVCTL, er32(NVCTL) & ~0x483c); in epic_init_one()
529 #define eeprom_delay() er32(EECTL)
547 er32(INTMASK); in __epic_pci_commit()
575 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); in read_eeprom()
593 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); in read_eeprom()
616 if ((er32(MIICtrl) & MII_READOP) == 0) { in mdio_read()
639 if ((er32(MIICtrl) & MII_WRITEOP) == 0) in mdio_write()
678 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_open()
683 er32(GENCTL); in epic_open()
687 er32(GENCTL); in epic_open()
739 ioaddr, irq, er32(GENCTL), in epic_open()
804 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_restart()
827 er32(COMMAND), er32(GENCTL), er32(INTSTAT)); in epic_restart()
860 er32(TxSTAT)); in epic_timer()
862 er32(INTMASK), er32(INTSTAT), er32(RxSTAT)); in epic_timer()
992 skb->len, entry, ctrl_word, er32(TxSTAT)); in epic_start_xmit()
1076 status = er32(INTSTAT); in epic_interrupt()
1082 status, er32(INTSTAT)); in epic_interrupt()
1238 status = er32(INTSTAT); in epic_rx_err()
1301 er32(INTSTAT)); in epic_close()
1462 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in ethtool_begin()
1475 ew32(NVCTL, (er32(NVCTL) & ~0x483c) | 0x0000); in ethtool_complete()
1501 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in netdev_ioctl()
1512 ew32(NVCTL, (er32(NVCTL) & ~0x483c) | 0x0000); in netdev_ioctl()