Home
last modified time | relevance | path

Searched refs:device_obj (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c238 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
318 newchannel->device_obj = vmbus_device_create( in vmbus_process_offer()
322 if (!newchannel->device_obj) in vmbus_process_offer()
330 if (vmbus_device_register(newchannel->device_obj) != 0) { in vmbus_process_offer()
333 kfree(newchannel->device_obj); in vmbus_process_offer()
596 if (channel->device_obj) { in vmbus_onoffer_rescind()
601 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
603 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
Dvmbus_drv.c1007 void vmbus_device_unregister(struct hv_device *device_obj) in vmbus_device_unregister() argument
1010 dev_name(&device_obj->device)); in vmbus_device_unregister()
1016 device_unregister(&device_obj->device); in vmbus_device_unregister()
1138 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj, in vmbus_allocate_mmio() argument
1145 const char *dev_n = dev_name(&device_obj->device); in vmbus_allocate_mmio()
Dhyperv_vmbus.h722 void vmbus_device_unregister(struct hv_device *device_obj);
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc_drv.c95 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_open() local
103 ret = rndis_filter_open(device_obj); in netvsc_open()
111 nvdev = hv_get_drvdata(device_obj); in netvsc_open()
122 struct hv_device *device_obj = net_device_ctx->device_ctx; in netvsc_close() local
123 struct netvsc_device *nvdev = hv_get_drvdata(device_obj); in netvsc_close()
132 ret = rndis_filter_close(device_obj); in netvsc_close()
643 void netvsc_linkstatus_callback(struct hv_device *device_obj, in netvsc_linkstatus_callback() argument
652 net_device = hv_get_drvdata(device_obj); in netvsc_linkstatus_callback()
687 int netvsc_recv_callback(struct hv_device *device_obj, in netvsc_recv_callback() argument
696 net = ((struct netvsc_device *)hv_get_drvdata(device_obj))->ndev; in netvsc_recv_callback()
Dhyperv_net.h195 void netvsc_linkstatus_callback(struct hv_device *device_obj,
198 int netvsc_recv_callback(struct hv_device *device_obj,
Dnetvsc.c1132 device = channel->primary_channel->device_obj; in netvsc_channel_cb()
1134 device = channel->device_obj; in netvsc_channel_cb()
Drndis_filter.c989 nvscdev = hv_get_drvdata(new_sc->primary_channel->device_obj); in netvsc_sc_open()
/linux-4.4.14/include/linux/
Dhyperv.h644 struct hv_device *device_obj; member
999 int vmbus_allocate_mmio(struct resource **new, struct hv_device *device_obj,
/linux-4.4.14/drivers/scsi/
Dstorvsc_drv.c591 struct hv_device *device = new_sc->primary_channel->device_obj; in handle_sc_creation()
1066 device = channel->primary_channel->device_obj; in storvsc_on_channel_callback()
1068 device = channel->device_obj; in storvsc_on_channel_callback()