Searched refs:num_chn (Results 1 – 4 of 4) sorted by relevance
999 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_device_idle()1097 if (!nvscdev || chn_index >= nvscdev->num_chn) in netvsc_sc_open()1118 if (atomic_inc_return(&nvscdev->open_chn) == nvscdev->num_chn) in netvsc_sc_open()1142 nvdev->num_chn - 1; in rndis_set_subchannel()1161 nvdev->num_chn = 1 + in rndis_set_subchannel()1166 atomic_read(&nvdev->open_chn) == nvdev->num_chn); in rndis_set_subchannel()1174 netif_set_real_num_tx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()1175 netif_set_real_num_rx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()1178 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()1332 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()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()[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; member1003 u32 num_chn; member