Lines Matching refs:tally
8750 struct tally_counter tally; in rtl8152_get_ethtool_stats() local
8755 generic_ocp_read(tp, PLA_TALLYCNT, sizeof(tally), &tally, MCU_TYPE_PLA); in rtl8152_get_ethtool_stats()
8759 data[0] = le64_to_cpu(tally.tx_packets); in rtl8152_get_ethtool_stats()
8760 data[1] = le64_to_cpu(tally.rx_packets); in rtl8152_get_ethtool_stats()
8761 data[2] = le64_to_cpu(tally.tx_errors); in rtl8152_get_ethtool_stats()
8762 data[3] = le32_to_cpu(tally.rx_errors); in rtl8152_get_ethtool_stats()
8763 data[4] = le16_to_cpu(tally.rx_missed); in rtl8152_get_ethtool_stats()
8764 data[5] = le16_to_cpu(tally.align_errors); in rtl8152_get_ethtool_stats()
8765 data[6] = le32_to_cpu(tally.tx_one_collision); in rtl8152_get_ethtool_stats()
8766 data[7] = le32_to_cpu(tally.tx_multi_collision); in rtl8152_get_ethtool_stats()
8767 data[8] = le64_to_cpu(tally.rx_unicast); in rtl8152_get_ethtool_stats()
8768 data[9] = le64_to_cpu(tally.rx_broadcast); in rtl8152_get_ethtool_stats()
8769 data[10] = le32_to_cpu(tally.rx_multicast); in rtl8152_get_ethtool_stats()
8770 data[11] = le16_to_cpu(tally.tx_aborted); in rtl8152_get_ethtool_stats()
8771 data[12] = le16_to_cpu(tally.tx_underrun); in rtl8152_get_ethtool_stats()