Lines Matching refs:cnt_ptr
1114 * @cnt_ptr: Current pointer to MIB counter index.
1132 u8 cnt_ptr;
1882 while (mib->cnt_ptr < PORT_COUNTER_NUM) {
1883 port_r_mib_cnt(hw, port, mib->cnt_ptr,
1884 &mib->counter[mib->cnt_ptr]);
1885 ++mib->cnt_ptr;
1890 mib->cnt_ptr = 0;
1906 mib->cnt_ptr = 0;
1909 port_r_mib_cnt(hw, port, mib->cnt_ptr,
1910 &mib->counter[mib->cnt_ptr]);
1911 ++mib->cnt_ptr;
1912 } while (mib->cnt_ptr < PORT_COUNTER_NUM);
1917 mib->cnt_ptr = 0;
6546 } else if (hw->port_mib[p].cnt_ptr) {
6645 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) {
6653 if (0 == mib->cnt_ptr) {