Lines Matching refs:cnt_ptr
1046 * @cnt_ptr: Current pointer to MIB counter index.
1064 u8 cnt_ptr;
1805 while (mib->cnt_ptr < PORT_COUNTER_NUM) {
1806 port_r_mib_cnt(hw, port, mib->cnt_ptr,
1807 &mib->counter[mib->cnt_ptr]);
1808 ++mib->cnt_ptr;
1813 mib->cnt_ptr = 0;
1829 mib->cnt_ptr = 0;
1832 port_r_mib_cnt(hw, port, mib->cnt_ptr,
1833 &mib->counter[mib->cnt_ptr]);
1834 ++mib->cnt_ptr;
1835 } while (mib->cnt_ptr < PORT_COUNTER_NUM);
1840 mib->cnt_ptr = 0;
6175 } else if (hw->port_mib[p].cnt_ptr) {
6275 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) {
6283 if (0 == mib->cnt_ptr) {