Lines Matching refs:cnt_ptr
1064 u8 cnt_ptr; member
1805 while (mib->cnt_ptr < PORT_COUNTER_NUM) { in port_r_cnt()
1806 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_r_cnt()
1807 &mib->counter[mib->cnt_ptr]); in port_r_cnt()
1808 ++mib->cnt_ptr; in port_r_cnt()
1813 mib->cnt_ptr = 0; in port_r_cnt()
1829 mib->cnt_ptr = 0; in port_init_cnt()
1832 port_r_mib_cnt(hw, port, mib->cnt_ptr, in port_init_cnt()
1833 &mib->counter[mib->cnt_ptr]); in port_init_cnt()
1834 ++mib->cnt_ptr; in port_init_cnt()
1835 } while (mib->cnt_ptr < PORT_COUNTER_NUM); in port_init_cnt()
1840 mib->cnt_ptr = 0; in port_init_cnt()
6175 } else if (hw->port_mib[p].cnt_ptr) { in netdev_get_ethtool_stats()
6275 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) { in mib_read_work()
6283 if (0 == mib->cnt_ptr) { in mib_read_work()