Searched refs:cnt_ptr (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c1122 * @cnt_ptr: Current pointer to MIB counter index.
1140 u8 cnt_ptr; member in struct:ksz_port_mib
1888 while (mib->cnt_ptr < PORT_COUNTER_NUM) { port_r_cnt()
1889 port_r_mib_cnt(hw, port, mib->cnt_ptr, port_r_cnt()
1890 &mib->counter[mib->cnt_ptr]); port_r_cnt()
1891 ++mib->cnt_ptr; port_r_cnt()
1896 mib->cnt_ptr = 0; port_r_cnt()
1912 mib->cnt_ptr = 0; port_init_cnt()
1915 port_r_mib_cnt(hw, port, mib->cnt_ptr, port_init_cnt()
1916 &mib->counter[mib->cnt_ptr]); port_init_cnt()
1917 ++mib->cnt_ptr; port_init_cnt()
1918 } while (mib->cnt_ptr < PORT_COUNTER_NUM); port_init_cnt()
1923 mib->cnt_ptr = 0; port_init_cnt()
6555 } else if (hw->port_mib[p].cnt_ptr) { netdev_get_ethtool_stats()
6654 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) { mib_read_work()
6662 if (0 == mib->cnt_ptr) { mib_read_work()

Completed in 75 milliseconds