Lines Matching defs:tally
8894 struct tally_counter tally;
8899 generic_ocp_read(tp, PLA_TALLYCNT, sizeof(tally), &tally, MCU_TYPE_PLA);
8903 data[0] = le64_to_cpu(tally.tx_packets);
8904 data[1] = le64_to_cpu(tally.rx_packets);
8905 data[2] = le64_to_cpu(tally.tx_errors);
8906 data[3] = le32_to_cpu(tally.rx_errors);
8907 data[4] = le16_to_cpu(tally.rx_missed);
8908 data[5] = le16_to_cpu(tally.align_errors);
8909 data[6] = le32_to_cpu(tally.tx_one_collision);
8910 data[7] = le32_to_cpu(tally.tx_multi_collision);
8911 data[8] = le64_to_cpu(tally.rx_unicast);
8912 data[9] = le64_to_cpu(tally.rx_broadcast);
8913 data[10] = le32_to_cpu(tally.rx_multicast);
8914 data[11] = le16_to_cpu(tally.tx_aborted);
8915 data[12] = le16_to_cpu(tally.tx_underrun);