Lines Matching refs:dr32
16 #define dr32(reg) ioread32(ioaddr + (reg)) macro
414 mode = dr32(ASICCtrl); in rio_set_led_mode()
536 dw32(DebugCtrl, dr32(DebugCtrl) | 0x0230); in rio_hw_init()
588 dw32(RxDMAIntCtrl, dr32(RxDMAIntCtrl) | 0x7 << 10); in rio_hw_init()
595 dw32(MACCtrl, dr32(MACCtrl) | AutoVLANuntagging); in rio_hw_init()
599 dw32(MACCtrl, dr32(MACCtrl) | StatsEnable | RxEnable | TxEnable); in rio_hw_init()
700 dev->name, dr32(TxStatus)); in rio_tx_timeout()
752 dw32(DMACtrl, dr32(DMACtrl) | 0x00001000); in start_xmit()
764 if (!dr32(TFDListPtr0)) { in start_xmit()
796 tx_status = dr32(TxStatus); in rio_interrupt()
1084 dev->stats.rx_packets += dr32(FramesRcvOk); in get_stats()
1085 dev->stats.tx_packets += dr32(FramesXmtOk); in get_stats()
1086 dev->stats.rx_bytes += dr32(OctetRcvOk); in get_stats()
1087 dev->stats.tx_bytes += dr32(OctetXmtOk); in get_stats()
1089 dev->stats.multicast = dr32(McstFramesRcvdOk); in get_stats()
1090 dev->stats.collisions += dr32(SingleColFrames) in get_stats()
1091 + dr32(MultiColFrames); in get_stats()
1103 dr32(McstOctetXmtOk); in get_stats()
1105 dr32(McstFramesXmtdOk); in get_stats()
1112 dr32(McstOctetXmtOk); in get_stats()
1113 dr32(BcstOctetXmtOk); in get_stats()
1114 dr32(McstFramesXmtdOk); in get_stats()
1115 dr32(FramesWDeferredXmt); in get_stats()
1116 dr32(LateCollisions); in get_stats()
1123 dr32(i); in get_stats()
1144 dr32(FramesRcvOk); in clear_stats()
1145 dr32(FramesXmtOk); in clear_stats()
1146 dr32(OctetRcvOk); in clear_stats()
1147 dr32(OctetXmtOk); in clear_stats()
1149 dr32(McstFramesRcvdOk); in clear_stats()
1150 dr32(SingleColFrames); in clear_stats()
1151 dr32(MultiColFrames); in clear_stats()
1152 dr32(LateCollisions); in clear_stats()
1164 dr32(McstOctetXmtOk); in clear_stats()
1166 dr32(McstFramesXmtdOk); in clear_stats()
1169 dr32(McstOctetXmtOk); in clear_stats()
1170 dr32(BcstOctetXmtOk); in clear_stats()
1171 dr32(McstFramesXmtdOk); in clear_stats()
1172 dr32(FramesWDeferredXmt); in clear_stats()
1178 dr32(i); in clear_stats()