Searched refs:num_chn (Results 1 – 4 of 4) sorted by relevance
1000 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_device_idle()1098 if (!nvscdev || chn_index >= nvscdev->num_chn) in netvsc_sc_open()1119 if (atomic_inc_return(&nvscdev->open_chn) == nvscdev->num_chn) in netvsc_sc_open()1143 nvdev->num_chn - 1; in rndis_set_subchannel()1162 nvdev->num_chn = 1 + in rndis_set_subchannel()1167 atomic_read(&nvdev->open_chn) == nvdev->num_chn); in rndis_set_subchannel()1170 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()1178 netif_set_real_num_tx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()1179 netif_set_real_num_rx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()1334 net_device->num_chn = 1; in rndis_filter_device_add()[all …]
156 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()878 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()896 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()905 dev_info->num_chn = VRSS_CHANNEL_DEFAULT; in netvsc_devinfo_get()924 nvdev->num_chn = 1; in netvsc_detach()965 if (nvdev->num_chn > 1) { in netvsc_attach()971 nvdev->num_chn = 1; in netvsc_attach()1024 orig = nvdev->num_chn; in netvsc_set_channels()1031 device_info->num_chn = count; in netvsc_set_channels()1039 device_info->num_chn = orig; in netvsc_set_channels()[all …]
81 for (i = 1; i < nvdev->num_chn; i++) in netvsc_subchan_work()85 nvdev->num_chn = 1; in netvsc_subchan_work()637 for (i = 0; i < net_device->num_chn; i++) in netvsc_device_remove()
139 u32 num_chn; member1004 u32 num_chn; member