Searched refs:num_cnts (Results 1 – 2 of 2) sorted by relevance
904 int num_cnts; in vsc73xx_find_counter() local909 num_cnts = ARRAY_SIZE(vsc73xx_tx_counters); in vsc73xx_find_counter()912 num_cnts = ARRAY_SIZE(vsc73xx_rx_counters); in vsc73xx_find_counter()915 for (i = 0; i < num_cnts; i++) { in vsc73xx_find_counter()
1886 int ret, num_cnts, i; in stat_get_doit_default_counter() local1934 num_cnts = device->ops.get_hw_stats(device, stats, port, 0); in stat_get_doit_default_counter()1935 if (num_cnts < 0) { in stat_get_doit_default_counter()1945 for (i = 0; i < num_cnts; i++) { in stat_get_doit_default_counter()