Lines Matching refs:cnt
1361 * @cnt: Running timer counter.
1367 int cnt;
1793 * @cnt: Buffer to store the counter.
1798 static void port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt)
1818 *cnt += MIB_COUNTER_VALUE + 1;
1819 *cnt += data & MIB_COUNTER_VALUE;
1831 * @cnt: Buffer to store the receive and transmit dropped packet counts.
1836 static void port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt)
1864 *cnt += data;
1867 ++cnt;
4327 info->cnt = 0;
4361 ++info->cnt;
4363 if (info->cnt < info->max) {
4631 static void get_mib_counters(struct ksz_hw *hw, int first, int cnt,
4640 for (i = 0, port = first; i < cnt; i++, port++) {
6966 int cnt;
7009 cnt = hw_init(hw);
7010 if (!cnt) {
7018 banner[13] = cnt + '0'; /* Replace x in "Micrel KSZ884x" */
7031 if (2 == cnt) {
7131 for (cnt = 0, pi = i; cnt < port_count; cnt++, pi++) {