Lines Matching defs:packets
93 static int mtk_mib_entry_read(struct mtk_ppe *ppe, u16 index, u64 *bytes, u64 *packets)
113 *packets = ((u64)cnt_r3 << 32) | cnt_r2;
121 *packets = ((u64)pkt_cnt_high << 16) | pkt_cnt_low;
527 acct->packets = 0;
854 u64 bytes, packets;
859 if (mtk_mib_entry_read(ppe, index, &bytes, &packets))
865 acct->packets += packets;
869 diff->packets = packets;