Lines Matching refs:RD
591 #define RD(name) a5psw_read_stat(a5psw, A5PSW_##name, port) in a5psw_get_eth_mac_stats() macro
592 mac_stats->FramesTransmittedOK = RD(aFramesTransmittedOK); in a5psw_get_eth_mac_stats()
593 mac_stats->SingleCollisionFrames = RD(aSingleCollisions); in a5psw_get_eth_mac_stats()
594 mac_stats->MultipleCollisionFrames = RD(aMultipleCollisions); in a5psw_get_eth_mac_stats()
595 mac_stats->FramesReceivedOK = RD(aFramesReceivedOK); in a5psw_get_eth_mac_stats()
596 mac_stats->FrameCheckSequenceErrors = RD(aFrameCheckSequenceErrors); in a5psw_get_eth_mac_stats()
597 mac_stats->AlignmentErrors = RD(aAlignmentErrors); in a5psw_get_eth_mac_stats()
598 mac_stats->OctetsTransmittedOK = RD(aOctetsTransmittedOK); in a5psw_get_eth_mac_stats()
599 mac_stats->FramesWithDeferredXmissions = RD(aDeferred); in a5psw_get_eth_mac_stats()
600 mac_stats->LateCollisions = RD(aLateCollisions); in a5psw_get_eth_mac_stats()
601 mac_stats->FramesAbortedDueToXSColls = RD(aExcessiveCollisions); in a5psw_get_eth_mac_stats()
602 mac_stats->FramesLostDueToIntMACXmitError = RD(ifOutErrors); in a5psw_get_eth_mac_stats()
603 mac_stats->CarrierSenseErrors = RD(aCarrierSenseErrors); in a5psw_get_eth_mac_stats()
604 mac_stats->OctetsReceivedOK = RD(aOctetsReceivedOK); in a5psw_get_eth_mac_stats()
605 mac_stats->FramesLostDueToIntMACRcvError = RD(ifInErrors); in a5psw_get_eth_mac_stats()
606 mac_stats->MulticastFramesXmittedOK = RD(ifOutMulticastPkts); in a5psw_get_eth_mac_stats()
607 mac_stats->BroadcastFramesXmittedOK = RD(ifOutBroadcastPkts); in a5psw_get_eth_mac_stats()
608 mac_stats->FramesWithExcessiveDeferral = RD(aDeferred); in a5psw_get_eth_mac_stats()
609 mac_stats->MulticastFramesReceivedOK = RD(ifInMulticastPkts); in a5psw_get_eth_mac_stats()
610 mac_stats->BroadcastFramesReceivedOK = RD(ifInBroadcastPkts); in a5psw_get_eth_mac_stats()
611 #undef RD in a5psw_get_eth_mac_stats()
631 #define RD(name) a5psw_read_stat(a5psw, A5PSW_##name, port) in a5psw_get_rmon_stats() macro
632 rmon_stats->undersize_pkts = RD(etherStatsUndersizePkts); in a5psw_get_rmon_stats()
633 rmon_stats->oversize_pkts = RD(etherStatsOversizePkts); in a5psw_get_rmon_stats()
634 rmon_stats->fragments = RD(etherStatsFragments); in a5psw_get_rmon_stats()
635 rmon_stats->jabbers = RD(etherStatsJabbers); in a5psw_get_rmon_stats()
636 rmon_stats->hist[0] = RD(etherStatsPkts64Octets); in a5psw_get_rmon_stats()
637 rmon_stats->hist[1] = RD(etherStatsPkts65to127Octets); in a5psw_get_rmon_stats()
638 rmon_stats->hist[2] = RD(etherStatsPkts128to255Octets); in a5psw_get_rmon_stats()
639 rmon_stats->hist[3] = RD(etherStatsPkts256to511Octets); in a5psw_get_rmon_stats()
640 rmon_stats->hist[4] = RD(etherStatsPkts512to1023Octets); in a5psw_get_rmon_stats()
641 rmon_stats->hist[5] = RD(etherStatsPkts1024to1518Octets); in a5psw_get_rmon_stats()
642 rmon_stats->hist[6] = RD(etherStatsPkts1519toXOctets); in a5psw_get_rmon_stats()
643 #undef RD in a5psw_get_rmon_stats()