Searched refs:mib_cnt (Results 1 – 5 of 5) sorted by relevance
56 dropped = &mib->counters[dev->mib_cnt]; in port_r_cnt()59 while (mib->cnt_ptr < dev->mib_cnt) { in port_r_cnt()153 return dev->mib_cnt; in ksz_sset_count()170 memcpy(buf, mib->counters, dev->mib_cnt * sizeof(u64)); in ksz_get_ethtool_stats()
442 dropped = &mib->counters[dev->mib_cnt]; in ksz8_port_init_cnt()445 while (mib->cnt_ptr < dev->mib_cnt) { in ksz8_port_init_cnt()451 memset(mib->counters, 0, dev->mib_cnt * sizeof(u64)); in ksz8_port_init_cnt()991 for (i = 0; i < dev->mib_cnt; i++) { in ksz8_get_strings()1731 dev->mib_cnt = ARRAY_SIZE(ksz88xx_mib_names); in ksz8_switch_init()1737 dev->mib_cnt = ARRAY_SIZE(ksz87xx_mib_names); in ksz8_switch_init()1753 (dev->mib_cnt + 1), in ksz8_switch_init()
74 int mib_cnt; member
294 memset(mib->counters, 0, dev->mib_cnt * sizeof(u64)); in ksz9477_port_init_cnt()1569 dev->mib_cnt = TOTAL_SWITCH_COUNTER_NUM; in ksz9477_switch_init()
1203 int mib_cnt; member1819 if (hw->mib_cnt > PORT_COUNTER_NUM) in port_r_cnt()1845 if (hw->mib_cnt > PORT_COUNTER_NUM) in port_init_cnt()4542 for (mib = port_mib->mib_start; mib < hw->mib_cnt; mib++) in get_mib_counters()6395 ETH_GSTRING_LEN * hw->mib_cnt); in netdev_get_strings()6415 return hw->mib_cnt; in netdev_get_sset_count()6480 n = hw->mib_cnt; in netdev_get_ethtool_stats()6903 hw->mib_cnt = PORT_COUNTER_NUM; in pcidev_init()6911 hw->mib_cnt = TOTAL_PORT_COUNTER_NUM; in pcidev_init()