Lines Matching refs:num_chn
159 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()
954 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()
975 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()
990 dev_info->num_chn = max(VRSS_CHANNEL_DEFAULT, in netvsc_devinfo_get()
1021 nvdev->num_chn = 1; in netvsc_detach()
1065 if (nvdev->num_chn > 1) { in netvsc_attach()
1071 nvdev->num_chn = 1; in netvsc_attach()
1136 orig = nvdev->num_chn; in netvsc_set_channels()
1143 device_info->num_chn = count; in netvsc_set_channels()
1151 device_info->num_chn = orig; in netvsc_set_channels()
1315 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_pcpu_stats()
1369 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_stats64()
1482 #define NETVSC_QUEUE_STATS_LEN(dev) ((dev)->num_chn * 8)
1531 for (j = 0; j < nvdev->num_chn; j++) { in netvsc_get_ethtool_stats()
1595 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_strings()
1671 info->data = nvdev->num_chn; in netvsc_get_rxnfc()
1805 if (rxfh->indir[i] >= ndev->num_chn) in netvsc_set_rxfh()
2602 if (nvdev->num_chn > 1) in netvsc_probe()