Home
last modified time | relevance | path

Searched refs:mib_cnt (Results 1 – 5 of 5) sorted by relevance

/drivers/net/dsa/microchip/
Dksz_common.c56 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()
Dksz8795.c442 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()
Dksz_common.h74 int mib_cnt; member
Dksz9477.c294 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()
/drivers/net/ethernet/micrel/
Dksz884x.c1203 int mib_cnt; member
1819 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()