Searched refs:nvscdev (Results 1 – 3 of 3) sorted by relevance
1153 struct netvsc_device *nvscdev; in netvsc_sc_open() local1161 nvscdev = rcu_dereference_raw(ndev_ctx->nvdev); in netvsc_sc_open()1162 if (!nvscdev || chn_index >= nvscdev->num_chn) in netvsc_sc_open()1165 nvchan = nvscdev->chan_table + chn_index; in netvsc_sc_open()1183 if (atomic_inc_return(&nvscdev->open_chn) == nvscdev->num_chn) in netvsc_sc_open()1184 wake_up(&nvscdev->subchan_open); in netvsc_sc_open()
1267 struct netvsc_device *nvscdev, in netvsc_send_table() argument1293 if (nvscdev->nvsp_version <= NVSP_PROTOCOL_VERSION_6 && in netvsc_send_table()1333 struct netvsc_device *nvscdev, in netvsc_receive_inband() argument1347 netvsc_send_table(ndev, nvscdev, nvmsg, msglen); in netvsc_receive_inband()
102 static void netvsc_tx_enable(struct netvsc_device *nvscdev, in netvsc_tx_enable() argument105 nvscdev->tx_disable = false; in netvsc_tx_enable()186 static void netvsc_tx_disable(struct netvsc_device *nvscdev, in netvsc_tx_disable() argument189 if (nvscdev) { in netvsc_tx_disable()190 nvscdev->tx_disable = true; in netvsc_tx_disable()