Lines Matching refs:er32
189 #define er32(reg) ioread32(ioaddr + (reg)) macro
415 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_init_one()
471 ew32(NVCTL, er32(NVCTL) & ~0x483c); in epic_init_one()
531 #define eeprom_delay() er32(EECTL)
549 er32(INTMASK); in __epic_pci_commit()
577 (er32(EECTL) & 0x40 ? EE_READ64_CMD : EE_READ256_CMD); in read_eeprom()
595 retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); in read_eeprom()
618 if ((er32(MIICtrl) & MII_READOP) == 0) { in mdio_read()
641 if ((er32(MIICtrl) & MII_WRITEOP) == 0) in mdio_write()
680 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in epic_open()
685 er32(GENCTL); in epic_open()
689 er32(GENCTL); in epic_open()
741 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()
995 skb->len, entry, ctrl_word, er32(TxSTAT)); in epic_start_xmit()
1080 status = er32(INTSTAT); in epic_interrupt()
1086 status, er32(INTSTAT)); in epic_interrupt()
1244 status = er32(INTSTAT); in epic_rx_err()
1293 er32(INTSTAT)); in epic_close()
1457 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in ethtool_begin()
1470 ew32(NVCTL, (er32(NVCTL) & ~0x483c) | 0x0000); in ethtool_complete()
1496 ew32(NVCTL, (er32(NVCTL) & ~0x003c) | 0x4800); in netdev_ioctl()
1507 ew32(NVCTL, (er32(NVCTL) & ~0x483c) | 0x0000); in netdev_ioctl()