Lines Matching refs:net_device_ctx

85 	struct net_device_context *net_device_ctx = netdev_priv(net);  in netvsc_set_multicast_list()  local
87 schedule_work(&net_device_ctx->work); in netvsc_set_multicast_list()
92 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_open() local
93 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_open()
119 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_close() local
120 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_close()
126 cancel_work_sync(&net_device_ctx->work); in netvsc_close()
217 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_select_queue() local
218 struct hv_device *hdev = net_device_ctx->device_ctx; in netvsc_select_queue()
376 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_start_xmit() local
579 ret = netvsc_send(net_device_ctx->device_ctx, packet); in netvsc_start_xmit()
712 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_get_channels() local
713 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_get_channels()
863 struct net_device_context *net_device_ctx; in netvsc_probe() local
879 net_device_ctx = netdev_priv(net); in netvsc_probe()
880 net_device_ctx->device_ctx = dev; in netvsc_probe()
881 net_device_ctx->msg_enable = netif_msg_init(debug, default_msg); in netvsc_probe()
882 if (netif_msg_probe(net_device_ctx)) in netvsc_probe()
884 net_device_ctx->msg_enable); in netvsc_probe()
887 INIT_DELAYED_WORK(&net_device_ctx->dwork, netvsc_link_change); in netvsc_probe()
888 INIT_WORK(&net_device_ctx->work, do_set_multicast); in netvsc_probe()
928 schedule_delayed_work(&net_device_ctx->dwork, 0); in netvsc_probe()