enetc_port_rd64
data[o++] = enetc_port_rd64(hw, enetc_pm_counters[i].reg);
pause_stats->tx_pause_frames = enetc_port_rd64(hw, ENETC_PM_TXPF(mac));
pause_stats->rx_pause_frames = enetc_port_rd64(hw, ENETC_PM_RXPF(mac));
s->FramesTransmittedOK = enetc_port_rd64(hw, ENETC_PM_TFRM(mac));
s->SingleCollisionFrames = enetc_port_rd64(hw, ENETC_PM_TSCOL(mac));
s->MultipleCollisionFrames = enetc_port_rd64(hw, ENETC_PM_TMCOL(mac));
s->FramesReceivedOK = enetc_port_rd64(hw, ENETC_PM_RFRM(mac));
s->FrameCheckSequenceErrors = enetc_port_rd64(hw, ENETC_PM_RFCS(mac));
s->AlignmentErrors = enetc_port_rd64(hw, ENETC_PM_RALN(mac));
s->OctetsTransmittedOK = enetc_port_rd64(hw, ENETC_PM_TEOCT(mac));
s->FramesWithDeferredXmissions = enetc_port_rd64(hw, ENETC_PM_TDFR(mac));
s->LateCollisions = enetc_port_rd64(hw, ENETC_PM_TLCOL(mac));
s->FramesAbortedDueToXSColls = enetc_port_rd64(hw, ENETC_PM_TECOL(mac));
s->FramesLostDueToIntMACXmitError = enetc_port_rd64(hw, ENETC_PM_TERR(mac));
s->CarrierSenseErrors = enetc_port_rd64(hw, ENETC_PM_TCRSE(mac));
s->OctetsReceivedOK = enetc_port_rd64(hw, ENETC_PM_REOCT(mac));
s->FramesLostDueToIntMACRcvError = enetc_port_rd64(hw, ENETC_PM_RDRNTP(mac));
s->MulticastFramesXmittedOK = enetc_port_rd64(hw, ENETC_PM_TMCA(mac));
s->BroadcastFramesXmittedOK = enetc_port_rd64(hw, ENETC_PM_TBCA(mac));
s->MulticastFramesReceivedOK = enetc_port_rd64(hw, ENETC_PM_RMCA(mac));
s->BroadcastFramesReceivedOK = enetc_port_rd64(hw, ENETC_PM_RBCA(mac));
s->MACControlFramesTransmitted = enetc_port_rd64(hw, ENETC_PM_TCNP(mac));
s->MACControlFramesReceived = enetc_port_rd64(hw, ENETC_PM_RCNP(mac));
s->undersize_pkts = enetc_port_rd64(hw, ENETC_PM_RUND(mac));
s->oversize_pkts = enetc_port_rd64(hw, ENETC_PM_ROVR(mac));
s->fragments = enetc_port_rd64(hw, ENETC_PM_RFRG(mac));
s->jabbers = enetc_port_rd64(hw, ENETC_PM_RJBR(mac));
s->hist[0] = enetc_port_rd64(hw, ENETC_PM_R64(mac));
s->hist[1] = enetc_port_rd64(hw, ENETC_PM_R127(mac));
s->hist[2] = enetc_port_rd64(hw, ENETC_PM_R255(mac));
s->hist[3] = enetc_port_rd64(hw, ENETC_PM_R511(mac));
s->hist[4] = enetc_port_rd64(hw, ENETC_PM_R1023(mac));
s->hist[5] = enetc_port_rd64(hw, ENETC_PM_R1522(mac));
s->hist[6] = enetc_port_rd64(hw, ENETC_PM_R1523X(mac));
s->hist_tx[0] = enetc_port_rd64(hw, ENETC_PM_T64(mac));
s->hist_tx[1] = enetc_port_rd64(hw, ENETC_PM_T127(mac));
s->hist_tx[2] = enetc_port_rd64(hw, ENETC_PM_T255(mac));
s->hist_tx[3] = enetc_port_rd64(hw, ENETC_PM_T511(mac));
s->hist_tx[4] = enetc_port_rd64(hw, ENETC_PM_T1023(mac));
s->hist_tx[5] = enetc_port_rd64(hw, ENETC_PM_T1522(mac));
s->hist_tx[6] = enetc_port_rd64(hw, ENETC_PM_T1523X(mac));
rufcr = enetc_port_rd64(hw, ENETC4_PPMRUFCR);
rmfcr = enetc_port_rd64(hw, ENETC4_PPMRMFCR);
rbfcr = enetc_port_rd64(hw, ENETC4_PPMRBFCR);
tufcr = enetc_port_rd64(hw, ENETC4_PPMTUFCR);
tmfcr = enetc_port_rd64(hw, ENETC4_PPMTMFCR);
tbfcr = enetc_port_rd64(hw, ENETC4_PPMTBFCR);
s->OctetsTransmittedOK = enetc_port_rd64(hw, ENETC4_PPMTOCR);
s->OctetsReceivedOK = enetc_port_rd64(hw, ENETC4_PPMROCR);