Lines Matching refs:num_chn
156 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()
879 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()
897 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()
906 dev_info->num_chn = VRSS_CHANNEL_DEFAULT; in netvsc_devinfo_get()
925 nvdev->num_chn = 1; in netvsc_detach()
966 if (nvdev->num_chn > 1) { in netvsc_attach()
972 nvdev->num_chn = 1; in netvsc_attach()
1025 orig = nvdev->num_chn; in netvsc_set_channels()
1032 device_info->num_chn = count; in netvsc_set_channels()
1040 device_info->num_chn = orig; in netvsc_set_channels()
1215 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_pcpu_stats()
1268 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_stats64()
1379 #define NETVSC_QUEUE_STATS_LEN(dev) ((dev)->num_chn * 4)
1423 for (j = 0; j < nvdev->num_chn; j++) { in netvsc_get_ethtool_stats()
1480 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_get_strings()
1558 info->data = nvdev->num_chn; in netvsc_get_rxnfc()
1688 if (indir[i] >= ndev->num_chn) in netvsc_set_rxfh()
2338 if (nvdev->num_chn > 1) in netvsc_probe()